Dozens of medications and recreational substances can cause memory loss, and they do so through a handful of distinct brain mechanisms. The most common culprits are benzodiazepines, anticholinergic drugs, alcohol, cannabis, general anesthetics, and certain anti-seizure medications. Some block the brain’s ability to form new memories in the moment; others, taken over years, raise the long-term risk of dementia. Understanding which drugs affect memory, and how, can help you have better conversations with your doctor and make more informed choices about what you put in your body.
The Hippocampus Is the Common Target
Almost every drug that causes memory loss acts, directly or indirectly, on the hippocampus, a seahorse-shaped structure deep in the brain responsible for converting short-term experiences into lasting memories. Drugs do not usually erase memories you already have. Instead, they prevent the hippocampus from encoding new information. That is why the classic experience is waking up the next day and having no recollection of what happened while the drug was active, while older memories remain perfectly intact.
The hippocampus depends heavily on a few chemical signaling systems: acetylcholine, glutamate (acting through NMDA receptors), and GABA. Drugs that boost GABA activity tend to quiet the hippocampus down too much. Drugs that block acetylcholine starve it of a key signal. Drugs that interfere with glutamate disrupt the strengthening of connections between neurons that underlies learning. These three pathways account for the vast majority of drug-induced memory problems, and each drug category maps onto one of them.
Benzodiazepines
Benzodiazepines like diazepam, lorazepam, and midazolam are among the most reliable memory-erasing drugs known. They are prescribed for anxiety, insomnia, and seizures, but they carry a well-documented side effect: anterograde amnesia, or the inability to form new memories while the drug is active.1PubMed Central. Benzodiazepine-induced anterograde amnesia: detrimental side effect to novel study tool You can hold a conversation, follow instructions, and appear fully awake, yet have no memory of any of it afterward.
Benzodiazepines work by enhancing the effect of GABA, the brain’s main inhibitory neurotransmitter, at GABA-A receptors. When GABA activity increases in the hippocampus, the neural circuits responsible for laying down new memories are essentially turned down. This is why midazolam is used deliberately before medical procedures: physicians want patients to be calm and cooperative but also to have no memory of what can be an unpleasant experience. The amnesia is not an accident in that context; it is the point.
Research into the specific receptor subtypes involved has shown that the amnesia depends on particular GABA-A receptor subunits concentrated in the hippocampus and amygdala.1PubMed Central. Benzodiazepine-induced anterograde amnesia: detrimental side effect to novel study tool That finding has driven interest in designing next-generation anti-anxiety drugs that could deliver the calming effect without the memory blackout, though none have reached the market yet.
Anticholinergic Medications
This is the category that surprises most people, because anticholinergic drugs are everywhere. The label covers a broad range of medications used for overactive bladder, allergies, depression, Parkinson’s disease, and more. Common names include oxybutynin, diphenhydramine (the active ingredient in many over-the-counter sleep aids), amitriptyline, and certain older antipsychotics. What they share is a tendency to block acetylcholine, the neurotransmitter the hippocampus relies on for encoding memories.
Short-term, anticholinergics can cause noticeable mental fog, forgetfulness, and confusion, especially in older adults. Long-term, the picture is more worrying. A large study following thousands of older adults for an average of about seven years found that those with the highest cumulative exposure to strong anticholinergics had roughly a 54% higher risk of developing dementia compared to non-users.2PubMed Central. Cumulative Use of Strong Anticholinergic Medications and Incident Dementia The risk increased in a dose-response fashion: the more total anticholinergic medication a person had taken over time, the higher their dementia risk.
A separate large case-control study confirmed this pattern and broke it down by drug class. The strongest dementia risk associations were with anticholinergic antipsychotics, bladder medications, and antidepressants, all at high cumulative doses over years of use.3JAMA Internal Medicine. Anticholinergic Drug Exposure and the Risk of Dementia: A Nested Case-Control Study A review of the literature found that people using anticholinergics at the minimum effective dose for older adults for at least three years were at highest risk.4PubMed Central. Anticholinergic medication use and dementia: latest evidence and clinical implications
The practical takeaway is worth emphasizing: many people take anticholinergic drugs without realizing it, especially over-the-counter allergy and sleep medications. If you are over 65 or care for someone who is, it is worth reviewing all medications with a pharmacist to check for hidden anticholinergic burden. Alternatives with less anticholinergic activity often exist.
Alcohol and Blackouts
Alcohol is probably the most widely experienced memory-disrupting substance. Its effect on memory follows a clear dose curve: a drink or two might slightly impair recall, but heavy or rapid drinking can produce full blackouts where hours of experience vanish completely.5PubMed Central. What happened? Alcohol, memory blackouts, and the brain
These blackouts come in two forms. Fragmentary blackouts leave you with scattered, patchy memories that can sometimes be triggered by reminders. En bloc blackouts wipe out a continuous stretch of time with no recovery possible, no matter how many cues you receive. In both cases, the mechanism is the same: alcohol suppresses activity in the hippocampus, preventing new long-term memories from forming. Previously stored memories remain intact, and you can still hold new information in mind briefly, which is why a blacked-out person can carry on conversations and navigate their surroundings in the moment.5PubMed Central. What happened? Alcohol, memory blackouts, and the brain
Speed of consumption matters as much as total amount. Gulping drinks on an empty stomach causes blood alcohol to spike rapidly, and it is the rapid rise, not just the peak level, that most reliably triggers blackouts. Women tend to experience blackouts at lower quantities of alcohol than men, partly because of differences in body water content and metabolism.
Cannabis
THC, the psychoactive compound in marijuana, impairs short-term memory during intoxication. You might lose track of what you were saying mid-sentence or struggle to recall something that happened minutes ago. This effect is mediated by CB1 receptors in the hippocampus. Animal research has shown that blocking CB1 receptors specifically within the hippocampus completely prevents THC’s memory-disrupting effects, while leaving its other properties like pain relief and sedation untouched.6Neuropsychopharmacology. Hippocampal CB(1) receptors mediate the memory impairing effects of Delta(9)-tetrahydrocannabinol This tells us the memory impairment is not a general brain-wide sedation but a regionally specific disruption of the hippocampus.
The good news for occasional users is that cannabis-related memory impairment appears to be largely acute, meaning it fades once the drug clears your system. Whether very heavy, long-term use causes lasting memory problems is still debated, with some studies suggesting subtle deficits in heavy daily users that persist for weeks after quitting, and others showing full recovery after extended abstinence.
General Anesthetics and Sedatives
If you have ever undergone surgery, you have experienced drug-induced amnesia firsthand. General anesthetics produce a state of unconsciousness that includes profound memory suppression. Both inhaled anesthetics (sevoflurane, isoflurane) and intravenous agents (propofol, ketamine) achieve this, though through somewhat different pathways involving GABA receptors, NMDA receptors, and broader disruptions to brain connectivity.7PubMed. Effects of volatile and intravenous anesthetics on postoperative cognitive dysfunction: a mechanistic review
Most people recover full cognitive function within days or weeks of surgery. However, some patients, especially older adults, experience a lingering condition known as postoperative cognitive dysfunction, where memory and concentration remain impaired for months. This is more common after longer procedures and in people who already had some cognitive decline before surgery. Research is actively investigating whether the anesthetics themselves cause this or whether inflammation from the surgery is the bigger driver.7PubMed. Effects of volatile and intravenous anesthetics on postoperative cognitive dysfunction: a mechanistic review
Ketamine
Ketamine deserves special mention because it is both a clinical anesthetic and an increasingly common recreational drug. It blocks NMDA receptors, which are critical for synaptic plasticity, the process by which the brain strengthens connections during learning. At sub-anesthetic doses, ketamine impairs both working memory and the encoding of new episodic memories.8PubMed Central. Revealing past memories: proactive interference and ketamine-induced memory deficits Users often describe a dreamy, dissociated state in which events feel distant and hard to hold onto. At higher doses, the experience can escalate into the “k-hole,” a state of near-total dissociation from reality and near-complete amnesia for the episode.
Z-Drugs
Zolpidem (Ambien) and similar “Z-drugs” prescribed for insomnia work on the same GABA-A receptors as benzodiazepines, though they are more selective. They can produce anterograde amnesia, and the unusual part is what people sometimes do during the memory gap. Case reports document sleepwalking, sleep-eating, and even sleep-driving on zolpidem, with the person having no memory of any of it the next morning.9PubMed Central. Zolpidem-induced sleepwalking, sleep related eating disorder, and sleep-driving: fluorine-18-flourodeoxyglucose positron emission tomography analysis, and a literature review of other unexpected clinical effects of zolpidem These episodes are rare but well-documented enough that the FDA has added boxed warnings to zolpidem’s labeling.
GHB and Drug-Facilitated Amnesia
Gamma-hydroxybutyric acid (GHB) is both a prescription treatment for narcolepsy and a notorious club drug sometimes used to facilitate assault. Its memory effects are severe. In a survey of recreational users, all 51 regular users reported anterograde amnesia during use, and a substantial proportion reported impaired memory or “passing out” within hours of ingestion.10PubMed Central. Neurology Cognitive Impairment Following Clinical or Recreational Use of Gammahydroxybutyric Acid (GHB): A Systematic Review GHB enhances GABA-B receptor activity and also affects dopamine and other systems, producing sedation, disinhibition, and dense amnesia that makes it difficult for victims of drug-facilitated assault to reconstruct what happened to them.
Because GHB is rapidly metabolized, it is often undetectable in blood or urine by the time a victim seeks help, which compounds the forensic challenges. The combination of total amnesia plus rapid clearance is what makes it particularly dangerous in criminal contexts.
Anti-Seizure Medications
Topiramate stands out among anti-seizure drugs for its cognitive side effects. Patients sometimes call it “dopamax” because of how foggy it makes them feel. The drug impairs multiple cognitive domains, including language, attention, and memory. Research has shown that each unit increase in topiramate blood concentration is associated with a measurable decline in working memory accuracy, with a roughly 3.6% drop per microgram per milliliter of drug in the blood.11PubMed Central. Severity of Topiramate-Related Working Memory Impairment is Modulated by Plasma Concentration and Working Memory Capacity People who start with lower baseline working memory capacity are hit hardest, which means the drug disproportionately affects those who can least afford to lose cognitive ground.
Topiramate is widely prescribed not just for epilepsy but also for migraines and weight loss. If you are on it and notice your memory slipping, that is a recognized side effect, and alternatives with fewer cognitive costs exist for most of its indications.
Scopolamine and the “Memory-Loss Model”
Scopolamine, a drug derived from plants in the nightshade family, blocks muscarinic acetylcholine receptors and is used clinically to prevent motion sickness (the patch you wear behind your ear on a cruise ship). In research settings, it is so reliably memory-impairing that scientists use it as a standard experimental model for memory loss. A systematic review and meta-analysis found that scopolamine impaired performance on every type of memory task tested, including immediate recall, delayed recall, digit span, and recognition memory.12PubMed Central. The effect of scopolamine on memory and attention: a systematic review and meta-analysis At clinical doses for motion sickness, these effects are mild. At higher doses, such as those encountered in cases of poisoning or criminal misuse, the amnesia can be total.
Scopolamine also serves as a bridge to understanding the anticholinergic drugs discussed earlier. Both scopolamine and the anticholinergic medications in your medicine cabinet impair memory through the same fundamental mechanism: blocking acetylcholine. The difference is that scopolamine does it dramatically and acutely, while the everyday anticholinergics do it slowly and cumulatively over months and years.
Why Some People Lose More Memory Than Others
You have probably noticed that some people black out from alcohol more easily, or feel more foggy on a medication, than others at the same dose. Part of this is body size, metabolism, and age. Older adults are more vulnerable to drug-induced cognitive effects across the board because the brain becomes less resilient and drugs tend to linger longer in the body.
But genetics also plays a role. Research on the BDNF gene, which produces a protein essential for neural plasticity and memory, has identified a common variant called Val66Met. People who carry the Met version of this gene tend to perform worse on memory tasks to begin with and show different brain responses to interventions that challenge memory function.13PubMed Central. The brain-derived neurotrophic factor (BDNF) gene Val66Met polymorphism affects memory performance in older adults Further research has shown that this same genetic variant modulates how strongly experimental memory disruption (using brain stimulation) affects a person’s recall, and how the brain reorganizes in response.14Scientific Reports. BDNF Val66Met gene polymorphism modulates brain activity following rTMS-induced memory impairment The implication is that your baseline genetic makeup partly determines how much a given drug will affect your memory. Pharmacogenomic testing is not yet routine for this purpose, but the science is moving in that direction.
When Doctors Want You to Forget
Drug-induced amnesia is not always an unwanted side effect. Anesthesiologists rely on it during procedures, and researchers have explored whether targeted amnesia could help treat conditions like PTSD. The idea is elegant: if you reactivate a traumatic memory and then administer a drug that disrupts the re-storage process (called reconsolidation), you might weaken the emotional charge of that memory.
Propranolol, a beta-blocker that dampens the adrenaline response, has been the most studied drug for this purpose. A small pilot study found that PTSD patients who underwent weekly sessions of traumatic memory reactivation under propranolol showed reduced amygdala activation and significant symptom improvement.15PubMed. Emotional face processing in post-traumatic stress disorder after reconsolidation impairment using propranolol: A pilot fMRI study However, a systematic review and meta-analysis of the broader evidence found that propranolol did not show a clear beneficial effect on overall PTSD symptoms, leading the authors to conclude there was not yet enough evidence to recommend routine clinical use.16PubMed. Effects of propranolol on the modification of trauma memory reconsolidation in PTSD patients: A systematic review and meta-analysis The concept of therapeutic forgetting remains promising but unproven.
Telling Drug-Induced Memory Loss from Something Else
Not every episode of sudden memory loss is caused by a drug. A condition called transient global amnesia produces hours of profound anterograde amnesia, usually in middle-aged or older adults, with complete recovery afterward. A 14-year retrospective study of 142 cases initially diagnosed as transient global amnesia found that nine patients actually had something else going on entirely, including strokes, seizures, and drug-induced amnesia from substances like amphetamines, marijuana, or alcohol.17BMJ Publishing Group Ltd. Exploring transient global amnesia: a 14-year retrospective study of 142 cases The overlap matters because treatment differs dramatically depending on the cause.
If you or someone you know experiences a sudden episode of not being able to remember recent events, the first questions any clinician will ask include what medications were taken, whether any recreational substances were used, and when the episode started. Keeping an accurate medication list, including over-the-counter drugs and supplements, makes this triage faster and more accurate. Many people do not think of their nightly diphenhydramine or their bladder medication as something that could affect their brain, but as the anticholinergic evidence shows, those “harmless” pills can quietly erode memory over time.