A small set of substituted 1,5-diarylpyrrole-3-acetic and -glyoxylic acid derivatives have been synthesized, and their cyclooxygenase (COX-1 and COX-2) inhibiting properties have been evaluated. Some compounds proved to be highly selective COX-2 inhibitors, and their affinity data have been rationalized through docking simulations in terms of interactions with a crystallographic model of the COX-2 binding site.