Melatonin vs placebo for sleep-onset latency in primary insomnia

Reproducible meta-analysis harness — auditability, not authority

Overview

Melatonin vs placebo for sleep-onset latency in primary insomnia

In adults with primary insomnia, does melatonin reduce sleep-onset latency versus placebo? (Randomized placebo-controlled trials; mean difference in minutes.)

Primary outcome

OutcomeSleep-onset latency
EstimandMD
Trials pooled (k)1 — 20712869 (PMID 20712869)
Screened-in → pooled12 trials met P/I/C/design (screening); 1 reported this outcome with an extractable number and were pooled; the remaining 11 are listed as declared-absent in Results (they were included but reported no poolable value for this outcome).
Single-trial effect-17.4 (MD), 95% CI -28.52–-6.28
MethodSingle included trial that reported this outcome — the estimate is that trial's own effect; no random-effects pooling (tau^2, HKSJ and prediction interval are not applicable at k=1).

Transparency (independently checkable)

26 of 26 numerical claims on this page (100%) carry a one-click source a reader can open to check independently — each pooled number its PMID/NCT and verbatim span, each declared-absent trial its reason, each risk-of-bias domain the structured field it read, the reproduction its protocol SHA and replay result. The published comparator exposes 0 such claim(s) — its reported estimate(s) with one citation; its per-trial inputs are not machine-exposed. Score: scripts/transparency_score.py (committed docs/transparency.json).

Stated limitations

Protocol

Registration (protocol commit SHA)146edbf724354bd40134ccaeae7719aebdf9f5f8
Committed (UTC)2026-09-11
Declared analysis methodRandom-effects inverse-variance on the log ratio (log RR/OR/HR as configured for the outcome); Paule-Mandel tau^2; HKSJ 95% CI on t_{k-1} (variance floor max(1,Q/(k-1))); prediction interval mu +/- t_{k-1}*sqrt(tau2+se^2). Validated vs metafor 5.0.1.
Eligibility (P/I/C/design)Included iff ALL hold: a randomised controlled trial; population (in title/registry conditions) mentions one of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency']; and none of ['children', 'child', 'pediatric', 'paediatric', 'adolescent', 'autism', 'neurodevelopmental', 'shift work', 'jet lag', 'delayed sleep phase', 'circadian', 'dementia', 'alzheimer', 'intensive care', 'icu', 'benzodiazepine', 'withdrawal']; randomised intervention is one of ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (named in title/conditions); a comparator among ['placebo']; double-blind or placebo-controlled. Excluded (rule id + verbatim span on each record): X1 not an RCT · X2 wrong/off-topic population · X3 wrong intervention/comparator · X-DESIGN not double-blind/placebo-controlled.
# Melatonin vs placebo for sleep-onset latency in primary insomnia

## PICO
- **Population:** adults with primary insomnia.
- **Intervention:** melatonin (including prolonged-release / controlled-release melatonin, or Circadin).
- **Comparator:** placebo.
- **Primary outcome:** sleep-onset latency (mean difference in minutes).

## Eligibility - P/I/C/design only
Include randomized controlled trials when all of the following are true:
- The population is adults with primary insomnia, judged from the title or registry conditions.
- The randomized intervention is melatonin (any release formulation).
- The randomized comparator is placebo.
- The trial is double-blind or placebo-controlled.

