A method for treating atopic dermatitis in a subject in need thereof is provided. The method includes administering to the subject a composition containing a therapeutically effective amount of a melatonin associated compound and a pharmaceutically acceptable excipient.