Melatonin is a naturally occurring hormone that helps regulate the body’s sleep–wake cycle. Although it is commonly sold as a dietary supplement in some countries, melatonin is regulated as a medicine in Australia.
Depending on your age, condition, required dose and formulation, you may need a prescription for melatonin. In some circumstances, a doctor may prescribe a compounded melatonin preparation when a suitable commercially manufactured product does not meet the patient’s individual clinical needs.
What is compounded melatonin?
Compounded melatonin is a personalised medicine prepared by a compounding pharmacist according to a prescription written for an individual patient.
A compounded preparation may be considered when a patient requires:
- A dose that is not available in a suitable commercial product
- An immediate-release rather than modified-release formulation
- A liquid formulation for swallowing difficulties
- A specific capsule or tablet strength
- The exclusion of a particular inactive ingredient
- Another clinically justified personalised formulation
Compounded medicines are not the same as medicines registered on the Australian Register of Therapeutic Goods. The Therapeutic Goods Administration advises that compounded medicines are not individually evaluated by the TGA for safety, quality or effectiveness. They should therefore be prescribed and prepared only when there is an appropriate clinical reason.
Is melatonin prescription-only in Australia?
Most melatonin products in Australia are Schedule 4 prescription-only medicines. However, certain registered modified-release products can be supplied by a pharmacist without a prescription to adults aged 55 or older for the short-term treatment of primary insomnia, subject to the product’s approved conditions.
Outside those limited circumstances, a prescription may be required. This includes many younger adults, children, patients requiring different strengths or formulations, and people seeking compounded melatonin.
The TGA warns against assuming that imported melatonin products are equivalent to Australian medicines. Laboratory testing of selected imported products has found substantial differences between the labelled and actual melatonin content, including one tested product in which no melatonin was detected.
How does melatonin work?
Melatonin is produced primarily by the pineal gland. Its release increases in response to darkness and helps communicate biological night-time to the brain.
Melatonin acts mainly through MT1 and MT2 receptors involved in circadian timing and sleep regulation. Rather than functioning like a conventional sedative, it helps coordinate the timing of sleep and wakefulness.
The timing of a melatonin dose can therefore be as important as the dose itself. Taking it at an unsuitable time may provide little benefit or shift the sleep cycle in an unintended direction.
What does the scientific evidence show?
The evidence for melatonin depends heavily on the condition being treated, the patient’s age, the formulation used and the timing of administration.
Chronic insomnia in adults
Research findings for general chronic insomnia are mixed.
A 2022 systematic review found that melatonin did not significantly improve sleep-onset latency, total sleep time or sleep efficiency among adults with chronic insomnia.
An evidence review published through the National Center for Biotechnology Information similarly found inconsistent results across clinical trials. Some studies reported improvements in selected outcomes, such as perceived sleep quality or early waking, while others found no meaningful difference from placebo.
For persistent insomnia, cognitive behavioural therapy for insomnia, known as CBT-I, is generally considered a first-line treatment. A doctor should also assess possible underlying causes such as anxiety, depression, sleep apnoea, restless legs syndrome, medication effects, substance use or an irregular sleep schedule.
Circadian-rhythm sleep disorders
Melatonin may be more useful when a person’s internal body clock is misaligned rather than when the problem is simply poor-quality sleep.
Potential uses may include:
- Delayed sleep–wake phase disorder
- Jet lag
- Sleep disruption associated with shift work
- Circadian disturbance related to blindness
- Other carefully assessed sleep-timing disorders
For these conditions, the correct timing and dose should be selected according to the intended change in circadian rhythm.
Jet lag
A Cochrane review has examined melatonin for preventing and treating jet lag. Evidence suggests it may be useful, particularly when crossing several time zones, although effectiveness depends on taking it at the appropriate local time.
Children and adolescents
Melatonin is sometimes prescribed to children with particular developmental, neurological or sleep disorders. However, it should not be given to a child simply because it is perceived as “natural.”
Australian-approved paediatric indications are limited and formulation-specific. Recent TGA information includes approved prolonged-release melatonin indications for certain children and adolescents with neurodevelopmental conditions.
Children should receive melatonin only after assessment by an appropriately qualified practitioner. Behavioural sleep strategies and the cause of the sleep problem should also be addressed.
Why might a doctor prescribe compounded melatonin?
Commercially available melatonin products do not suit every patient. A compounded melatonin script may be clinically appropriate when a doctor determines that an individual needs a formulation that cannot be adequately provided by a suitable registered medicine.
Examples may include:
A personalised strength
Some patients may require a lower or otherwise different dose from available commercial strengths. Increasing the dose does not necessarily improve sleep and may increase adverse effects.
Immediate-release melatonin
Immediate-release formulations are generally intended to release melatonin quickly and may be selected when the main difficulty relates to sleep timing or falling asleep.
Modified- or prolonged-release melatonin
Modified-release preparations release melatonin more gradually. They may be considered when maintaining sleep or reproducing a more sustained overnight profile is clinically relevant.
These formulations are not interchangeable, and the prescribed product should match the clinical objective.
Liquid melatonin
A liquid preparation may be needed for patients who cannot swallow tablets or require a carefully measured dose. The prescriber and compounding pharmacist must consider concentration, stability, storage and accurate dosing.
Exclusion of certain ingredients
Compounding may sometimes be appropriate when a patient has a clinically relevant allergy or intolerance to an inactive ingredient in available commercial products.
Can I get a compounded melatonin script through telehealth?
Yes. A practitioner on the NextClinic telehealth platform can assess your sleep concerns through an online consultation and may issue a prescription for compounded melatonin when it is clinically appropriate.
A prescription is not guaranteed. The practitioner must first determine whether melatonin is suitable, whether further investigation is required and whether a compounded formulation is justified instead of an available commercial product.
During the consultation, the practitioner may ask about:
- The type and duration of your sleep problem
- Your usual bedtime and waking time
- Work, travel and shift patterns
- Snoring, breathing pauses or daytime sleepiness
- Mental health symptoms
- Current medications and supplements
- Alcohol, caffeine and other substance use
- Pregnancy or breastfeeding
- Previous sleep treatments
- The dose and formulation previously used
Some patients may need an in-person examination, pathology testing, a sleep study or referral to a sleep physician rather than an online prescription.
Is compounded melatonin safe?
Melatonin is generally well tolerated during short-term use, but it can still cause adverse effects.
Possible side effects include:
- Daytime drowsiness
- Headache
- Dizziness
- Nausea
- Vivid dreams
- Fatigue
- Changes in mood or alertness
Patients should avoid driving, operating machinery or undertaking safety-sensitive work when drowsy.
Long-term safety evidence is less certain than short-term evidence, particularly in children, during pregnancy and in people with complex medical conditions.
Can melatonin interact with other medicines?
Melatonin can interact with prescription medicines, non-prescription products and alcohol. Clinically important considerations may include:
- Sedatives and sleeping medicines
- Anticoagulants or antiplatelet medicines
- Some antidepressants
- Antiepileptic medicines
- Blood-pressure medicines
- Diabetes medicines
- Immunosuppressants
- Alcohol and other substances causing drowsiness
Patients should provide their practitioner with a complete list of medicines and supplements before using melatonin.
Who should seek medical advice before taking melatonin?
Medical assessment is particularly important for people who:
- Are pregnant, planning pregnancy or breastfeeding
- Are younger than 18
- Have epilepsy or a seizure disorder
- Have an autoimmune condition
- Have significant liver or kidney disease
- Take anticoagulants or multiple sedating medicines
- Have symptoms of sleep apnoea
- Experience severe depression or suicidal thoughts
- Need melatonin continuously for an extended period
Persistent sleep difficulty should not automatically be treated with escalating doses. It may indicate an underlying sleep, psychiatric, respiratory, endocrine or medication-related problem.
Compounded melatonin versus imported supplements
Buying melatonin from an overseas website may appear convenient, but imported products may not have been assessed according to Australian standards.
The TGA has reported marked discrepancies between the labelled and measured amounts in some imported melatonin products. A prescribed Australian product also allows the doctor and pharmacist to consider the appropriate formulation, dose, instructions, interactions and follow-up.
A compounded product still carries important limitations: it is individually prepared and is not independently evaluated by the TGA in the same way as an ARTG-registered commercial medicine. Patients should use a reputable Australian pharmacy and follow the prescribed instructions carefully.

