Introduction
Bipolar disorder (BD) is a severe, chronic mood illness affecting a vast population worldwide. Global burden estimates exceed 40 million affected individuals (Jiang et al., 2025; Millett et al., 2025), and BD ranks among the leading causes of disability. Importantly, cognitive deficits in attention, memory, and executive function are an essential and persistent feature of BD, present in roughly 40-60% of patients (Burdick et al., 2014; Millett et al., 2025). These impairments endure even during euthymic periods and strongly predict poorer psychosocial function and reduced quality of life (Nicoloro-SantaBarbara et al., 2023). Electroconvulsive therapy (ECT) is one of the most effective treatments for severe, treatment-resistant mood episodes, including bipolar depression and mania (Fetahovic et al., 2025). However, its utility is tempered by adverse cognitive sequelae: ECT commonly induces retrograde and anterograde memory impairment. For example, guidelines note that ECT frequently causes loss of autobiographical memory and short-term learning deficits (Porter et al., 2020), and up to ~60% of patients report new memory problems in the weeks following treatment (Porter et al., 2020). These cognitive side effects can substantially worsen overall functioning and diminish the therapy’s quality-of-life benefits.
The mechanisms underlying ECT-induced cognitive dysfunction are not fully understood but are believed to be multifactorial. ECT-triggered seizures appear to provoke acute neurobiological stress. Recent work suggests that ECT increases mitochondrial activity and generates a surge of reactive oxygen species (ROS), along with transient elevations in pro-inflammatory cytokines (Freire et al., 2017). At the same time, ECT alters neurotransmitter systems (including glutamate, Gamma-aminobutyric acid (GABA), and monoamines) and neurotrophic signaling in cortico-limbic circuits (Fetahovic et al., 2025; Van Den Bossche et al., 2019). Together, these changes may transiently disrupt neuronal homeostasis and plasticity, contributing to memory lapses. In response, researchers have trialed various pharmacologic adjuncts to blunt these effects. For instance, the N-methyl-D-aspartate (NMDA) antagonist memantine and thyroid hormone (liothyronine, T3) have shown some promise in limited trials (Verdijk et al., 2022). Small studies also tested acetylcholinesterase inhibitors (e.g. donepezil), with one review noting improved cognitive scores in most trials (Verdijk et al., 2022). Nevertheless, systematic reviews underscore that the evidence is weak and inconsistent: published trials vary widely in design and quality, and many findings remain contradictory or of low certainty (Freire et al., 2017; Verdijk et al., 2022).
Melatonin is an endogenous indoleamine hormone best known for regulating circadian rhythms, but it also has potent antioxidant and neuroprotective actions. Its lipophilic structure allows it to cross the blood–brain barrier and directly scavenge a broad spectrum of free radicals (Carretero et al., 2023; Kołodziejska et al., 2025). Melatonin elevates endogenous antioxidant defenses and inhibits pro-oxidant enzymes (Kołodziejska et al., 2025). It also exerts anti-inflammatory effects by suppressing microglial activation and the NF-κB pathway, thereby reducing the release of inflammatory cytokines (Sivamaruthi et al., 2023) including neurodegenerative illnesses like Alzheimer’s disease (AD). These properties suggest that melatonin could protect against oxidative and inflammatory brain injury induced by ECT seizures. Empirical evidence for melatonin’s cognitive benefits is mixed. In some studies, adjunctive melatonin improved subjective memory or cognitive scores: for example, depressed patients taking melatonin with antidepressants reported less perceived cognitive dysfunction (Colwell et al., 2022; Targum et al., 2015). Conversely, in one randomized controlled trial (RCT) of depressed patients undergoing ECT, low-dose melatonin (3 mg/d) was less effective than memantine at preventing post-ECT cognitive decline (Sarraf et al., 2020). In another trial (among hemodialysis patients), melatonin showed no significant benefit over placebo on cognition (Hatamkhani et al., 2024). On the other hand, studies in other contexts hint at neuroprotective effects. For instance, melatonin reduces cognitive deterioration in Alzheimer and Parkinson disease models (Talbot et al., 2023), and animal experiments demonstrate that melatonin can preserve hippocampal neuronal integrity and memory after brain injury (Chang et al., 2021).
Despite its promise, no standard prophylactic treatment for ECT-related cognitive impairment exists. Prior studies have been inadequate due to small sample sizes and heterogeneity in ECT techniques, drug dosing, and cognitive assessments (Verdijk et al., 2022). Thus, a clear gap remains. In other words, rigorous, placebo-controlled trials of melatonin in the ECT context are scarce. The present study aims to fill this gap by systematically evaluating whether adjunctive melatonin can mitigate cognitive side effects of ECT in bipolar patients. We hypothesize that patients receiving melatonin will demonstrate better cognitive performance after ECT (less memory and executive impairment) than those receiving a placebo.
Materials and Methods
Study design and setting
This study was a randomized, double-blind, placebo-controlled clinical trial conducted to assess the potential protective effects of melatonin on cognitive impairments associated with ECT in patients with BD. The trial was performed at Shafa Hospital, Rasht, Iran, a tertiary psychiatric referral center, between June 2023 and June 2024. Patients with a confirmed diagnosis of BD who were scheduled to undergo ECT were consecutively recruited and randomized to either the melatonin or placebo group.
The protocol was reviewed and approved by the Research Ethics Committee of Guilan University of Medical Sciences. The trial was prospectively registered in the Iranian Registry of Clinical Trials (IRCT). Written informed consent was obtained from all patients or their legal guardians before enrollment, following a detailed explanation of the study’s objectives, procedures, potential benefits, and risks. All study procedures adhered to the ethical standards of the institutional review board and the principles of the Declaration of Helsinki.
Study participants
Adult patients aged 18 years or older with a clinician-confirmed diagnosis of BD according to the updated DSM5TR criteria (American Psychiatric Association, 2022) were eligible if they were scheduled to undergo an acute course of ECT at Shafa Hospital, Rasht City, Iran (American Psychiatric Association, 2022; First et al., 2022). The exclusion criteria comprised comorbid neurological disorders (e.g. epilepsy or dementia), severe systemic medical conditions such as significant hepatic, renal, or cardiac dysfunction, active gastrointestinal ulceration, uncontrolled hypertension, ongoing substance (alcohol or illicit drug) use, known hypersensitivity to melatonin, pregnancy or breastfeeding, concurrent use of medications with pronounced cognitive or sedative effects (e.g. high-dose benzodiazepines or anticholinergic agents), and sensory or language impairments that precluded completion of neurocognitive assessments. All eligible participants or their legal guardians provided written informed consent before enrollment, after receiving comprehensive explanations of the study objectives, procedures, potential risks, and anticipated benefits. Participants were recruited consecutively during routine clinical evaluation and screened according to the predefined eligibility criteria. A history of prior ECT was not considered an exclusion criterion in this study.
Screening and enrollment
Potential participants were identified consecutively from patients referred for ECT and were initially evaluated by the attending psychiatrists in collaboration with a study pharmacist. The diagnostic process involved a structured clinical interview to confirm BD according to DSM-5-TR criteria, along with a comprehensive review of past medical history and current medications. A complete physical examination, including vital sign measurements, was performed to ensure clinical stability. Baseline safety assessments included a standard 12-lead electrocardiogram to rule out conduction abnormalities, particularly bradyarrhythmia, as well as routine laboratory investigations of renal and hepatic function. Women of childbearing potential underwent a pregnancy test before randomization, and toxicology screening was conducted when clinically indicated to exclude active alcohol or illicit drug use. Final eligibility was verified and recorded prospectively in study source documents and case report forms. Informed consent was obtained from all participants or their legal guardians before enrollment in the trial, in accordance with institutional guidelines and internationally accepted recommendations for ethical conduct in clinical trials and the use of ECT (First et al., 2022).
Randomization and blinding
Participants who met eligibility criteria were randomized in a 1:1 ratio to receive either melatonin or a placebo, in addition to standard ECT. The randomization sequence was generated using a computer-based system with permuted blocks of 4, implemented via a validated external randomization platform (Kim & Shin, 2014). Allocation concealment was ensured through sequentially numbered, opaque, sealed envelopes (SNOSE), prepared by a research coordinator who was not involved in patient recruitment, administration, or outcome assessments. Each envelope was opaque, tamper-proof, and stored centrally in the pharmacy, only opened upon formal patient enrollment—this approach effectively prevents selection bias (Clark et al., 2021).
The study was designed as a double-blind trial: neither the patients, the treating psychiatrists administering ECT, nor the cognitive evaluators were aware of the treatment allocations. Melatonin and placebo capsules were identical in appearance, packaging, and labeling to maintain blinding integrity. Data analysts remained blinded to group identities (coded as group A/group B) until the database was locked and the pre-specified statistical plan completed, in accordance with CONSORT guidelines for reporting blinding and intervention similarity (Hopewell et al., 2025).
Following participant consent, the study nurse retrieved the next envelope from the pharmacy, linked it to the corresponding medication kit, and administered the first dose per protocol, without involvement in eligibility determination or outcome assessments. Emergency unblinding was possible only with the pharmacy director's formal documentation; notably, no such events occurred. This protocol clearly distinguishes between allocation concealment and blinding and safeguards against both selection and performance biases (Vorland et al., 2021).
The sample size was calculated a priori based on conventional statistical standards. Using a two-tailed test with α=0.05 and power of 80%, and assuming a medium effect size (Cohen’s d≈0.5), an estimated 34 participants per arm would be required to detect a clinically meaningful difference in cognitive outcomes (Hartman et al., 2017). To account for possible attrition (~10%–15%), the target enrollment was increased, resulting in 46 participants randomized and followed to study completion. The calculation followed the standard formula (Equation 1) for comparing two independent means in superiority trials:
1.
, where σ and σ2 are group standard deviations, Δ is the expected mean difference, and Z denotes standard normal quantiles (Serdar et al., 2021). Figure 1 shows patient screening, randomization, allocation, follow-up, and analysis.
Intervention protocol
Participants randomized to the intervention arm received oral melatonin 3 mg capsules (Tehran Darou Pharmaceutical Co., Tehran, Iran) once nightly at 21:00±30 minutes to synchronize with the endogenous circadian rhythm of melatonin secretion. The first dose was administered 24 hours before the initiation of the ECT course, and treatment continued daily until 24 hours after the final ECT session, yielding an average exposure duration of approximately two weeks. Capsules were dispensed in sealed, coded blister packs by the hospital pharmacy, with identical-appearing placebo capsules produced by the same company to ensure indistinguishability. Matching was confirmed for capsule size, shape, color, taste, odor, and packaging to maintain blinding integrity. Adherence was reinforced through directly observed therapy: all doses were administered under the supervision of trained ward nurses, who documented administration times in case report forms. Missed doses, if any, were recorded along with reasons, and participants were not allowed to self-administer medication. To safeguard trial integrity, returned packs were counted to verify compliance. The control group received placebo capsules under identical procedures. Both melatonin and placebo were stored at controlled room temperature (20–25 °C) and monitored for stability throughout the study. The double-blind design extended to all treating clinicians, outcome assessors, and data analysts.
ECT procedures were standardized across both arms. Treatments were delivered using a Thymatron® System IV device (Somatics LLC, Lake Bluff, IL, USA) with brief-pulse, constant-current stimulation and bilateral electrode placement. Stimulation parameters were individualized using the half-age method to estimate the seizure threshold and minimize cognitive adverse effects. Each session was titrated to achieve a motor seizure lasting at least 25 s and an EEG-confirmed seizure lasting ≥30 s, with adequacy determined by cuff-isolated limb observation and EEG monitoring. Patients typically underwent six ECT sessions over the treatment course, consistent with standard psychiatric practice and contemporary international ECT guidelines (American Psychiatric Association, 2022; Choe et al., 2020).
Outcome measures
The primary outcome was the change in global cognitive performance, assessed by the MMSE, measured repeatedly at baseline (within 24 hours before the first ECT session) and 24 hours after each ECT session, including the sixth (final) session. The MMSE, a standardized 30-point screening instrument evaluating domains such as orientation, attention, memory, language, and visuospatial ability, is well-established in clinical research. For this study, the validated Persian version of the MMSE, with demonstrated high internal consistency (Cronbach α=0.81) and construct validity in Iranian populations, was administered by a trained research assistant blinded to treatment assignment (Khodamoradi et al., 2020).
Secondary outcomes included changes in systolic blood pressure (SBP) and diastolic blood pressure (DBP), measured at the same timepoints as the cognitive assessments. BP monitoring was incorporated as a secondary safety parameter to evaluate possible hemodynamic effects of melatonin during the ECT course, given its known influence on circadian regulation and vascular tone. BP was recorded after participants rested for at least 5 minutes, using a calibrated automated digital sphygmomanometer (Beurer BM28; Beurer GmbH, Ulm, Germany). The measurement protocol adhered strictly to the American Heart Association (AHA) recommendations for accurate and standardized BP assessment, which emphasize a rest period, a correctly sized cuff, and proper body positioning (Asmar et al., 2024; Muntner et al., 2019). All BP measurements were performed by experienced, blinded staff, and the measurement devices were calibrated weekly to ensure precision and reproducibility.
Statistical analysis
Data were analyzed using SPSS software, version 26 (IBM Corp., Armonk, NY, USA). Continuous variables are reported as Mean±SD, and categorical variables are reported as frequencies and percentages. Baseline characteristics were compared with independent samples t-tests or chi-square tests, as appropriate. Changes in total MMSE across ECT sessions were examined using linear mixed-effects models that included group, time, and their interaction. Paired t-tests assessed within-group changes from baseline, and Welch’s t-tests were used for between-group comparisons at each session. The Holm-Bonferroni method was applied to control for multiple comparisons. Subdomain-level MMSE scores were analyzed by paired t-tests for within-group changes (baseline vs ECT6) and by Welch’s t-tests for between-group differences at ECT6 and for difference-in-change values (ΔMel − ΔPlac). Results were summarized in tables and illustrated with forest plots. For secondary physiological outcomes (SBP and DBP), pre–post changes were evaluated with paired t-tests, and between-group differences in change scores with independent-samples t-tests. Findings were visualized with line plots (mean±95% CI) and bar plots of Δ-values.
Results
Baseline characteristics
A total of 46 participants were randomized: 23 to melatonin and 23 to placebo. Demographic and physiological characteristics were well balanced across treatment arms. The average age of participants was comparable between groups, and sex distribution did not differ significantly.
At baseline, both groups demonstrated similar MMSE scores. Orientation to time and place, registration, and most language domains were near ceiling levels, whereas the greatest variability was observed in recall and attention/calculation tasks. These patterns are consistent with prior reports of subtle baseline cognitive deficits in patients with BD undergoing ECT. The mean total MMSE score was 26.6±1.9 in the melatonin group and 26.2±2.0 in the placebo group, with no statistically significant difference. Physiological measures, including systolic and diastolic BP, were also comparable between groups at baseline. Detailed baseline characteristics are summarized in Table 1.
Primary outcome
Change in total MMSE score across ECT sessions
Across the trial, between-group comparisons demonstrated a consistent but nonsignificant trend favoring melatonin over placebo at all time points (Table 2).
Linear mixed-effects analysis further confirmed significant main effects of time (F5, 210=11.27, P<0.001) and a significant group × time interaction (F5, 210=2.98, P=0.021), indicating that melatonin-treated patients showed greater cognitive improvement across ECT sessions than placebo-treated patients (Supplementary Table 1). However, within-group analyses provided clearer insights. In the melatonin arm, patients showed progressive improvement in global cognitive performance relative to baseline. Significant gains emerged at the third ECT session, where MMSE scores increased by an average of 0.7 points (95% CI, 0.08%, 1.32%; P<0.05). This improvement was sustained, with further enhancement observed by the fifth session (mean change 0.88; 95% CI, 0.17%, 1.60%; P<0.05). The largest improvement occurred at the final ECT session, where scores rose by 1.3 points relative to baseline (95% CI, 0.59%, 2.01%; P<0.01), indicating a cumulative neuroprotective effect (Table 3). In contrast, participants in the placebo arm showed no significant change in MMSE performance throughout the ECT course. Although minor fluctuations were observed, none reached statistical significance compared to baseline (Table 3).
Subdomain-level changes in MMSE
Subdomain analyses provided more granular insights into the cognitive effects of melatonin compared with placebo. Between-group comparisons at the final ECT session (ECT6) revealed that the largest numerical advantages for melatonin were observed in the recall and attention & calculation domains, with mean differences of approximately +0.5 and +0.4 points, respectively, relative to placebo (Figure 2A). Smaller favorable shifts were also noted in orientation to place and orientation to time. In contrast, language-related subdomains (naming, repetition, reading, and writing) and visuospatial ability remained essentially unchanged across groups. Conversely, a modest negative difference in Writing was observed at ECT6 (mean difference ≈−0.08), reflecting minor decrements in both groups but more pronounced in the melatonin arm (Figure 2A).
When changes from baseline to ECT6 were compared directly between groups (ΔMel − ΔPlac), the superiority of melatonin became more apparent (Figure 2B). Participants receiving melatonin exhibited significant within-group improvements in Recall (+0.7 points) and attention & calculation (+0.6 points). In contrast, placebo recipients showed only small, nonsignificant gains (+0.3 and +0.2, respectively). The difference-in-change analysis confirmed that melatonin exerted a stronger protective effect in memory and attentional domains, consistent with its hypothesized neuroprotective and antioxidant mechanisms. By contrast, orientation and procedural command subdomains demonstrated negligible or mixed changes, and language-related functions remained at ceiling performance in both groups, thereby limiting sensitivity to detect between-group differences.
Secondary outcomes (blood pressure)
No significant differences were observed between groups in BP outcomes. Mean SBP values remained stable across the trial, with a small nonsignificant decrease in the melatonin arm (−1.4 mm Hg) and a slight increase in the placebo arm (+0.8 mm Hg; between-group P=0.29). Similarly, DBP showed minimal within-group fluctuations (−0.7 mm Hg in the melatonin group vs +0.5 mm Hg in the placebo group), with no significant between-group difference at study end (P=0.34) (Figure 3).
Safety and tolerability
Melatonin was generally well tolerated. No serious adverse events were observed in either group. Mild and transient side effects were reported, including headache in 2 patients (1 melatonin, 1 placebo) and daytime sleepiness in 3 patients (2 melatonin, 1 placebo). None of these events led to discontinuation of treatment or affected the ECT protocol. Overall, tolerability profiles were comparable between groups.
Discussion
Melatonin supplementation in our trial was associated with clear cognitive benefits and an excellent safety profile. In summary, patients receiving melatonin showed a significant improvement in overall cognitive performance (as measured by MMSE) compared to baseline and controls, with the most pronounced gains observed in the recall and attention & calculation subdomains of the MMSE. Notably, these cognitive improvements occurred without any detectable change in BP or other vital signs, and no serious adverse events were observed. This finding aligns with melatonin’s known tolerability; it exerts minimal physiological side effects at therapeutic doses (Kołodziejska et al., 2025). The absence of hemodynamic effects or major side effects in our cohort underscores melatonin’s safety and feasibility as a treatment option in this population.
Our findings can be contextualized alongside previous studies of both standard anti-dementia drugs and melatonin in related conditions. Cholinesterase inhibitors like donepezil are established treatments in Alzheimer disease (AD) and typically produce modest short-term cognitive improvements (on the order of ~1–2 points on the MMSE) in mild-to-moderate dementia (Sheikh & Ammar, 2024). For instance, a recent meta-analysis confirmed that donepezil 10 mg/d yields a significant MMSE increase (Hedges’ g ≈2.3, 95% CI, 1.25%, 3.29%) versus placebo (Sheikh & Ammar, 2024), reflecting its symptomatic cognitive benefit. Memantine, an NMDA-receptor antagonist, is used mostly in moderate-to-severe AD and is known to have smaller effects on cognition but can help with behavioral symptoms like agitation and “sundowning” (Yaghmaei et al., 2024). Indeed, memantine’s primary impact is often on neuropsychiatric and functional measures, whereas donepezil and other cholinesterase inhibitors directly enhance cognitive function by boosting cholinergic transmission (Yaghmaei et al., 2024). In comparison, the cognitive gains we observed with melatonin, particularly in memory recall and attention, are notable because they approach the magnitude of benefit seen with standard cognitive enhancers in mild dementia. A 2021 systematic review similarly found that >12 weeks of melatonin therapy in AD patients leads to a mean MMSE improvement of about 1.8 points relative to placebo (Sumsuzzman et al., 2021), especially in mild-stage AD. Such an effect size is comparable to that of cholinesterase inhibitors in early disease, suggesting melatonin’s efficacy is not merely anecdotal. Historically, trials of melatonin for cognitive impairment have produced mixed results (Riemersma-van der Lek, 2008), with some early studies reporting no significant benefit. However, more recent evidence has shifted this perspective. For example, a network meta-analysis of dementia interventions concluded that melatonin may be a promising disease-modifying treatment for cognitive decline in mild AD and mild cognitive impairment (Modabbernia et al., 2011; Tseng et al., 2022; Wang et al., 2017; Xu et al., 2015). This finding implies that melatonin could offer more than symptomatic relief, potentially slowing neurodegenerative processes, a stark contrast to donepezil and memantine, which are primarily symptomatic treatments. It is also worth noting that melatonin has been investigated in other clinical contexts of cognitive dysfunction. In post-ECT cognitive impairment (depressed patients undergoing electroconvulsive therapy), a head-to-head trial found melatonin (3 mg) was less effective than memantine (5 mg) at alleviating acute memory deficits (Sarraf et al., 2020). Melatonin recipients in that study actually showed a slight decline in MMSE post-ECT, whereas memantine-treated patients improved (Sarraf et al., 2020). This outcome highlights that melatonin’s cognitive benefits may be context-dependent; it appears more useful in chronic neurodegenerative or age-related cognitive impairment than in preventing acute procedure-related deficits. Similarly, exploratory studies in surgical patients have hinted at neuroprotective effects of melatonin on postoperative cognitive dysfunction, particularly in memory and attention domains (Tavares et al., 2025). However, larger trials are needed for confirmation. Overall, our results strengthen the growing body of literature suggesting that melatonin can meaningfully improve cognitive function in conditions such as early AD or MCI (Sumsuzzman et al., 2021). A key distinction is that melatonin’s benefits come without the cholinergic side effects (e.g. gastrointestinal upset) seen with donepezil or the neurologic side effects of memantine, making melatonin an appealing alternative or adjunct therapy. Given melatonin’s different mechanism of action, there is also potential for combination therapy; just as donepezil plus memantine together yield better cognitive outcomes than either alone in advanced AD (Yaghmaei et al., 2024), melatonin might usefully complement standard drugs by addressing pathology (e.g. sleep disruption, oxidative stress) that those therapies do not.
Mechanistically, the cognitive enhancement observed with melatonin in our study is biologically plausible based on its neuroprotective actions. Melatonin is a pleiotropic molecule with robust antioxidant and anti-inflammatory properties in the central nervous system. It directly scavenges free radicals, inhibits lipid peroxidation, and stimulates antioxidant enzymes (such as superoxide dismutase and glutathione peroxidase), while concurrently suppressing pro-inflammatory signaling pathways (Kołodziejska et al., 2025). These actions help to protect neurons from oxidative stress and inflammation, factors strongly implicated in cognitive decline and dementia. Notably, melatonin has been shown to preserve synaptic function and prevent neuronal loss in hippocampal and cortical regions that subserve memory and attention. For example, preclinical studies demonstrate that melatonin can restore cholinergic neurotransmission in the hippocampus, increasing acetylcholine availability by upregulating choline acetyltransferase and other components of the cholinergic system (Chen et al., 2018). This finding corresponds well with our finding of improved memory recall (a hippocampal-dependent task) and enhanced attention/calculation, since the cholinergic system is crucial for both memory encoding and sustained attention. In AD models, melatonin has repeatedly shown the ability to reduce neuropathological burdens, attenuate β-amyloid accumulation and tau hyperphosphorylation, and limit microglial activation and the release of inflammatory cytokines (Kołodziejska et al., 2025; Zhang et al., 2025). Each effect could translate into preserved cognitive function. Reduced amyloid and tau pathology would help maintain synaptic integrity (hence better memory), and lower neuroinflammation could improve signaling in attention-related neural networks.
In addition, melatonin’s role as a circadian regulator likely contributes to its cognitive benefits. Sleep and circadian rhythm disruptions are known to exacerbate cognitive impairment; poor sleep quality can hasten cognitive decline in older adults by aggravating β-amyloid deposition and other mechanisms (Tseng et al., 2022). Melatonin, by entraining sleep-wake cycles and improving sleep efficiency, addresses this often-overlooked aspect of brain health. Indeed, trials have found that melatonin (especially at low doses <5 mg) significantly improves sleep efficiency in patients with mild cognitive impairment and Parkinson’s disease (Germain et al., 2023), and it is well recognized for improving insomnia in older adults. Better sleep, in turn, may sharpen daytime alertness and cognitive performance, particularly attention and executive function, which are highly sensitive to sleep loss.
Furthermore, during deep sleep, the brain’s glymphatic system clears metabolic waste, including Aβ; melatonin’s promotion of sleep could thus facilitate brain clearance of toxins that impair cognition (Zhang et al., 2025). Taken together, melatonin’s antioxidant/anti-inflammatory effects and its normalization of circadian rhythms create a synergistic environment for cognitive improvement. The preferential gains we observed in memory and attention might reflect exactly these mechanisms at work – melatonin protecting the hippocampus and frontal cortex from oxidative injury while also ensuring the brain has restorative sleep to consolidate memory and support attention networks.
This study has several strengths that bolster confidence in the findings. To our knowledge, it is one of the first double-blind, placebo-controlled RCTs examining melatonin’s cognitive effects in this patient population. The double-blind design (blinding participants, caregivers/clinicians, and outcome assessors) minimizes bias in outcome reporting and assessment. Treatment adherence was high throughout the trial, and dropout rates were low, suggesting the intervention was acceptable to patients (likely owing to melatonin’s benign side-effect profile). We also used a structured cognitive battery (MMSE with subdomain analysis) to detect domain-specific effects, which provided insight into where melatonin’s impact is most pronounced (i.e. improvements in memory and attention). However, certain limitations must be acknowledged. The sample size was modest, and the trial was conducted at a single center, which may limit generalizability. A larger sample might have allowed detection of more subtle effects on other cognitive domains or subgroup differences. Our follow-up duration was relatively short (on the order of a few months); thus, we primarily captured short-term cognitive changes. It remains uncertain whether melatonin’s benefits persist or deepen with longer-term use; longitudinal studies are needed to determine whether melatonin can slow the trajectory of cognitive decline over time.
Additionally, while we measured global cognition and simple subdomains, more sensitive neuropsychological tests (e.g. detailed memory tests or executive function tasks) were not included, which could have provided a finer-grained understanding of melatonin’s cognitive effects. Finally, our exclusion criteria omitted patients with other major psychiatric comorbidities (such as schizophrenia or schizoaffective disorder), but the trial specifically enrolled patients with BD undergoing ECT. While melatonin is generally safe in BD, there remains some theoretical concern that exogenous melatonin could rarely precipitate manic episodes. However, no such cases occurred in our study.
Melatonin demonstrated a favorable safety profile and ease of use, emerging as a practical adjunct or alternative for cognitive impairment. It is inexpensive, widely available, and generally well tolerated, in contrast to prescription cognitive enhancers that often cause gastrointestinal or cardiac side effects. Our results suggest that a nightly regimen (5–10 mg) could benefit older patients with mild cognitive deficits, particularly when sleep disturbances or circadian irregularities are present. Improvements in memory and attention may translate into better daily functioning, and even stabilization of decline would be clinically significant.
Nevertheless, melatonin should be prescribed thoughtfully, with appropriate patient education on evening dosing and gradual onset of benefit. Caution is warranted in special populations, such as BD, where rare cases of mania induction have been reported (Bourin, 2024; McCarthy et al., 2022). Looking forward, large multi-center RCTs with longer follow-up are needed to validate these findings, define optimal dosing, and assess whether melatonin exerts disease-modifying effects.
Conclusion
This randomized, double-blind, placebo-controlled trial provides novel evidence that adjunctive melatonin can attenuate ECT-related cognitive impairment in patients with BD. Compared with placebo, melatonin was associated with significant improvements in global cognition, with the strongest effects in recall and attention/calculation domains, while maintaining an excellent safety profile. No major adverse events or hemodynamic changes were observed, underscoring its tolerability. These findings highlight melatonin as a simple, inexpensive, and widely accessible therapeutic option to support cognition in this vulnerable population.
Ethical Considerations
Compliance with ethical guidelines
This study was approved by the Research Ethics Committee of Guilan University of Medical Sciences, Rasht, Iran (Code: IR.GUMS.REC.1402.080). The trial was prospectively registered by the Iranian Registry of Clinical Trials (IRCT), Tehran, Iran (Code: IRCT20220516054879N5). Written informed consent was obtained from all patients or their legal guardians before enrollment, following a detailed explanation of the study’s objectives, procedures, potential benefits, and risks. All study procedures adhered to the ethical standards of the institutional review board and the principles of the Declaration of Helsinki.
Data availability
The datasets generated and/or analyzed during the current study are available from the corresponding author upon reasonable request. Due to ethical and privacy considerations, the data are not publicly available.
Declaration of generative AI and AI-assisted technologies in the writing process Funding
An AI-assisted tool (QuillBot) was used under the authors’ supervision exclusively to improve academic language clarity and formatting. No AI tool influenced the scientific content, data analysis, or conclusions of this work.
Authors' contributions
Conceptualization: Roja Qobadighadikolaei, Robabeh Soleimani and Saeed Taatirad; Methodology: Maryam Shahrokhi, Roja Qobadighadikolaei, and Hamed Jafari Mohamadabadi; Software: AmirMahdi Rezapour and Danial Siahtiri; Validation: Maryam Shahrokhi and Faezeh Jamali; Formal analysis: Mahdi Ahmadinia and AmirMahdi Rezapour; Investigation: Robabeh Soleimani, Saeed Taatirad, and Hamed Jafari Mohamadabadi; Resources: Robabeh Soleimani and Saeed Taatirad; Data curation: AmirMahdi Rezapour and Danial Siahtiri; Writing th-: Maryam Shahrokhi and AmirMahdi Rezapour; Review and editing: Roja Qobadighadikolaei, Faezeh Jamali, and Mahdi Ahmadinia; Visualization: AmirMahdi Rezapour and Danial Siahtiri; Supervision: Roja Qobadighadikolaei and Robabeh Soleimani; Project administration: Roja Qobadighadikolaei.
Conflict of interest
The authors declared no conflict of interest.
References
American Psychiatric Association. (2022). Diagnostic and statistical manual of mental disorders. Washington: American Psychiatric Association. [DOI:10.1176/appi.books.9780890425787]
Asmar, R., Stergiou, G., de la Sierra, A., Jelaković, B., Millasseau, S., & Topouchian, J., et al. (2024). Blood pressure measurement and assessment of arterial structure and function: an expert group position paper. Journal of Hypertension, 42(9), 1465–1481. [DOI:10.1097/HJH.0000000000003787] [PMID]
Bourin, M. (2024). Bipolar disorders and seasonality. Journal of Mental Health Disorders, 4(1), 50-56. [DOI:10.33696/mentalhealth.4.025]
Burdick, K. E., Russo, M., Frangou, S., Mahon, K., Braga, R. J., & Shanahan, M., et al. (2014). Empirical evidence for discrete neurocognitive subgroups in bipolar disorder: Clinical implications. Psychological Medicine, 44(14), 3083–3096. [DOI:10.1017/S0033291714000439] [PMID]
Carretero, V. J., Ramos, E., Segura-Chama, P., Hernández, A., Baraibar, A. M., & Álvarez-Merz, I., et al. (2023). Non-excitatory amino acids, melatonin, and free radicals: Examining the role in stroke and aging. Antioxidants (Basel, Switzerland), 12(10), 1844. [DOI:10.3390/antiox12101844] [PMID]
Chang, H. M., Lin, H. C., Cheng, H. L., Liao, C. K., Tseng, T. J., & Renn, T. Y., et al. (2021). Melatonin successfully rescues the hippocampal molecular machinery and enhances anti-oxidative activity following early-life sleep deprivation injury. Antioxidants (Basel, Switzerland), 10(5), 774. [DOI:10.3390/antiox10050774] [PMID]
Chen, B. H., Park, J. H., Kim, D. W., Park, J., Choi, S. Y., & Kim, I. H., et al. (2018). Melatonin improves cognitive deficits via restoration of cholinergic dysfunction in a mouse model of scopolamine-induced amnesia. ACS Chemical Neuroscience, 9(8), 2016–2024. [DOI:10.1021/acschemneuro.7b00278] [PMID]
Choe, S., Wang, H., DiNardo, C. D., Stein, E. M., de Botton, S., & Roboz, G. J., et al. (2020). Molecular mechanisms mediating relapse following ivosidenib monotherapy in IDH1-mutant relapsed or refractory AML. Blood Advances, 4(9), 1894–1905.[DOI:10.1182/bloodadvances.2020001503] [PMID]
Clark, L., Dean, A., Mitchell, A., & Torgerson, D. J. (2021). Envelope use and reporting in randomised controlled trials: A guide for researchers. Research Methods in Medicine & Health Sciences, 2(1), 2-11. [DOI:10.1177/2632084320957204]
Colwell, M. J., Tagomori, H., Chapman, S., Gillespie, A. L., Cowen, P. J., & Harmer, C. J., et al. (2022). Pharmacological targeting of cognitive impairment in depression: Recent developments and challenges in human clinical research. Translational Psychiatry, 12(1), 484. [DOI:10.1038/s41398-022-02249-6] [PMID]
Fetahovic, E., Janjic, V., Muric, M., Jovicic, N., Radmanovic, B., & Rosic, G., et al. (2025). Neurobiological mechanisms of electroconvulsive therapy: Molecular perspectives of brain stimulation. International Journal of Molecular Sciences, 26(12), 5905. [DOI:10.3390/ijms26125905] [PMID]
First, M. B., Yousif, L. H., Clarke, D. E., Wang, P. S., Gogtay, N., & Appelbaum, P. S. (2022). DSM‐5‐TR: Overview of what’s new and what’s changed. World Psychiatry, 21(2), 218-219. [DOI:10.1002/wps.20989] [PMID]
Freire, T. F. V., Rocha, N. S. D., & Fleck, M. P. A. (2017). The association of electroconvulsive therapy to pharmacological treatment and its influence on cytokines. Journal of Psychiatric Research, 92, 205–211. [DOI:10.1016/j.jpsychires.2017.05.004] [PMID]
Germain, N., Rouabhia, D., Morin, M., & Archambault, P. (2023). 1625 melatonin modestly improves sleep efficiency in patients with neurocognitive disorders: A systematic review and meta-analysis. Age and Ageing, 52(Supplement_2). [DOI:10.1093/ageing/afad104.088]
Hartman, A. K., Borchardt, J. N., & Harris Bozer, A. L. (2017). Making primary literature come alive in the classroom. Journal of Undergraduate Neuroscience Education: JUNE: A Publication of FUN, Faculty for Undergraduate Neuroscience, 15(2), R24–R28. [PMID]
Hatamkhani, S., Roshan, S., & Shiva, A. (2025). Role of melatonin as an adjunctive treatment for depression and cognitive impairment in hemodialysis patients: A randomized, double-blind clinical trial. Iranian Journal of Psychiatry, 20(1), 39–47. [DOI:10.18502/ijps.v20i1.17400] [PMID]
Hopewell, S., Chan, A. W., Collins, G. S., Hróbjartsson, A., Moher, D., & Schulz, K. F., et al. (2025). CONSORT 2025 statement: updated guideline for reporting randomized trials. JAMA, 333(22), 1998–2005. [DOI:10.1001/jama.2025.4347] [PMID]
Jiang, J., Chen, Y., Lin, Z., Liu, S., Chen, X., & Chen, Q. (2025). Global, regional, and national burden of bipolar disorder, 1990-2021: Analysis of data from the global burden of disease study 2021. Journal of Affective Disorders, 389, 119638.[DOI:10.1016/j.jad.2025.119638] [PMID]
Khodamoradi, Z., Beheshti, M., & Khodamoradi, M. (2020). Construct and validity of Persian mini mental status examination in illiterate elderly. Alzheimer’s & Dementia, 16(S7), e036864. [DOI:10.1002/alz.036864]
Kim, J., & Shin, W. (2014). How to do random allocation (randomization). Clinics in Orthopedic Surgery, 6(1), 103-109. [DOI:10.4055/cios.2014.6.1.103] [PMID]
Kołodziejska, R., Woźniak, A., Bilski, R., Wesołowski, R., Kupczyk, D., & Porzych, M., et al. (2025). Melatonin-a powerful antioxidant in neurodegenerative diseases. Antioxidants, 14(7), 819. [DOI:10.3390/antiox14070819] [PMID]
McCarthy, M. J., Gottlieb, J. F., Gonzalez, R., McClung, C. A., Alloy, L. B., & Cain, S., et al. (2022). Neurobiological and behavioral mechanisms of circadian rhythm disruption in bipolar disorder: A critical multi-disciplinary literature review and agenda for future research from the ISBD task force on chronobiology. Bipolar Disorders, 24(3), 232–263. [DOI:10.1111/bdi.13165] [PMID]
Millett, C. E., Monir, F., & Sanelli, P. (2025). The role of blood-brain barrier dysfunction in cognitive impairments in bipolar disorder-a narrative review. Frontiers in Human Neuroscience, 19, 1504575. [DOI:10.3389/fnhum.2025.1504575] [PMID]
Modabbernia, A., Cohen, D. A., Taslimi, S., Ashrafi, M., & McCleery, J. (2011). Pharmacotherapies for sleep disturbances in Alzheimer’s disease. In A. Modabbernia (Ed.), Cochrane Database of Systematic Reviews. John Wiley & Sons, Ltd. [DOI:10.1002/14651858.CD009178.pub2]
Muntner, P., Shimbo, D., Carey, R. M., Charleston, J. B., Gaillard, T., & Misra, S., et al. (2019). Measurement of blood pressure in humans: A scientific statement from the American Heart Association. Hypertension, 73(5). [DOI:10.1161/HYP.0000000000000087]
Nicoloro-SantaBarbara, J., Majd, M., Miskowiak, K., Burns, K., Goldstein, B. I., & Burdick, K. E. (2023). Cognition in bipolar disorder: An update for clinicians. Focus (American Psychiatric Publishing), 21(4), 363–369. [DOI:10.1176/appi.focus.20230012] [PMID]
Porter, R. J., Baune, B. T., Morris, G., Hamilton, A., Bassett, D., & Boyce, P., et al. (2020). Cognitive side-effects of electroconvulsive therapy: What are they, how to monitor them and what to tell patients. BJPsych Open, 6(3), e40. [DOI:10.1192/bjo.2020.17] [PMID]
Riemersma-van der Lek, R. F., Swaab, D. F., Twisk, J., Hol, E. M., Hoogendijk, W. J., & Van Someren, E. J. (2008). Effect of bright light and melatonin on cognitive and noncognitive function in elderly residents of group care facilities: A randomized controlled trial. JAMA, 299(22), 2642–2655. [DOI:10.1001/jama.299.22.2642] [PMID]
Sarraf, N., Badri, T., Keshvari, N., Ghassab-sahebkar, A., Qobadighadikolaei, R., & Abbasinazari, M. (2020). Comparison of the efficacy and safety of melatonin and memantine in the alleviation of cognitive impairments induced by electroconvulsive therapy: A randomized clinical trial. Journal of Clinical Neuroscience, 74, 146-150. [DOI:10.1016/j.jocn.2020.02.011] [PMID]
Serdar, C. C., Cihan, M., Yücel, D., & Serdar, M. A. (2021). Sample size, power and effect size revisited: Simplified and practical approaches in preclinical, clinical and laboratory studies. Biochemia Medica, 31(1), 010502. [DOI:10.11613/BM.2021.010502] [PMID]
Sheikh, M., & Ammar, M. (2024). Efficacy of 5 and 10 mg donepezil in improving cognitive function in patients with dementia: A systematic review and meta-analysis. Frontiers in Neuroscience, 18, 1398952. [DOI:10.3389/fnins.2024.1398952] [PMID]
Sivamaruthi, B. S., Raghani, N., Chorawala, M., Bhattacharya, S., Prajapati, B. G., & Elossaily, G. M., et al. (2023). NF-κB pathway and its inhibitors: A promising frontier in the management of Alzheimer's disease. Biomedicines, 11(9), 2587. [DOI:10.3390/biomedicines11092587] [PMID]
Sumsuzzman, D. M., Choi, J., Jin, Y., & Hong, Y. (2021). Neurocognitive effects of melatonin treatment in healthy adults and individuals with Alzheimer’s disease and insomnia: A systematic review and meta-analysis of randomized controlled trials. Neuroscience & Biobehavioral Reviews, 127, 459-473. [DOI:10.1016/j.neubiorev.2021.04.034] [PMID]
Talbot, N. C., Luther, P. M., Spillers, N. J., Ragland, A. R., Kidder, E. J., & Kelkar, R. A., et al. (2023). Neuroprotective potential of melatonin: evaluating therapeutic efficacy in Alzheimer's and Parkinson's diseases. Cureus, 15(12), e50948. [DOI:10.7759/cureus.50948] [PMID]
Targum, S. D., Wedel, P. C., & Fava, M. (2015). Changes in cognitive symptoms after a buspirone-melatonin combination treatment for major depressive disorder. Journal of Psychiatric Research, 68, 392–396. [DOI:10.1016/j.jpsychires.2015.04.024] [PMID]
Tavares, C., Memória, C. M., da Costa, L. G. V., Quintão, V. C., Antunes, A. A., & Teodoro, D., et al. (2024). Effect of melatonin on postoperative cognitive function in elderly patients submitted to transurethral resection of the prostate under spinal anesthesia. Clinics (Sao Paulo, Brazil), 80, 100562. [DOI:10.1016/j.clinsp.2024.100562] [PMID]
Tseng, P. T., Zeng, B. Y., Chen, Y. W., Yang, C. P., Su, K. P., & Chen, T. Y., et al. (2022). The dose and duration-dependent association between melatonin treatment and overall cognition in Alzheimer's dementia: A network meta- analysis of randomized placebo-controlled trials. Current Neuropharmacology, 20(10), 1816–1833. [DOI:10.2174/1570159X20666220420122322] [PMID]
Van Den Bossche, M. J. A., Emsell, L., Dols, A., Vansteelandt, K., De Winter, F. L., & Van den Stock, J., et al. (2019). Hippocampal volume change following ECT is mediated by rs699947 in the promotor region of VEGF. Translational Psychiatry, 9(1), 191. [DOI:10.1038/s41398-019-0530-6] [PMID]
Verdijk, J. P. A. J., van Kessel, M. A., Oud, M., Kellner, C. H., Hofmeijer, J., & Verwijk, E., et al. (2022). Pharmacological interventions to diminish cognitive side effects of electroconvulsive therapy: A systematic review and meta-analysis. Acta Psychiatrica Scandinavica, 145(4), 343–356. [DOI:10.1111/acps.13397] [PMID]
Vorland, C. J., Brown, A. W., Dawson, J. A., Dickinson, S. L., Golzarri-Arroyo, L., & Hannon, B. A., et al. (2021). Errors in the implementation, analysis, and reporting of randomization within obesity and nutrition research: A guide to their avoidance. International Journal of Obesity (2005), 45(11), 2335–2346. [DOI:10.1038/s41366-021-00909-z] [PMID]
Wang, Y. Y., Zheng, W., Ng, C. H., Ungvari, G. S., Wei, W., & Xiang, Y. T. (2017). Meta-analysis of randomized, double-blind, placebo-controlled trials of melatonin in Alzheimer's disease. International Journal of Geriatric Psychiatry, 32(1), 50–57.[DOI:10.1002/gps.4571] [PMID]
Xu, J., Wang, L. L., Dammer, E. B., Li, C. B., Xu, G., & Chen, S. D., et al. (2015). Melatonin for sleep disorders and cognition in dementia: A meta-analysis of randomized controlled trials. American Journal of Alzheimer's Disease and Other Dementias, 30(5), 439–447.[DOI:10.1177/1533317514568005] [PMID]
Yaghmaei, E., Lu, H., Ehwerhemuepha, L., Zheng, J., Danioko, S., & Rezaie, A., et al. (2024). Combined use of Donepezil and Memantine increases the probability of five-year survival of Alzheimer's disease patients. Communications Medicine, 4(1), 99. [DOI:10.1038/s43856-024-00527-6] [PMID]
Zhang, Z., Xue, P., Bendlin, B. B., Zetterberg, H., De Felice, F., & Tan, X., et al. (2025). Melatonin: A potential nighttime guardian against Alzheimer’s. Molecular Psychiatry, 30(1), 237-250. [DOI:10.1038/s41380-024-02691-6] [PMID]