Mefenamic acid is in a group of drugs called nonsteroidal anti-inflammatory drugs (NSAIDs). Mefenamic acid works by reducing hormones that cause inflammation and pain in the body. Mefenamic acid is used to treat pain or inflammation caused by arthritis. It is also used to treat menstrual pain. Mefenamic acid may also be used for other purposes not listed in this medication guide.