Diphenhydramine is an antihistamine sometimes used as a sleeping pill. It is an ingredient in some over-the-counter cold and flu medicines and sleep aids, under trade names such as Benylin, Nytol and Boots Sleapeaze.