Background: Inguinal hernia repair is associated with considerable postoperative discomfort. The perioperative management of pain following abdominal surgery can pose a challenge to anesthesia providers. Conventional practice has involved the use of opioids as well as neuraxial analgesic techniques. Unfortunately, these therapies are not without potential risks and side effects. Aim of the study: To compare the postoperative pain relief provided by Ultrasound guided TAP block technique with ultrasound guided ilioinguinal/iliohypogastric nerve blockade in adult undergoing unilateral hernia repair surgery regarding duration. Patient and method: A prospective randomized controlled study of 60 male patient undergone elective unilateral inguinal hernia repair, 30 of them under ultrasound guide TAP block anterior approach at the end operation using 20 ml of 0.25% plain bupivacaine was done. 30 of them under ultrasound guide TAP block posterior approach at the end operation using 20 ml of 0.25% plain bupivacaine was done. Then Vital signs, numerical pain score and analgesia requirement were recorded at recovery,2nd, 4th & 8th hours postoperatively. Result: By applying null hypothesis, using the t-student test of independent two samples, Pain score and Request for analgesia show no significant difference in both methods for postoperative pain relief. For vital signs there was no significant difference for both groups. Conclusion: There is no significant difference between both methods. Those two methods provide good analgesia with less postoperative other medication use without any significant side effect.