Exclude records for wrong population (children, adolescents, autism or neurodevelopmental disorders, shift work, jet lag, delayed sleep-phase disorder, dementia or Alzheimer's disease, intensive-care patients, benzodiazepine withdrawal), wrong intervention, wrong comparator, non-randomized design, reviews, protocol-only reports, and secondary/circadian populations outside primary insomnia.

Eligibility is not based on whether the abstract reports the target outcome. If an otherwise eligible trial does not report sleep-onset latency as a per-arm mean and standard deviation (in the abstract or in eligible structured registry results), it is declared absent rather than substituted with another endpoint or an imputed variance.

## Outcomes
Primary outcome:
- Sleep-onset latency, including phrasings such as sleep onset latency, sleep-onset latency, sleep latency, latency to sleep onset, polysomnographic sleep latency, and subjective sleep latency.

The estimand is the mean difference (minutes) in sleep-onset latency, melatonin versus placebo. Pooling is random-effects inverse-variance on the mean difference; a single included trial is presented as that trial's own effect, not a random-effects pool.

Where a trial's structured results report the outcome for a **pre-specified subgroup** (e.g. Wade et al. report sleep-onset latency for the pre-defined age 65-80 population, a co-primary analysis, N=137 melatonin / 144 placebo), the subgroup is disclosed on the page as the analysis population rather than presented as the whole trial. The pooled value is the **unadjusted** per-arm mean difference computed from the reported per-arm change-from-baseline means and SDs; the trial's own covariate-adjusted estimate (Wade: -15.6 minutes, 95% CI -25.3 to -6.0, baseline- and age-adjusted linear regression) is noted where it differs. The per-arm means and SDs are verified against both the ClinicalTrials.gov structured posted results and the published Table 3.

## Sources and verification
- Per-arm mean and standard deviation are taken verbatim from the trial's primary report or its structured ClinicalTrials.gov posted results (the AACT-equivalent), never imputed from a figure or a Kaplan-Meier curve.
- Every pooled number is verified against the committed source span before it is pooled; where per-arm variance is not reported in accessible text or structured results, the trial is declared absent with the reason named, rather than pooling an imputed SD.

## Comparator
- Published open-access meta-analysis of melatonin for primary insomnia (sleep-onset latency), for trial-set overlap and reporting comparison only. An identical estimate on an identical trial set is arithmetic, not corroboration; the overlap is stated on the page.

Screening

Study selection flow (PRISMA 2020)

Stagen
Records identified (committed search)126
Records screened (deduplicated)126
Excluded at screening — by rule114 (X1 85 · X2 23 · X3 6)
Met eligibility (P/I/C/design)12
Pooled in the primary outcome (k)1
Eligible but outcome not extractable (declared-absent)11

Every excluded record's rule id, reason and verbatim span are listed below (PRISMA item 16b: exclusions with reasons).

Dual independent screening (PRISMA item 8)

Two independently-implemented rule screeners over 126 records: agreement 108/126, disagreement 14.3% (18 records). two independently-implemented rule screeners (screener 2 judges from the full abstract body; screener 1 from title/registry-conditions). Adjudicator: screener 1. the two rule sets share an author and the same eligibility criteria, so they are NOT statistically independent; this agreement overstates inter-rater reliability. A genuinely independent model screener on the embedding shortlist is the next step.

Trial integrity: none of the 1 trials pooled across all outcomes on this page is retracted; 1 registered retrospectively — after enrolment began, a reporting-bias signal, not disqualifying (20712869) (checked 2026-09-12T11:20:58Z via PubMed efetch (PublicationType + CommentsCorrections) + AACT dates).

126 records screened; 12 included. Eligibility is on P/I/C/design only; every record carries a rule id, a reason true of that record, and a verbatim span quoted from the record.

RecordTypeDecisionRuleReason (true of the record)Verbatim span (from the record)
42574897pmidexcludeX1not a randomized controlled trial (record: 42574897).publication types: Journal Article, Review
42533530pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “The Effect of Melatonin on Sleep Quality, Anxiety, and Depression in Patients with Primary…”
41122831pmidexcludeX2wrong population: title/conditions mention 'children'.…Sleep Onset Insomnia in Children With Foetal Alcohol Spe…
41101148pmidexcludeX1not a randomized controlled trial (record: 41101148).publication types: Journal Article, Review, Network Meta-Analysis, Research Support, Non-U.S. Gov't
40971945pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…sleep in patients with primary insomnia: A multicenter, randomi…”; comparator “…ndomized, double-blind, placebo-controlled trial. BACKG…”
38888087pmidexcludeX1not a randomized controlled trial (record: 38888087).publication types: Systematic Review, Journal Article, Meta-Analysis
38816846pmidincludeINCLUDERCT of melatonin vs placebo in insomnia; double-blind placebo-controlled — P/I/C/design met.population “Effect of melatonin on insomnia and daytime sleepiness,…”; comparator “…ndomized double-blinded placebo-controlled trial. BACKG…”
38794761pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Dietary Supplementation with an Extract of Aloysia citrodora (Lemon verbena) Improves Slee…”
37899385pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Standardized Extract of Valeriana officinalis Improves Overall Sleep Quality in Human Subj…”
37527850pmidexcludeX1not a randomized controlled trial (record: 37527850).publication types: Journal Article, Systematic Review
36947394pmidexcludeX1not a randomized controlled trial (record: 36947394).publication types: Systematic Review, Journal Article, Network Meta-Analysis
36701954pmidexcludeX1not a randomized controlled trial (record: 36701954).publication types: Systematic Review, Journal Article, Research Support, Non-U.S. Gov't, Network Meta-Analysis
36179487pmidexcludeX1not a randomized controlled trial (record: 36179487).publication types: Journal Article, Meta-Analysis, Research Support, Non-U.S. Gov't, Systematic Review
35120753pmidexcludeX2wrong population: title/conditions mention 'children'.…nd rhythms disorders in children with ASD].
33189083pmidexcludeX1not a randomized controlled trial (record: 33189083).publication types: Journal Article, Meta-Analysis, Research Support, Non-U.S. Gov't, Systematic Review
33157425pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…turbance in middle-aged primary insomnia: a double-blind, random…”; comparator “…andomized double-blind, placebo-controlled parallel stu…”
32184313pmidexcludeX1not a randomized controlled trial (record: 32184313).publication types: Clinical Trial Protocol, Journal Article, Research Support, Non-U.S. Gov't
31982807pmidexcludeX1not a randomized controlled trial (record: 31982807).publication types: Journal Article, Meta-Analysis
31838549pmidexcludeX1not a randomized controlled trial (record: 31838549).publication types: Journal Article, Systematic Review
30295409pmidexcludeX2wrong population: title/conditions mention 'withdrawal'.Withdrawal from long-term use of z…
30132686pmidexcludeX2wrong population: title/conditions mention 'children'.…latonin for Insomnia in Children with Autism Spectrum Di…
29096777pmidexcludeX2wrong population: title/conditions mention 'children'.…latonin for Insomnia in Children With Autism Spectrum Di…
28648359pmidexcludeX1not a randomized controlled trial (record: 28648359).publication types: Journal Article, Meta-Analysis, Review
28391425pmidexcludeX1not a randomized controlled trial (record: 28391425).publication types: Journal Article, Systematic Review
28364493pmidincludeINCLUDERCT of melatonin vs placebo in insomnia; double-blind placebo-controlled — P/I/C/design met.population “…ood Chronic Sleep Onset Insomnia With Late Melatonin Ons…”; comparator “…light treatment with a placebo condition in children w…”
27473269pmidexcludeX1not a randomized controlled trial (record: 27473269).publication types: Journal Article, Research Support, Non-U.S. Gov't
25862116pmidexcludeX2wrong population: title/conditions mention 'children'.…tonin improves sleep in children with epilepsy: a random…
25678831pmidexcludeX1not a randomized controlled trial (record: 25678831).publication types: Journal Article
25204464pmidexcludeX1not a randomized controlled trial (record: 25204464).publication types: Journal Article, Review
24656909pmidexcludeX1not a randomized controlled trial (record: 24656909).publication types: Journal Article, Meta-Analysis, Systematic Review
24090266pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Randomized controlled trial of pharmacological replacement of melatonin for sleep disrupti…”
23853635pmidexcludeX1not a randomized controlled trial (record: 23853635).publication types: Journal Article
23691095pmidexcludeX1not a randomized controlled trial (record: 23691095).publication types: Journal Article, Meta-Analysis, Research Support, N.I.H., Extramural, Research Support, Non-U.S. Gov't
23044640pmidexcludeX1not a randomized controlled trial (record: 23044640).publication types: Journal Article, Review
23024438pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Repeated melatonin supplementation improves sleep in hypertensive patients treated with be…”
22897464pmidexcludeX1not a randomized controlled trial (record: 22897464).publication types: Journal Article, Meta-Analysis, Systematic Review
22616853pmidexcludeX2wrong population: title/conditions mention 'children'.…persistent insomnia in children with autism spectrum di…
22346363pmidexcludeX1not a randomized controlled trial (record: 22346363).publication types: Journal Article
21925941pmidexcludeX3the randomised intervention is not ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (not named in title/conditions; an incidental abstract mention does not qualify).examined: “Use of a post-sleep questionnaire-interactive voice response system (PSQ-IVRS) to evaluate…”
21570345pmidexcludeX3the randomised intervention is not ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (not named in title/conditions; an incidental abstract mention does not qualify).examined: “Night-to-night variability of sleep latency significantly predicts the magnitude of subseq…”
42687371pmidexcludeX1not a randomized controlled trial (record: 42687371).publication types: Journal Article, Systematic Review, Review
42524168pmidexcludeX1not a randomized controlled trial (record: 42524168).publication types: Journal Article, Review
42345841pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Efficacy and Safety of Sustained-Release Melatonin Capsules (2 mg) in Healthy Adults with …”
40418260pmidexcludeX1not a randomized controlled trial (record: 40418260).publication types: Journal Article, Review
42058225pmidexcludeX1not a randomized controlled trial (record: 42058225).publication types: Journal Article, Review
42440835pmidexcludeX1not a randomized controlled trial (record: 42440835).publication types: Journal Article, Review
42637255pmidexcludeX1not a randomized controlled trial (record: 42637255).publication types: Journal Article, Clinical Trial Protocol
42620628pmidexcludeX1not a randomized controlled trial (record: 42620628).publication types: Journal Article
42559654pmidexcludeX1not a randomized controlled trial (record: 42559654).publication types: Journal Article, Review
42029558pmidexcludeX1not a randomized controlled trial (record: 42029558).publication types: Journal Article
42514435pmidexcludeX1not a randomized controlled trial (record: 42514435).publication types: Journal Article, Review
42495077pmidexcludeX1not a randomized controlled trial (record: 42495077).publication types: Journal Article, Review
42496245pmidexcludeX1not a randomized controlled trial (record: 42496245).publication types: Comment, Journal Article
42273378pmidexcludeX1not a randomized controlled trial (record: 42273378).publication types: Journal Article, Review
41781909pmidexcludeX2wrong population: title/conditions mention 'children'.…ing insomnia in anxious children: a randomized compariso…
42023088pmidexcludeX1not a randomized controlled trial (record: 42023088).publication types: Journal Article, Systematic Review
42138936pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “The effect of preoperative melatonin patches on sleep quality in patients undergoing urolo…”
42280309pmidexcludeX1not a randomized controlled trial (record: 42280309).publication types: Journal Article
41761373pmidexcludeX1not a randomized controlled trial (record: 41761373).publication types: Journal Article
42453571pmidexcludeX1not a randomized controlled trial (record: 42453571).publication types: Journal Article, Systematic Review
42163386pmidexcludeX1not a randomized controlled trial (record: 42163386).publication types: Journal Article, Clinical Trial Protocol
42569563pmidexcludeX1not a randomized controlled trial (record: 42569563).publication types: Journal Article
42394933pmidexcludeX1not a randomized controlled trial (record: 42394933).publication types: Journal Article, Review
42695067pmidexcludeX1not a randomized controlled trial (record: 42695067).publication types: Journal Article, Review
42184272pmidexcludeX1not a randomized controlled trial (record: 42184272).publication types: Journal Article, Systematic Review
41515133pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Heat-Treated Limosilactobacillus fermentum PS150 Improves Sleep Quality with Severity-Depe…”
41683277pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Hyperoside-Rich Blueberry Leaf Tea Improves Sleep Continuity in Adults with Poor Sleep: A …”
42305778pmidexcludeX1not a randomized controlled trial (record: 42305778).publication types: Journal Article, Systematic Review
41929654pmidexcludeX1not a randomized controlled trial (record: 41929654).publication types: Journal Article, Review
42317719pmidexcludeX1not a randomized controlled trial (record: 42317719).publication types: Journal Article, Systematic Review
42682909pmidexcludeX1not a randomized controlled trial (record: 42682909).publication types: Clinical Trial, Journal Article
41535804pmidexcludeX1not a randomized controlled trial (record: 41535804).publication types: Journal Article, Systematic Review
41665171pmidexcludeX1not a randomized controlled trial (record: 41665171).publication types: Journal Article, Network Meta-Analysis, Systematic Review, Comparative Study
41986788pmidexcludeX1not a randomized controlled trial (record: 41986788).publication types: Journal Article, Review
42196985pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Efficacy and Safety of Bacillus coagulans IDCC 1201 for Sleep Improvement in Adults with S…”
41011705pmidexcludeX1not a randomized controlled trial (record: 41011705).publication types: Journal Article, Review
42614395pmidexcludeX1not a randomized controlled trial (record: 42614395).publication types: Journal Article, Review
42571404pmidexcludeX1not a randomized controlled trial (record: 42571404).publication types: Journal Article, Review
36170003pmidexcludeX1not a randomized controlled trial (record: 36170003).publication types: Journal Article
30298556pmidexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Is dietary melatonin supplementation a viable adjunctive therapy for chronic periodontitis…”
27559258pmidexcludeX1not a randomized controlled trial (record: 27559258).publication types: Journal Article
24286360pmidexcludeX2wrong population: title/conditions mention 'withdrawal'.Melatonin for sedative withdrawal in older patients with…
21226679pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…magnesium, and zinc on primary insomnia in long-term care facil…”; comparator “…Italy: a double-blind, placebo-controlled clinical tri…”
20712869pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “Nightly treatment of primary insomnia with prolonged release…”; comparator “…6 months: a randomized placebo controlled trial on age…”
19584739pmidincludeINCLUDERCT of melatonin vs placebo in insomnia; double-blind placebo-controlled — P/I/C/design met.population “…n elderly patients with insomnia.”; comparator “…ghtly single-blind with placebo (2 weeks), randomized d…”
18036082pmidexcludeX2wrong population: title/conditions mention 'withdrawal'.…rs and older and has no withdrawal effects.
17875243pmidincludeINCLUDERCT of melatonin vs placebo in insomnia; double-blind placebo-controlled — P/I/C/design met.population “…ed release melatonin in insomnia patients aged 55-80 yea…”; comparator “…ndomised, double blind, placebo-controlled. SETTING: Pr…”
15766306pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…yl-6-chloromelatonin in primary insomnia: a randomized, placebo-…”; comparator “…insomnia: a randomized, placebo-controlled, crossover c…”
12790159pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “Treatment of primary insomnia with melatonin: a doubl…”; comparator “…atonin: a double-blind, placebo-controlled, crossover s…”
8895944pmidincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…ministration in chronic primary insomnia.”; comparator “…ion of 25 mg doxepin or placebo in a randomized, double…”
41859330pmidexcludeX1not a randomized controlled trial (record: 41859330).publication types: Journal Article, Review
39540072pmidexcludeX1not a randomized controlled trial (record: 39540072).publication types: Journal Article, Review
41350844pmidexcludeX1not a randomized controlled trial (record: 41350844).publication types: Journal Article, Scoping Review
40555730pmidexcludeX1not a randomized controlled trial (record: 40555730).publication types: Comparative Study, Journal Article, Network Meta-Analysis, Systematic Review
40224208pmidexcludeX1not a randomized controlled trial (record: 40224208).publication types: Journal Article, Meta-Analysis, Systematic Review
39512417pmidexcludeX1not a randomized controlled trial (record: 39512417).publication types: Journal Article, Review
41018181pmidexcludeX1not a randomized controlled trial (record: 41018181).publication types: Journal Article, Review
40584878pmidexcludeX1not a randomized controlled trial (record: 40584878).publication types: Journal Article, Systematic Review
40432909pmidexcludeX1not a randomized controlled trial (record: 40432909).publication types: Journal Article
39585887pmidexcludeX1not a randomized controlled trial (record: 39585887).publication types: Journal Article, Research Support, Non-U.S. Gov't
37885777pmidexcludeX1not a randomized controlled trial (record: 37885777).publication types: Journal Article, Review
39719980pmidexcludeX1not a randomized controlled trial (record: 39719980).publication types: Journal Article, Review
39156226pmidexcludeX1not a randomized controlled trial (record: 39156226).publication types: Journal Article
37349103pmidexcludeX1not a randomized controlled trial (record: 37349103).publication types: Journal Article
41659976pmidexcludeX1not a randomized controlled trial (record: 41659976).publication types: Journal Article, Systematic Review
41226713pmidexcludeX1not a randomized controlled trial (record: 41226713).publication types: Journal Article, Review
37092428pmidexcludeX1not a randomized controlled trial (record: 37092428).publication types: Journal Article, Review
36011832pmidexcludeX1not a randomized controlled trial (record: 36011832).publication types: Journal Article, Systematic Review
40049603pmidexcludeX1not a randomized controlled trial (record: 40049603).publication types: Journal Article, Meta-Analysis, Systematic Review
35115662pmidexcludeX1not a randomized controlled trial (record: 35115662).publication types: Journal Article, Meta-Analysis, Systematic Review, Research Support, Non-U.S. Gov't
36683985pmidexcludeX1not a randomized controlled trial (record: 36683985).publication types: Journal Article, Review
38553058pmidexcludeX1not a randomized controlled trial (record: 38553058).publication types: Journal Article, Research Support, Non-U.S. Gov't
39455186pmidexcludeX1not a randomized controlled trial (record: 39455186).publication types: Journal Article, Review
37385899pmidexcludeX1not a randomized controlled trial (record: 37385899).publication types: Journal Article, Research Support, N.I.H., Extramural
36186885pmidexcludeX1not a randomized controlled trial (record: 36186885).publication types: Journal Article
33711513pmidexcludeX1not a randomized controlled trial (record: 33711513).publication types: Journal Article, Research Support, N.I.H., Extramural, Research Support, Non-U.S. Gov't, Review
32202451pmidexcludeX1not a randomized controlled trial (record: 32202451).publication types: Journal Article, Review
34918641pmidexcludeX1not a randomized controlled trial (record: 34918641).publication types: Journal Article
37371523pmidexcludeX1not a randomized controlled trial (record: 37371523).publication types: Journal Article, Review, Research Support, Non-U.S. Gov't
NCT03968939nctexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Total Joint Arthroplasty and Sleep Primary Total Hip Arthroplasty Primary Total Knee Arthr…”
NCT06996171nctexcludeX3no eligible comparator (none of ['placebo']).examined: “Comparative Efficacy of Magnesium Supplement and Melatonin Congener in Young Adults With P…”
NCT02087722nctexcludeX3the randomised intervention is not ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (not named in title/conditions; an incidental abstract mention does not qualify).examined: “Efficacy and Safety of KI1001 in the Treatment of ≥ 55 Years Old Insomnia Patients Sleep I…”
NCT01489969nctexcludeX3the randomised intervention is not ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (not named in title/conditions; an incidental abstract mention does not qualify).examined: “Sleep Laboratory Study to Investigate the Safety and Efficacy of Neu-P11 in Primary Insomn…”
MelatoZincME · NCT05454683nctexcludeX2population not on-topic: title/conditions do not mention any of ['primary insomnia', 'insomnia', 'sleep onset latency', 'sleep latency'] (an incidental abstract mention does not qualify).examined title/conditions: “Melatonin and Zinc Administration on Cardinal Symptoms in Myalgic Encephalomyelitis/Chroni…”
NCT01450228nctexcludeX3the randomised intervention is not ['melatonin', 'prolonged-release melatonin', 'controlled-release melatonin', 'circadin'] (not named in title/conditions; an incidental abstract mention does not qualify).examined: “Efficacy and Safety of KI1001 in ≥ 55 Years Old Insomnia Patients Sleep Initiation and Mai…”
Neu I · NCT00816673nctincludeINCLUDERCT of melatonin vs placebo in primary insomnia; double-blind placebo-controlled — P/I/C/design met.population “…n In Elderly Insomniacs Primary Insomnia Neu I”; comparator “…mniacs Primary Insomnia placebo Circadin Circadin Neu I”

