Mental Confusion Causes: From Dehydration to Stroke

Mental confusion can stem from dozens of causes, ranging from something as simple as dehydration to something as urgent as a stroke. In most cases, confusion signals that the brain isn’t getting what it needs to function: adequate oxygen, stable blood sugar, the right balance of electrolytes, or enough sleep. Pinpointing the cause matters because some triggers resolve on their own while others require immediate medical attention.

Low Blood Sugar

Your brain runs almost entirely on glucose, so when blood sugar drops, thinking is one of the first things to suffer. A fasting blood sugar at or below 70 mg/dL is generally considered the threshold for hypoglycemia. At that level, you might feel shaky or sweaty. As it drops further, confusion sets in: difficulty completing routine tasks, unusual behavior, and trouble forming sentences. People with diabetes who use insulin are most at risk, but skipping meals, heavy alcohol use, and intense exercise can also push blood sugar low enough to cloud your thinking.

Dehydration

Even mild dehydration affects the brain. Research from Penn State found that adults whose blood concentration rose above a specific hydration threshold experienced a measurable drop in their ability to sustain attention. You don’t need to be visibly parched for this to happen. Older adults are especially vulnerable because the thirst signal weakens with age, and common medications like diuretics increase fluid loss. If someone seems confused on a hot day or after an illness involving vomiting or diarrhea, dehydration is one of the first things to consider.

Electrolyte Imbalances

Sodium and calcium are two electrolytes that directly influence how brain cells communicate. When sodium drops too low, a condition called hyponatremia, water shifts into brain cells and causes swelling. The result can range from mild fogginess to seizures, depending on how quickly the levels fall. This commonly happens in older adults taking certain blood pressure medications, or in anyone who drinks excessive amounts of water without replacing electrolytes.

High calcium is another common culprit. Calcium levels above 12 mg/dL are considered very high, and levels above 14 mg/dL are severe. At those concentrations, confusion and altered mental status are typical. Overactive parathyroid glands and certain cancers are the most frequent causes of dangerously elevated calcium.

Infections, Especially Urinary Tract Infections

In younger adults, a urinary tract infection usually announces itself with burning, urgency, and frequency. In older adults, the first and sometimes only sign is sudden confusion. This catches many families off guard. The mechanism involves inflammation: a UTI triggers an immune response that disrupts the balance of chemical messengers in the brain, leading to disorientation, agitation, or drowsiness that can look like dementia appearing overnight.

Severe infections of any kind can affect the brain in a similar way. When an infection spreads to the bloodstream and triggers sepsis, the resulting widespread inflammation can cause significant mental status changes. Age is one of the strongest predictors of who develops brain-related complications from sepsis, along with factors like sodium imbalances and overall organ function.

Medications

A large category of drugs called anticholinergics are well-known for causing confusion, particularly in older adults. These medications block a brain chemical involved in memory and attention. The list includes some over-the-counter antihistamines like diphenhydramine (the active ingredient in Benadryl), older antidepressants, overactive bladder medications, and certain drugs used for Parkinson’s disease. Problems with short-term memory, reasoning, and confusion lead the list of their side effects.

Safer alternatives often exist. Newer antihistamines like loratadine (Claritin) don’t cross into the brain as readily. For depression, SSRIs are generally a better choice than older tricyclic antidepressants when cognitive side effects are a concern. If you or a family member developed new confusion after starting a medication, that timing is worth flagging. Sedatives, opioid painkillers, and sleep aids are other frequent offenders.

Sleep Deprivation

Most people underestimate how profoundly sleep loss impairs thinking. Staying awake for 24 hours produces cognitive impairment equivalent to a blood alcohol concentration of 0.10%, which meets the threshold for mild intoxication. That level of impairment doesn’t just make you sleepy. It degrades reaction time, decision-making, and the ability to process new information. Chronic partial sleep loss, getting five or six hours a night over weeks, accumulates a similar deficit. The confusion from sleep deprivation typically resolves with adequate rest, but while it lasts, it can mimic more serious conditions.

Thyroid Problems

An underactive thyroid slows down virtually every system in the body, including the brain. People with hypothyroidism frequently describe “brain fog,” which includes forgetfulness, difficulty focusing, and a general sense that thinking requires more effort than it should. These symptoms are closely tied to fatigue, and the two together can significantly impact daily life. Thyroid hormone replacement therapy often improves cognitive symptoms, though brain fog can sometimes persist even after blood levels return to the normal range.

Vitamin B12 Deficiency

B12 plays a critical role in maintaining the protective coating around nerve fibers and in producing the chemicals your brain uses to think and regulate mood. When levels drop too low, neurological symptoms emerge: tingling in the hands and feet, difficulty with balance, and cognitive impairment that can include confusion and memory loss. Older adults, people who follow strict vegan diets, and those with digestive conditions that impair absorption are most at risk. Interestingly, recent research from UCSF suggests that even people with B12 levels technically in the normal range may not be fully protected against neurological decline, meaning the current minimum threshold may be set too low.

Stroke

Sudden confusion is one of the hallmark warning signs of a stroke. The CDC lists it alongside trouble speaking, difficulty understanding speech, sudden numbness or weakness (especially on one side of the body), vision problems, trouble walking, and a severe headache with no known cause. What distinguishes stroke-related confusion from other causes is how abruptly it appears and the presence of other focal symptoms.

The F.A.S.T. test is the quickest way to screen for a stroke: ask the person to smile and check if one side of the face droops, ask them to raise both arms and see if one drifts downward, and ask them to repeat a simple phrase to check for slurred or strange speech. If any of these signs are present, call emergency services immediately. Note the exact time symptoms started, because that information directly affects which treatments are available.

Other Common Causes

Several additional conditions can cause confusion that doesn’t fit neatly into the categories above. Head injuries, even seemingly minor ones, can cause confusion that lasts hours to days. Alcohol and recreational drugs are obvious triggers, but withdrawal from alcohol or benzodiazepines can also produce severe confusion and is potentially dangerous. Liver or kidney failure allows toxins to build up in the blood that the brain is sensitive to. Carbon monoxide exposure in homes with faulty heating systems is a sometimes overlooked cause, especially when multiple household members feel confused or “off” at the same time.

High fevers from any cause can temporarily impair thinking, particularly in children and older adults. Extreme pain can also fragment concentration and awareness enough to look like confusion to an outside observer. And in some cases, severe anxiety or panic attacks produce a dissociative state that people describe as confusion, though the underlying brain function is intact.

When confusion comes on suddenly, involves someone over 65, follows a fall or head injury, or is accompanied by fever, weakness on one side of the body, or difficulty breathing, those are situations that warrant urgent evaluation. When it’s milder and more gradual, causes like medication side effects, poor sleep, nutritional deficiencies, and thyroid dysfunction are worth exploring first.