Background Propofol is the most common induction agent used in current anesthesia practice. Patients receiving propofol injections commonly experience varying degrees of pain, creating an unpleasant anesthesia experience. Methods Seventy-two patients, aged between 18 and 70, scheduled for elective laparoscopic cholecystectomy under general anesthesia were randomized into two groups. Group D received 8 mg of dexamethasone, and Group O received 8 mg of ondansetron intravenously before induction. After five seconds, mid-arm venous occlusion was applied for one minute using a tourniquet. Propofol (0.5 mg/kg) was administered intravenously over five seconds, and patients rated the injection pain over the next 15 seconds. The primary outcome was pain intensity using the Verbal Rating Scale during propofol injection. Secondary outcomes included intraoperative hemodynamic changes and postoperative nausea and vomiting (PONV). Normally distributed variables were compared using the Student's t-test, non-normally distributed variables using the Mann-Whitney U-test, and qualitative data using the chi-square or Fisher's exact test. Statistical significance for the study was set at p < 0.05. Results In Group D, 30 out of 36 patients (83.3%) experienced no pain, while four patients (11.1%) reported mild pain, two patients (5.6%) reported moderate pain, and no patients (0.0%) reported severe pain. In contrast, in Group O, only 15 out of 36 patients (41.6%) experienced no pain, with 12 patients (33.3%) experiencing mild pain, seven patients (19.4%) experiencing moderate pain, and two patients (5.6%) experiencing severe pain. Overall, six out of 36 patients in Group D (16.7%) experienced some level of pain, compared to 21 out of 36 patients in Group O (58.3%), a statistically significant difference (p < 0.05). Regarding postoperative nausea, 16 out of 36 patients in Group Dexamethasone (44.44%) experienced nausea, whereas 23 out of 36 patients in Group Ondansetron (63.88%) reported this symptom, with the difference being statistically significant (p = 0.0372). Additionally, postoperative vomiting occurred in nine out of 36 patients in Group Dexamethasone (25%), compared to 18 out of 36 patients in Group Ondansetron (50%), with this difference also reaching statistical significance (p= 0.026). Conclusions Intravenous dexamethasone before propofol administration reduces injection pain and PONV in laparoscopic cholecystectomy more effectively as compared to ondansetron.