The aim of this study was to compare the effects of wound infiltration with levobupivacaine and tramadol in reducing postoperative pain in children undergoing unilateral inguinal hernia and undescended testis surgery. Under general anesthesia for elective unilateral inguinal hernia and undescended testis underwent surgery, ASA I-II, 80 children between the ages of 1-6 records in the patient's file was reviewed. The patients who were given 2mg.kg-1 tramadol in saline solution as prepared 0,2 ml.kg-1 into the surgical incision area by the surgeon at the end of the operation were accepted as Group T, who were given 0.25% levobupivacaine as 0.2 ml.kg-1 were accepted as Group L. Hemodynamic parameters, CHEOPS pain scores, additional analgesic consumption, adverse effects were recorded from the files. Patients’ CHEOPS were significantly higher in Group L compared to Group T at 4 and 6 hours (p<0.01). In respect to supplementary analgesic administration, paracetamol consumption in Group T was lower than in Group L during home period (p<0.05). We observed that wound infiltration of tramadol provided longer-lasting analgesia compared to levobupivacaine in children undergoing unilateral inguinal hernia repair and undescended testis surgery, and that the requirement for additional analgesic was lower.