Though melatonin can be a short-term solution to help promote sleep, the study indicated that parents were using melatonin regularly, with pre-schoolers taking the supplement for a median of 12 months, primary school aged children for 18 months and pre-teens for 21 months.