Traditionally, diabetics have been considered patients with a high risk of aspiration due to having delayed gastric emptying; However, the evidence concerning residual gastric volume (GV) in fasting diabetic patients is inconsistent. This study aimed to compare the fasting GV of diabetic patients with or without dysautonomia with control patients scheduled for elective surgery using gastric ultrasound. This bicentric prospective single-blinded case-control study was conducted at 2 university hospitals in Spain. Patients aged over 18 years, classified as American Society of Anesthesiologists (ASA) physical statuses I to III and having similar fasting statuses, were included in the study. The primary outcome was to compare the prevalence of risk stomach using the Perlas gastric content grading scale evaluated by ultrasound in the 3 groups. Secondary outcomes included the measurement of cross-sectional area (CSA) and GV in the right lateral decubitus (RLD) position, as well as the prevalence of solid gastric residue. A total of 289 patients were recruited for the study, comprising 145 diabetic patients (83 of whom had dysautonomia) and 144 patients in the control group. The percentage of patients classified as Perlas grade 2 was 13.2% in the control group, 16.1% in diabetic patients without dysautonomia, and 22.9% in diabetic patients with dysautonomia (P = .31). Antral CSA was significantly higher in diabetic patients with dysautonomia (6.5 [4.8-8.4]) compared to the control group (5.4 [4.0-7.2]; P = .04). However, no significant differences were observed between groups in residual GV. Among diabetic patients with dysautonomia, 12% exhibited solid gastric residue, which was twice the percentage observed in diabetic patients without dysautonomia (4.8%) and 3 times higher than that in the control group (3.5%; P = .03). The presence of dysautonomia was associated with an increased odds ratio of solid gastric residue (odds ratio [OR], 3.37; 95% confidence interval [CI], 1.28-8.87; P = .01) after adjusting for confounding factors. This study offers insights into the relationship between dysautonomia in patients with diabetes mellitus and the presence of full stomach, underscoring the significance of preoperative gastric ultrasound evaluation in managing perioperative risks in this population.