We report herein the synthesis, biological evaluation and docking analysis of a new series of methylsulfonyl, sulfamoyl acetamides and ethyl acetates that selectively inhibit cyclooxygenase-2 (COX-2) isoform. Among the newly synthesized compounds, some of them were endowed with a good activity against COX-2 and a good selectivity COX-2/COX-1 in vitro as well as a desirable analgesic activity in vivo, proving that replacement of the ester moiety with an amide group gave access to more stable derivatives, characterized by a good COX-inhibition. © 2014 Elsevier Ltd. All rights reserved.