Controls

Results

Cross-family definition audit. Two independent model families (Gemini via AGY, and Fable) re-read every pooled row and checked whether the extracted result matches the outcome LABEL's definition — composite component set, timepoint, population, analysis set — not just the number. Rows flagged for this topic, with how each was resolved (refuse the trial / disclose the heterogeneity / relabel the timepoint / already disclosed). This is the endpoint-IDENTITY check — distinct from the per-number MAGNITUDE check (every pooled number located in its committed source span, gate-enforced). A number can pass magnitude and fail identity, which is exactly the class this audit catches; ‘verified’ on this harness now means both:
TrialOutcomeFindingResolution
20712869Sleep-onset latencyAge 65-80 subgroup of an 18-80 enrolment.ALREADY DISCLOSED (population field states the subgroup)

Sleep-onset latency (primary)

EstimandMD
Analysis populationpre-specified age 65-80 ITT subgroup (of an 18-80 enrolment)
Timepointend of treatment
MethodSingle included trial that reported this outcome — the estimate is that trial's own effect; no random-effects pooling (tau^2, HKSJ and prediction interval are not applicable at k=1).
k1
Single-trial effect-17.4 (MD), 95% CI -28.52–-6.28
Noteprediction interval undefined for k=1
Leave-one-out (influence)not assessable at k=1 (leave-one-out needs k>=3)

