The current invention is directed to a method for the manufacturing of a solid formulation comprising melatonin as active pharmaceutical ingredient, said method comprises a melatonin dispersion step in one or more intragranular excipients to form a melatonin blend, followed by a wet granulation step. In a second aspect, the invention describes a tablet comprising melatonin, whereby said tablet is an immediate release formulation and whereby said tablet comprises: - between 0.5 and 10% w/w of melatonin; - between 75 and 99% w/w of one or more fillers; - between 0.5 and 5% w/w of one or more binders; - between 0.05 and 0.5% of one or more glidants; and - between 0.25 and 1% w/w of one or more lubricants.