What do olive oil and the over-the-counter pain reliever ibuprofen have in common? Their antiinflammatory effects. Some types of inflammatory skin conditions include psoriasis and forms of dermatitis including atopic (a chronic form of eczema), contact dermatitis (an allergic reaction) and seborrheic dermatitis (which you know as dandruff). Olive oil contains a compound known as oleocanthal, which has been found to stop the activity of two specific enzymes (Cox-1 and Cox-2) at the heart of inflammatory conditions in the body in a similar way as ibuprofen and other NSAIDs. About 1.75 ounces (50 grams) of olive oil in your daily diet equals roughly 10 percent of the recommended adult dose of ibuprofen.