Background: We assessed postoperative analgesic effect of ultrasound guided ilioinguinal and iliohypogastric nerve block, duration of action of the said block as well as the overall analgesic consumption in the first 24 hours of postoperative period after addition of dexamethasone.
 Methods: After approval from the institutional ethics committee, hospital based randomized prospective study was carried out in patients of age group 40-60 years by dividing them into two groups A and B, posted for unilateral inguinal hernioplasty, comparing ilioinguinal and iliohypogastric block with ropivacaine 0.375% and ropivacaine 0.375% with dexamethasone 4mg respectively. The aim of the study was to assess the postoperative analgesia with visual analogue scale (VAS) and satisfactory score and total analgesic consumption and time till rescue analgesia. Statistical Analysis: We used Chi-square test and paired t test and P<0.05 was considered statistically significant.
 Results: Mean of duration of analgesia was significantly prolonged in group B (14.13±3.461 h) as compared to group A (5.77±2.161 h). Patients in group B had significantly lower VAS score and less number of rescue analgesic requirements in first 24 hours (h) postoperatively. No adverse effects recorded in any group.
 Conclusion: Dexamethasone as an adjuvant with ropivacaine in ultrasound guided ilioinguinal and iliohypogastric block provided profound prolongation of duration of postoperative analgesia and reduces analgesic consumption of patients undergoing subarachnoid block for unilateral inguinal hernioplasty.