Turmeric can be pretty valuable if your knee pain results from arthritis because it contains over two dozen anti-inflammatory compounds, such as COX-2 inhibitors. COX-2 inhibitors are nonsteroidal anti-inflammatory drugs (NSAIDs) that treat the pain and inflammation of many types of arthritis. Inhibitors in turmeric can prevent such symptoms while remaining highly effective at reducing inflammation and pain.