Cyclooxygenase (COX), which plays a role in converting arachidonic acid to inflammatory mediators, could be inhibited by non-steroidal anti-inflammatory drugs (NSAIDs). Although potent NSAIDs are available for the treatment of pain, fever, and inflammation, some side effects, such as gastrointestinal ulcers, limit the use of these medications. In recent years, selective COX-2 inhibitors with a lower incidence of adverse effects attained an important position in medicinal chemistry. In order to introduce some new potent COX-2 inhibitors, a new series of 2-(4-(methylsulfonyl)phenyl)–phenylimidazo[1,2-]pyridin-3-amines was designed, synthesized, and evaluated. The docking studies performed by AutoDock Vina demonstrated that docked molecules were positioned as well as a crystallographic ligand in the COX-2 active site, and SOMe pharmacophore was inserted into the secondary pocket of COX-2 and formed hydrogen bonds with the active site. The designed compounds were synthesized through two-step reactions. In the first step, different 1-(4-(methylsulfonyl)phenyl)-2-(phenylamino)ethan-1-one derivatives were obtained by the reaction of aniline derivatives and α-bromo-4-(methylsulfonyl)acetophenone. Then, condensation of intermediates with different 2-aminopyridines gave final compounds. Enzyme inhibition assay and formalin test were performed to evaluate the activity of these compounds. Among these compounds, 8-methyl-2-(4-(methylsulfonyl)phenyl)–(-tolyl)imidazo[1,2-]pyridin-3-amine () exhibited the highest potency (IC = 0.07 µM) and selectivity (selectivity index = 508.6) against COX-2 enzyme (selectivity index: COX-1 IC/COX-2 IC). The antinociceptive activity assessment via the formalin test showed that nine derivatives (, , , , , , , , and ) possessed significant activity compared with the control group with a value less than 0.05.