Tramadol and lornoxicam were more effective than NS in preventing early postoperative pain. The preventive analgesic effect of tramadol was comparable with that of lornoxicam, except at 1 hour when tramadol was more effective among these patients undergoing PCNL. Both drugs were well tolerated.