Abstract: A mucoadhesive controlled-release pharmaceutical formulation comprising at least one active principle selected from the group consisting of melatonin and melatonin derivatives, composed of a first layer and a second layer, the first layer being mucoadhesive and permitting a sustained release of the active principle, and the second layer being nonmucoadhesive, and permitting a rapid release of the active principle.