In this study, we aimed to investigate the postoperative pain relief effect of preoperative tenoxicam usage in patients who undergo elective laparoscopic cholecystectomy or groin hernia repair. Eighty patients undergoing laparoscopic cholecystectomy or groin hernia repair procedures were randomized to receive either physiologic serum at 100 mL (group 1, n = 40) or 20 mg iv tenoxicam (group 11, n = 40) immediately before induction. Postoperative analgesic requirement, peroperative side effects and complications of drugs, operating time, postoperative mobilization time and pain score, hospitalization time, and patient pleasure were recorded. Postoperative pain was assessed by the visual analogue scale (VAS) on the recovery unit (RU), at 4, 8, and 24 h and every day at the same times in the morning. The RU median VAS score was also not different when Group 1 was compared with Group 2 (p=.97). However, the postoperative 4-h and 8-h median VAS score was significantly less (p=.01 and p=.03, respectively); first postoperative mobilization time was earlier in group 2 (p=.32). The median pain score and intramuscular analgesic requirement of patients were also reduced in Group 2 in postoperative day 1 (p=.015). The median duration of intramuscular analgesic requirement and total amount of intramuscular analgesic used in patients were also significantly less in Group 2 (p=.0001 and p=.0001, respectively). Thus, this study showed that preoperative use of iv tenoxicam is safe, simple, and effective for postoperative pain relief after laparoscopic cholecystectomy or inguinal hernia repair.