Do I need a script for compounded melatonin in Australia?
Generally, yes. A compounded melatonin medicine is ordinarily prepared for an individual patient according to a valid prescription, unless it falls within a specific lawful pharmacist-only arrangement.
Can NextClinic prescribe compounded melatonin?
Practitioners on the NextClinic telehealth platform can assess your condition through an online consultation and may prescribe compounded melatonin when clinically appropriate. Approval depends on your medical history, symptoms, medications and individual treatment needs.
Is compounded melatonin stronger than regular melatonin?
Not necessarily. “Compounded” means the medicine has been prepared for an individual patient. It does not automatically mean that it is stronger or more effective.
What dose of melatonin should I take?
There is no single dose suitable for everyone. The appropriate dose depends on the condition, age, formulation, treatment objective and timing. Higher doses are not always more effective.
Is immediate-release or modified-release melatonin better?
Neither is universally better. Immediate-release and modified-release melatonin have different release profiles and may be selected for different clinical purposes.
Can melatonin treat every type of insomnia?
No. Evidence for chronic insomnia in adults is mixed, and melatonin is not a universal treatment for poor sleep. The underlying cause should be assessed, particularly when symptoms are persistent.
Can I take melatonin every night?
This should be discussed with a practitioner. Short-term use has been studied more extensively than continuous long-term use. Ongoing insomnia may require further assessment and non-medication treatment such as CBT-I.
Is melatonin addictive?
Melatonin is not generally considered physically addictive in the same way as some prescription sedatives. However, people may become psychologically reliant on taking it at bedtime, and ongoing use should still be reviewed.
Can children receive compounded melatonin?
Sometimes, but only after appropriate medical assessment. The dose, formulation, indication and follow-up requirements are different for children, and behavioural sleep interventions remain important.
How quickly does melatonin work?
The onset depends on the formulation and individual response. Immediate-release melatonin is absorbed more quickly than modified-release formulations, but the correct timing in relation to the body clock remains important.
Disclaimer
This medical blog provides general information and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult with your regular doctor for specific medical concerns. The content is based on the knowledge available at the time of publication and may change. While we strive for accuracy, we make no warranties regarding completeness or reliability. Use the information at your own risk. Links to other websites are provided for convenience and do not imply endorsement. The views expressed are those of the authors and not necessarily representative of any institutions.






