Skip to main content
General practice·General practice

Metabolic Encephalopathy

Overview

Metabolic encephalopathy is a temporary problem with how the brain works. It happens when the body's chemistry is out of balance — for example, when the liver, kidneys, blood sugar, oxygen levels, or salt levels in the blood are not normal. 'Metabolic' means the chemical processes your body uses to turn food into energy and keep things running. 'Encephalopathy' is a general word for the brain not working properly. The brain itself is usually not damaged. Instead, it is being affected by a problem elsewhere in the body, a bit like a computer that is fine but is getting an unstable power supply. When the underlying problem is found and treated, the confusion often improves.

Key facts

  • Metabolic encephalopathy is caused by a body-wide problem (such as liver or kidney trouble, low blood sugar, low oxygen, or an infection), not by a direct injury to the brain.
  • The most common sign is sudden or worsening confusion, often with sleepiness, changes in mood, or trouble concentrating.
  • It is usually reversible when the cause is treated quickly, but it needs medical attention because it can become serious.
  • It is different from dementia: dementia develops slowly over months or years, while this kind of confusion usually comes on over hours or days.

It is fairly common, especially in hospitals. Many people who are admitted with a serious infection, liver or kidney problems, or poorly controlled diabetes will have some degree of it. It is one of the most frequent reasons an older person suddenly becomes confused.

It can affect anyone at any age, but it is most often seen in people who already have liver disease, kidney disease, diabetes, thyroid problems, alcohol dependence, or a severe infection. Older adults, people who are malnourished, and people taking several medicines are more vulnerable. Babies and young children can also be affected, especially with low blood sugar or severe dehydration.

Symptoms

Call emergency services immediately if you notice:
  • You cannot wake the person, or they are very difficult to rouse
  • A fit (seizure) or convulsion
  • Trouble breathing, very fast breathing, or lips turning blue
  • Sudden weakness, drooping of the face, or slurred speech that could be a stroke
  • A severe headache that came on suddenly
  • The person is violently agitated or is a danger to themselves or others
  • Vomiting blood, or black tarry stools
See a doctor urgently (same day) if you notice:
  • ⚠New or worsening confusion, especially if it started suddenly
  • ⚠Being much more sleepy or drowsy than usual
  • ⚠Repeated vomiting, or signs of dehydration such as a dry mouth, dark urine, or dizziness on standing
  • ⚠A fever with confusion
  • ⚠Shaking or trembling of the hands that is new
  • ⚠Not eating or drinking, or a child who is not feeding

Common symptoms

  • Confusion or difficulty thinking clearly
  • Trouble concentrating or following a conversation
  • Feeling unusually sleepy, drowsy, or slow
  • Memory problems, especially for recent events
  • Changes in personality or mood — being irritable, withdrawn, or unusually quiet
  • Slurred speech or trouble finding words
  • Poor coordination, unsteadiness, or a shaky tremor of the hands
  • Daytime sleepiness with poor sleep at night, or the day and night being mixed up
  • In some cases, feeling restless, agitated, or seeing things that are not there

Symptoms in children

  • Being unusually sleepy, floppy, or hard to wake
  • Being very irritable or crying in an unusual way
  • Poor feeding or refusing feeds
  • Vomiting, especially repeatedly
  • Fast breathing or grunting
  • A change in behaviour or unusual lack of interest
  • A fit (seizure) — this needs emergency help

Symptoms in older adults

  • Sudden confusion that comes on over hours or days — this is often the first and only sign
  • Being more withdrawn or quieter than usual
  • Not recognising familiar people or places
  • New problems with walking, or more falls than usual
  • Poor appetite or not drinking enough
  • Sleeping much more in the day and being awake at night
  • Behaviour that seems out of character, such as agitation or suspiciousness

Causes

