Background:The tendency toward using herbal plants instead of synthetic drugs is increasing in recent years because of their lower adverse effects and high varieties of efficient components. Objectives: In this investigation, analgesic effects of hydroalcoholic leaf extract of Allium hirtifolium were studied in male rats. Materials and Methods: A total of 48 adult male rats were divided eight groups: control, intraperitoneal 50, 100, and 200 mg/kg of extract, 200 mg/kg of A. hirtifolium extract plus aspirin, aspirin (1 mg/kg), morphine (1 mg/kg), and 200 mg/kg of A. hirtifolium extract plus naloxone (1 mg/kg). The analgesic effects of A. hirtifolium were assessed with writhing, tail-flick, and formalin tests. The data were compared with control by one-way ANOVA and Tukey post hoc test. Results: Allium hirtifolium extract at (200 mg/kg dosage), alone and in combination with aspirin, had shown antinociceptive effect in writhing, tail-flick, and formalin tests (P < 0.01). Allium hirtifolium extract (at 100 mg/kg dosage) had just shown analgesic effects on tailflick and formalin (chronic phase) tests. Conclusions: It looks that A. hirtifolium has antinociceptive effects that might be due to flavonoids and saponins in plant the analgesic effect of which was demonstrated previously.