Diclofenac is used to treat symptoms of pain associated with rheumatoid arthritis, osteoarthritis, ankylosing spondylitis, dysmenorrhea, and mild-to-moderate pain. Diclofenac may be used alone or with other medications.