Main causes

  • Liver problems — the liver cannot clear waste products, which then build up and affect the brain
  • Kidney failure — waste products build up in the blood
  • Blood sugar that is too low or much too high
  • Not enough oxygen reaching the brain, for example from heart or lung problems
  • Salt and mineral imbalances in the blood, such as low or high sodium
  • Severe infection (sepsis) anywhere in the body
  • Thyroid hormone levels that are too low or too high
  • Alcohol-related problems, including heavy drinking and alcohol withdrawal
  • Dehydration or severe malnutrition
  • Side effects of or reactions to some medicines, especially in people taking several
  • A build-up of carbon dioxide in the blood from lung disease

Risk factors

  • Already having liver disease, kidney disease, diabetes, or thyroid disease
  • Being an older adult
  • Alcohol dependence
  • Long-term poor diet or malnutrition
  • Dehydration, for example during hot weather or illness
  • Taking many medicines at once
  • A recent infection or recent surgery
  • Being frail or having several long-term health conditions

When to see a doctor

See a doctor urgently if:

  • You or someone you care for becomes confused suddenly or over a day or two
  • Unusual sleepiness, or difficulty staying awake
  • Vomiting that will not stop, or not being able to keep fluids down
  • A fever together with confusion
  • New shaking of the hands or unsteady walking

Book a routine appointment if:

  • You have a long-term liver, kidney, thyroid, or diabetes condition and notice changes in concentration, mood, or sleep
  • You have had episodes of confusion before and want to know what to watch for
  • You are taking several medicines and feel foggy or slowed down
  • A family member has noticed gradual changes in your memory or alertness
Sudden confusion is always worth checking, but it does not automatically mean something serious is happening. Many causes are found quickly with simple tests and improve once treated. If you are worried, it is always reasonable to ask for help — you are not wasting anyone's time.

Diagnosis

A doctor will start by talking to you and, if possible, to someone who knows you well, because they can describe how your thinking and behaviour have changed. They will do a physical and neurological examination and check your alertness, memory, and coordination. The key to diagnosis is finding the underlying cause, so most of the work involves blood and urine tests and sometimes scans. A common question is whether this is dementia or delirium — delirium is the medical word for sudden confusion, and it comes on quickly, whereas dementia usually develops slowly. If there is any doubt, the doctor may suggest checking again in a few days or weeks.

Tests that may be done

  • Blood tests to check liver and kidney function, blood sugar, salt levels, thyroid hormones, and signs of infection
  • A urine test to look for infection or kidney problems
  • A blood oxygen measurement (a small clip on the finger) and sometimes a blood gas test
  • An ECG (heart tracing) to check the heart rhythm
  • A CT or MRI scan of the head to rule out a stroke, bleeding, or other brain problems
  • A chest X-ray if there might be a lung infection
  • Occasionally an EEG (a painless recording of brain-wave activity)

What to expect at your appointment

Most people have a set of blood tests and a general examination, and sometimes a scan. Results for the main blood tests usually come back the same day, though some tests take longer. You may be asked to bring a list of all medicines you take, including anything bought over the counter. In hospital, staff may check your alertness a few times a day to see whether things are improving. Being told that someone you care for is confused can be worrying, so ask questions and ask staff to explain what they are looking for.

Treatment

Treatment focuses on finding and fixing the underlying problem, because the brain itself is not usually damaged. In most cases this means supporting the person while tests are done and treating the cause. Many people improve within days once the cause is corrected, though some take longer, especially if they are older or already unwell.

Self-care at home

  • Drink enough fluids, especially during illness or hot weather
  • Eat regular meals and avoid long gaps without food if you have diabetes
  • Take your medicines exactly as prescribed and ask your pharmacist to review them if you feel foggy
  • Avoid drinking too much alcohol
  • Keep appointments for checking long-term conditions such as liver, kidney, or thyroid problems
  • Get help early if you develop an infection, vomiting, or diarrhoea
  • Arrange for someone to check on you if you live alone and have a condition that can cause confusion

Medical treatments