k = 1: the 1 trial(s) named below were pooled; 11 further screened-in trial(s) reported no poolable value for this outcome and are shown as declared absent.

TrialIdInputSource
20712869PMID 20712869-19.1±47.3 (n=137) vs -1.7±47.8 (n=144) (mean±SD)✓ verified against source
ClinicalTrials.gov results (structured, continuous): outcome 'The Change From Baseline in Subjective Sleep Latency.' mean -19.1 (SD 47.3, n=137) [Circadin] vs -1.7 (SD 47.8, n=144) [Placebo] minutes — population: Pre-planned analysis on ITT population age 65-80
40971945PMID 40971945declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
38816846PMID 38816846declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
33157425PMID 33157425declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
28364493PMID 28364493declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
21226679PMID 21226679declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
19584739PMID 19584739declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
17875243PMID 17875243declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
15766306PMID 15766306declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
12790159PMID 12790159declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
8895944PMID 8895944declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
Neu INCT00816673declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract

Harms

Adverse events

DECLARED ABSENT. no included trial reported this outcome with a percentage-corroborated count or an effect+CI in its abstract
TrialIdInputSource
40971945PMID 40971945declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
38816846PMID 38816846declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
33157425PMID 33157425declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
28364493PMID 28364493declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
21226679PMID 21226679declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
20712869PMID 20712869declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
19584739PMID 19584739declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
17875243PMID 17875243declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
15766306PMID 15766306declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
12790159PMID 12790159declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
8895944PMID 8895944declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract
Neu INCT00816673declared absentno percentage-corroborated arm counts or effect+CI for this outcome found in the abstract

