The potential link between eczema and diet is murky. But some people, especially children, with atopic dermatitis may have food allergies simultaneously. While there's no proof an elimination diet alone can treat eczema, avoiding certain inflammatory foods may help some individuals' symptoms.