A series of novel 2,5-diarylpyrazolo[1,5-a]pyrimidin-7-amines were designed as COX-2 inhibitors by molecular docking studies and their synthesis was accomplished via an expeditious one-pot reaction. Structures of the compounds were established by NMR ((1)H-(13)C), IR spectroscopy and high resolution mass spectrometry. All the eleven compounds have been screened for their in vivo anti-inflammatory activity on rats by carrageenan-induced rat paw edema assay. Correlation studies of calculated moldock score and observed percentage inhibition have also been carried out which concluded that the synthesized 2,5-diarylpyrazolo[1,5-a]pyrimidin-7-amines act as potent anti-inflammatory agents up to the 4th hour of study.