A new series of 1,3,5-triaryl-4,5-dihydro-1H-pyrazole derivatives 13a-p were synthesized via aldol condensation of 3/4-nitroacetophenones with appropriately substituted aldehydes followed by cyclization of the formed chalcones with 4-methanesulfonylphenylhydrazine hydrochloride. All the synthesized compounds were evaluated for their cyclooxygenase (COX) inhibition, anti-inflammatory activity and ulcerogenic liability. All compounds were more potent inhibitors for COX-2 than COX-1. While most compounds showed good antiinflammatory activity, compounds 13d, 13f, 13k and 13o were the most potent derivatives (ED 50 ¼ 66.5, 73.4, 79.8 and 70.5 mmol/kg, respectively) in comparison with celecoxib (ED 50 ¼ 68.1 mmol/kg). Compounds 13d, 13f, 13k and 13o (ulcer index ¼ 3.89, 4.86, 4.96 and 3.92, respectively) were 4-6 folds less ulcerogenic than aspirin (ulcer index ¼ 22.75) and showed approximately ulceration effect similar to celecoxib (ulcer index ¼ 3.35). In addition, molecular docking studies were performed for compounds 13d, 13f, 13k and 13o inside COX-2 active site which showed acceptable binding interactions (affinity in kcal/mol À2.1774, À6.9498) in comparison with celecoxib (affinity in kcal/mol À6.5330).