The intermolecular interaction between four types of antiinflammatory inhibitors (oxazoles, pyrazoles, pyrroles and imidazoles) and COX-2 receptor was studied. The results of docking suggest that they have similar interaction mechanism. The most active compounds of these four types of inhibitors could both form several hydrogen bonds with residues His90, Arg513, Leu352 and Arg120, and develop hydrophobic interaction with residues Phe518, Leu352 and Leu359. This is consistent with the investigation reported by R. G. Kurumbail et al. (Nature. 1996, 384, 644-648). A common 3D-QSAR model could be constructed with these four categories of COX-2 inhibitors using the method of docking-guided conformer selection.