Since ZzzQuil’s main ingredient is diphenhydramine, it belongs to the group of medications called antihistamines. Antihistamines block the uptake of the chemical histamine into cells, resulting in a build-up of histamine in the spaces between nerve cells.