Comparator

Published comparatorMeta-analysis: melatonin for the treatment of primary sleep disorders. (2013), PLoS One
IdentifierPMID 23691095
Open accessTrue
URLhttps://doi.org/10.1371/journal.pone.0063773

Scope match (is this the same question?)

✓ same question. Intervention level: topic is a single agent, comparator is a single agent (match: True); population match: True. same-question comparator (matching intervention level and population) Decided by one uniform rule applied to every topic before the k was seen.

Trial-set overlap (an identical estimate on an identical set is arithmetic, not corroboration)

k in this review (our own search)1
k stated in the comparator's own text (auto-extracted)not stated in the comparator abstract/full text
Shared trialsnot exactly verifiable (comparator trial table not machine-exposed)
Only in ours40971945, 38816846, 33157425, 28364493
Only in theirs
Overlap methodpublication-date + design identity (comparator trial list not extracted from source)
NoteTrials newer than the comparator (2013) cannot be in it (only-ours, verifiable by date). Exact shared count not asserted.

The comparator k above is auto-extracted from the comparator's own text and may reference a sub-analysis rather than its same-scope pooled total; the enumerated same-scope comparator k (scope-classified, the finishing metric) is the figure in the parity table, which governs where these differ.

Risk of bias

Coverage: 0 of 1 primary-outcome pooled trials have a registry (AACT) match and are assessed below; the other 1 are pooled but have no registry match (20712869) and are shown as not assessed with the reason — never guessed.