Doctors treat the cause. That might mean giving fluids and minerals through a drip, correcting blood sugar levels, giving oxygen, or treating an infection. If the liver or kidneys are the problem, treatment aims to support that organ, and in kidney failure a machine may be used to filter the blood. Any medicine that may be contributing is usually reviewed and possibly stopped or changed. People who are very drowsy or agitated may need calm, quiet surroundings, help with orientation (such as a clock, familiar faces, and clear explanations), and close monitoring. Doctors never simply treat the confusion itself — they treat what is driving it. You should not start, stop, or change any medicine without speaking to your doctor or pharmacist.

When is surgery considered?

Surgery is not a treatment for metabolic encephalopathy itself. Occasionally an operation may be needed for the underlying cause — for example, treating an infection or a problem with a dialysis access point — but most people do not need surgery.

Living with this condition

Recovery can take days to a few weeks, and it is common to feel mentally tired or foggy for a while afterwards. Try to keep days structured, with meals, light activity, and a regular bedtime. Keep familiar things around you, such as a clock and a calendar, and let family or carers know what helps you feel orientated. If you have an ongoing condition such as liver or kidney disease, the risk of confusion returning is higher during infections or dehydration, so plan ahead with your care team.

Lifestyle tips

  • Keep a simple daily routine with regular meals, fluids, and sleep times
  • Avoid alcohol or keep well within any limits your doctor advises
  • Ask your pharmacist for a medicine review if you take several medicines
  • Have a plan for what to do if you become unwell with vomiting or diarrhoea
  • Keep a note of any early warning signs you noticed last time, so you can act sooner
  • Involve family or friends in noticing changes, since they often spot them first

Diet and exercise

Eat regular, balanced meals and drink fluids steadily through the day rather than in large amounts at once. If you have liver or kidney disease or diabetes, you may have been given specific dietary advice — follow the plan your own team gave you rather than general advice online. Gentle activity such as short walks, once you feel steady on your feet, helps sleep and mood. Build up slowly, and stop if you feel dizzy or unwell.

Mental health and emotional wellbeing

A spell of confusion can be frightening for the person who had it and for those who watched. It is normal to feel anxious, embarrassed, or low afterwards, and some people have vivid memories or worries about it. Talk to your doctor if low mood, worry, or poor sleep lasts more than a couple of weeks or affects daily life. If you or someone you care for has thoughts of self-harm or suicide, contact your local emergency number or a local crisis support line straight away, and stay with the person until help arrives.

Prevention

It cannot always be prevented, but the risk can be lowered by managing long-term conditions well, staying hydrated, eating regularly, avoiding heavy alcohol use, and getting prompt treatment for infections. If you have had it before, knowing your early warning signs and acting quickly can make a real difference.

Vaccines

There is no vaccine for metabolic encephalopathy itself. However, staying up to date with recommended vaccinations — including those for flu, pneumonia, and hepatitis where relevant to you — helps prevent the infections that can trigger it. Ask your GP or pharmacist which vaccinations are recommended for you.

Screening programmes

There is no screening test for metabolic encephalopathy. Instead, regular monitoring of long-term conditions such as liver disease, kidney disease, diabetes, and thyroid disease helps catch problems before the brain is affected.

Complications

If left untreated

  • Worsening confusion and drowsiness, possibly leading to coma
  • Fits (seizures)
  • Falls and injuries, especially in older adults
  • Chest infections from difficulty swallowing or coughing
  • Dehydration and poor nutrition
  • In rare cases, lasting problems with memory or thinking
  • Serious harm to the underlying organ problem if it is not treated

Long-term outlook

The outlook is generally good when the cause is found and treated early. Most people recover fully, although it can take days or sometimes a few weeks to feel back to normal, and older people may take longer. Some people have episodes again if their underlying condition flares up, so follow-up and good management of long-term conditions matter. If you are worried about recovery or notice changes that are not improving, speak to your doctor — there is usually more that can be done to help.

Find support

External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.

Always verify with your doctor

Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.

Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.

Related conditions

Sources and guidance

No guideline names this topic

No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.

Last updated: October 24, 2026

Educational note: This information is for education only and is not a diagnosis.

Use it to support, not replace, advice from a licensed clinician.

If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.

Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.

Questions about this article