Celecoxib, sold under the brand name Celebrex among others, is a COX-2 inhibitor and nonsteroidal anti-inflammatory drug (NSAID). It is used to treat the pain and inflammation in osteoarthritis, acute pain in adults, rheumatoid arthritis, ankylosing spondylitis, painful menstruation, and juvenile rheumatoid arthritis. It may also be used to decrease the risk of colorectal adenomas in people with familial adenomatous polyposis. It is taken by mouth. Benefits are typically seen within an hour.