Diphenhydramine is an antihistamine mainly used to treat allergies. It can also be used for insomnia, symptoms of the common cold, tremor in parkinsonism, and nausea. It is used by mouth, injection into a vein, injection into a muscle, or applied to the skin.