The invention relates to the fields of pharmaceutics and medicine and describes an agent for the treatment and prevention of sleep disorders, wherein a conjugate of glycine immobilized on detonation nanodiamond particles 2-10 nm in size comprises 21±3 wt.% glycine. Said preparation improves the outcome of pharmacotherapy and prevention of sleep disorders, in particular, insomnia, and leads to the creation of a greater number of effective and safe sedative-hypnotic medications.