Factors associated with retained gastric contents during esophagogastroduodenoscopy on univariate analysis included history of diabetes (OR 6.3; 95% CI: 2.84–14.27; p < 0.005), CKD stage III-IV (OR 5.3; 95% CI: 1.74–16.46; p = 0.003), and GLP-1 use (OR 10.1; 95% CI: 4.37–23.47; p < 0.005). This evidence concerns the gene GLP1R and chronic kidney disease.