Funding / conflict-of-interest disclosure (per pooled trial, from source — disclosed, not adjusted). Industry-funded trials are a documented reporting-bias dimension (they tend to report more favourable results). For each pooled trial the funding source is classified from a verbatim statement in the committed source (full text preferred, abstract fallback), including an industry drug-supply tie in an otherwise independently funded trial: 0 of 1 pooled trials are industry-funded or industry-tied (the industry-funded proportion of this pool, for comparison against a comparator's). Absence is labelled by how deeply we looked — 0 with no funding statement in the full text (genuinely silent) and 1 where only the abstract was available (full text not retrieved) — so 'not stated' is never presented as 'independently funded'. The harness does not adjust for funding (the per-trial bias magnitude is not quantifiable from a funding line) — it is disclosed so a reader can weigh it. Never inferred.
TrialFundingScannedVerbatim statement
PMID 20712869not stated (abstract only — full text not retrieved)abstract only

Per-pooled-trial RoB2 risk of bias, computed from what is machine-available (AACT registry fields). Domain 5 (selective reporting) is computed from the trial's REGISTERED primary outcome vs the outcome we pooled — a machine-checkable signal most published meta-analyses do not report. D1/D2/D4 use AACT structured allocation/masking fields. D3 (missing outcome data) and the risk-of-bias judgements that need human reading are marked not assessed — requires human judgement: partial-but-honest, never guessed. Hover a cell for its basis.

TrialOverallD1 randomisationD2 deviations/blindingD3 missing dataD4 measurementD5 selective reporting
20712869not assessednot assessednot assessednot assessednot assessednot assessed

Risk-of-bias sensitivity (re-pooled with the same estimator)

Does the result survive dropping the trials that are not low risk of bias? The primary outcome is re-pooled by risk-of-bias stratum with the identical estimator. 0 of 1 pooled trials have a risk-of-bias rating; no pooled trial is rated high risk (the registry-derived assessment does not reach 'high'), so the standard drop-high sensitivity is inert and the informative stratum is low-only. An unrated trial cannot be placed in a stratum, so a low-only pool with fewer trials than the full pool reflects both risk of bias and assessment coverage — read the widened interval with that caveat, not as instability of the effect.
StratumRe-pooled estimate
Full pool (all pooled trials)k=1, MD -17.4 [-28.5214, -6.2786]
Low risk of bias only(not informative — see coverage)

GRADE certainty (partial, object-derived)

Overall certainty: moderate (starting from high for randomized trials, 1 downgrade(s)).Risk of bias, inconsistency, imprecision and publication bias are computed from committed fields; publication bias is assessed from the registry ghost census, not funnel-plot asymmetry (which is unreliable at our small k). Indirectness is left to human judgement (the PICO scope note states the directness) — this is a partial GRADE, honestly labelled.
DomainEffect on certaintyBasis
Risk of biasnot downgradedno assessed trial at high risk; fewer than half at 'some concerns'; RoB assessed for only 0 of 1 pooled trials (registry-derived), so the rating is capped
Inconsistencynot downgradedsingle trial (k=1): between-study inconsistency is not estimable
Imprecision−195% CI [-28.5214, -6.2786]; single trial (no replication)
Indirectnesshuman judgementdirectness of population/intervention/comparator/outcome is a human judgement; not auto-rated (the scope note on the page states the PICO)
Publication bias (registry-based)not downgradedno registry ghost census available for this topic

Manuscript

Abstract

Question. In adults with primary insomnia, does melatonin reduce sleep-onset latency versus placebo? (Randomized placebo-controlled trials; mean difference in minutes.)

Methods. A prospectively registered, fully reproducible review: the protocol was committed before synthesis (registration SHA 146edbf72435); a registry-first search was screened by two independent rule screeners with adjudication (126 records assessed); every pooled number was extracted down a source ladder and verified against its committed source.

Results. A single eligible trial contributed an extractable estimate: MD -17.4 (95% CI -28.52 to -6.28); with k=1 no between-trial heterogeneity or prediction interval is estimable. 11 eligible trial(s) were declared absent for this outcome (reported reason on each).

Certainty. Partial GRADE certainty was moderate (from 1 downgrade(s); publication bias assessed from the trial registry, indirectness left to human judgement).

Methods

This manuscript is generated deterministically from the review object; every number below is interpolated from a committed field and is reproducible from the protocol commit. The protocol (SHA 146edbf72435) was committed before any synthesis ran. Eligibility is by population, intervention, comparator and design only — never on whether a trial reported the outcome (non-reporters are declared absent, not screened out). Two independently implemented rule screeners ran with adjudication. Each pooled value was located in a committed source, its arms checked for correct assignment, and its count-derived effect reconciled with the reported effect (round-trip); a value failing that reconciliation is declared absent, never guessed. Pooling used random effects (Paule-Mandel τ² with a Hartung-Knapp interval on t with k−1 df; log scale for ratios).

Results

A single eligible trial contributed an extractable estimate: MD -17.4 (95% CI -28.52 to -6.28); with k=1 no between-trial heterogeneity or prediction interval is estimable.

20712869-17.4Pooled (k=1)-17.4 [-28.52, -6.28]MD (null=0)
Forest plot of the primary outcome, rendered from the committed per-trial estimates and the pooled result.

Risk-of-bias sensitivity. 0 of 1 pooled trials carry a risk-of-bias rating; no trial is rated high risk. a low-risk-only subpool was not estimable.

Limitations

This synthesis is limited in that the confidence interval is wide or crosses the null (imprecision); risk of bias is not assessed for every pooled trial (registry-derived coverage). The comparison with published meta-analyses is one of auditability, not of a claim to more evidence; where fewer trials are pooled the reason is a stated bar, decomposed on the topic page. Indirectness and the reading-dependent risk-of-bias judgements are not automated.

Data availability & reproduction

The committed cache, protocol (SHA 146edbf72435) and code regenerate this review byte-for-byte offline. Rebuild with a single command:

python scripts/build_topic.py melatonin-primary-insomnia-sol

Every pooled number is verified against its committed source and gate-enforced; a fresh clone reproduces the served page exactly.

Reporting (PRISMA)

Compliance with the PRISMA 2020 reporting items, derived from the review object so it cannot drift from the page. Every item is rendered or declared absent with a reason.

PRISMA 2020 itemStatusWhere / why
5 Eligibility criteria✓ presentProtocol tab — generated from the structured include object (P/I/C/design), so declared == enforced.
6 Information sources + dates✓ presentSearch tab — PubMed, ClinicalTrials.gov; run 2026-09-11; AACT snapshot dated on the ghost/recall blocks.
7 Full search strategy, verbatim, every source✓ presentSearch tab — the exact PubMed and ClinicalTrials.gov queries are printed verbatim and are re-runnable.
8 Selection process (screeners, disagreement)✓ presentTwo independently-implemented rule screeners; disagreement rate 14.3% (18/126); rule-based adjudicates. CAVEAT: both rule sets share an author and the same criteria, so they are NOT statistically independent and this agreement overstates reliability — a genuinely independent model screener is the next step.
9 Data collection process✓ presentResults tab + per-trial Source column — source hierarchy (abstract > CT.gov structured > full text > hand-verified AACT arms), round-trip validation on every extraction, outcome-identity gating; refuse on ambiguity.
15 Certainty assessment✓ presentResults tab — the machine-computable certainty signals are shown: imprecision via the 95% CI, single-trial (k=1) flagged, inconsistency via tau^2. A PARTIAL, object-derived GRADE is now rendered on the Risk-of-bias tab (risk-of-bias, inconsistency, imprecision, and registry-based publication bias computed from committed fields; indirectness left to human judgement) — a graded certainty label with each domain's basis, not a full hand-graded GRADE.
16a Flow with counts at every stage✓ presentScreening tab — PRISMA flow: identified -> screened -> excluded-by-rule (counts) -> eligible -> pooled k -> declared-absent.
16b Exclusions with reasons✓ presentScreening tab — every excluded record lists its rule id, a reason true of the record, and a verbatim span.
24a-c Registration & protocol✓ presentProtocol + Reproducibility tabs — registered at commit SHA 146edbf724, committed before synthesis, eligibility generated from the structured object.

Reproducibility

Reproduction census failures0
Re-run from registration SHA146edbf724354bd40134ccaeae7719aebdf9f5f8
Content hash (review core)14d38bdbafab7cac9ff62446e42b2306b2f7193d55489c8f5a49b1b2f08fe334
Replayed offline from committed cacheTrue

Parity with the published comparator

Our pooled k = 1 vs the comparable same-scope comparator k = 15GAP. Comparator (PLoS One 2013, PMID 23691095) sleep-onset-latency pool = 15 RCTs (verified from its heterogeneity df: Q=31.9, df=14 => k=15; WMD 7.06 min [4.37,9.75]). We pool 1 (prolonged-release melatonin 2 mg, Wade 2011 / Circadin / NCT00397189, adult primary insomnia, per-arm mean/SD from CT.gov). The comparator's pool is deliberately BROADER in scope: of its 19 included studies, 4 are delayed-sleep-phase syndrome, 1 is REM sleep behaviour disorder, and >=3 are in CHILDREN (van Geijlswijk 2010, Smits 2003, Smits 2001) - all outside our adult-primary-insomnia scope - plus multiple cross-over designs and immediate-release doses from 0.05 mg/kg to 5 mg (a different formulation/estimand than our prolonged-release pool). The exact 15 SOL forest-plot trial identities are NOT in the comparator's cached OA full text (Figure 1 row labels absent), so the remaining per-trial split cannot be completed from source; several are pre-2000 cross-over trials with no accessible per-arm data. So this is a SCOPE (formulation/population/estimand) + partial REACH gap, honestly bounded - not a like-for-like shortfall. This is one of our narrowest pools and is shown as such.