You can use coconut oil on eyelids that are currently exhibiting symptoms of dermatitis and between flare-ups, but there are better remedies out there. Be careful not to use too much of the oil so it doesn’t seep into your eyes, which can cause irritation and sting.