Does Liver Disease Cause Insomnia? The Connection Explained

Liver disease is strongly linked to insomnia and other sleep disturbances, with studies consistently showing that people with chronic liver conditions lose sleep at rates far higher than the general population. Roughly 60 to 80 percent of people with cirrhosis rate themselves as poor sleepers, and up to 42 percent meet criteria for clinical insomnia. The connection is not a single pathway but a tangle of disrupted hormones, toxic buildup in the blood, chronic inflammation, and physical symptoms that refuse to quiet down at night.

How Common Are Sleep Problems in Liver Disease

The numbers are striking and consistent across studies. One study of patients with liver cirrhosis found insomnia in 42 percent of participants, with the rate climbing to over 50 percent among those whose cirrhosis was caused by hepatitis C.1PubMed Central. Prevalence of Insomnia and Sleep Patterns among Liver Cirrhosis Patients A separate study of chronic liver disease patients found poor sleep quality in about 37 percent and insomnia specifically in about 20 percent, both significantly higher than background rates in the general population.2PubMed Central. Prevalence and correlates of poor sleep quality in chronic liver disease patients A narrative review pooling data across multiple studies placed insomnia rates in cirrhosis patients at 25 to 40 percent, with the prevalence climbing as the disease worsens.3PubMed Central. Sleep disorder in patients with chronic liver disease: a narrative review

Insomnia is not the only sleep complaint. People with liver disease also report excessive daytime sleepiness, difficulty staying asleep once they do drift off, and a flip in their sleep-wake cycle where they feel drowsy during the day but alert at night. Objective sleep studies confirm what patients describe: total nightly sleep often falls below six hours, it takes longer to fall asleep, and the deep and restorative phases of sleep are shortened.3PubMed Central. Sleep disorder in patients with chronic liver disease: a narrative review

Your Liver’s Role in Keeping Time

The liver is not just a filter. It plays a surprisingly central role in your body’s internal clock because it helps process melatonin, the hormone that signals darkness and sleepiness. In a healthy body, melatonin rises in the evening, peaks during the night, and falls by morning. When the liver is damaged, it cannot clear melatonin efficiently. The result is that melatonin levels stay elevated during the day, when they should be low, and peak much later than normal at night.

A study in Annals of Internal Medicine documented this directly: patients with cirrhosis had markedly elevated melatonin during daytime hours, and both the onset and the peak of their melatonin rise were consistently and significantly delayed.4PubMed. Disruption of the diurnal rhythm of plasma melatonin in cirrhosis This explains the classic “sleep-wake inversion” that liver disease patients describe, where night feels like day and day feels like night.

The disruption appears to have both a central and a peripheral component. The brain’s own master clock, located in the suprachiasmatic nucleus, may become less sensitive to light and dark cues. Meanwhile, poor melatonin clearance by the liver itself keeps daytime levels artificially high.5PubMed Central. Assessment and Management of Sleep Disturbance in Cirrhosis Researchers have noted, however, that melatonin disruption alone does not fully account for all the sleep problems seen in liver disease. The delayed rhythm explains why patients tend to fall asleep late and wake up late, but it does not explain the middle-of-the-night awakenings or the profoundly unrefreshing quality of sleep that many patients report.

When Ammonia Builds Up

One of the liver’s essential jobs is converting ammonia, a byproduct of protein digestion, into urea so it can be excreted. When the liver fails at this task, ammonia accumulates in the blood and eventually reaches the brain. This is the basis of hepatic encephalopathy, which in its mild form causes subtle cognitive fog and in its severe form causes confusion and even coma. Sleep disturbances are deeply tied to this process.

Researchers tested this directly by inducing elevated ammonia in cirrhosis patients through an amino acid challenge. The patients became significantly sleepier during the day, and when they did sleep, the electrical architecture of their sleep was altered in ways that pointed to a reduced ability to produce restorative rest.6PubMed. Induced hyperammonemia may compromise the ability to generate restful sleep in patients with cirrhosis In other words, ammonia does not just make you foggy during waking hours; it degrades the quality of sleep itself, so even if you do sleep, you wake up feeling unrefreshed.

The good news embedded in this finding is that properly managing hepatic encephalopathy can improve sleep. When ammonia levels come down, sleep parameters tend to follow.7PubMed Central. Sleep disturbances in patients with liver cirrhosis: prevalence, impact, and management challenges This has practical implications for treatment, which we will get to shortly.

Inflammation That Reaches the Brain

Chronic liver disease is fundamentally an inflammatory condition, and the inflammation does not stay confined to the liver. A growing body of research describes a “liver-brain inflammation axis” in which inflammatory molecules produced by the diseased liver, particularly TNF-alpha, IL-1 beta, and IL-6, travel through the bloodstream and alter how the brain functions. These signals drive what researchers call sickness behaviors: fatigue, cognitive dysfunction, mood changes, and sleep disturbances.8PubMed. Liver-brain inflammation axis

The mechanism involves changes to neurotransmitter systems, particularly serotonin and stress-hormone pathways, that help regulate sleep-wake cycles and mood. This helps explain why depression and anxiety are so common alongside insomnia in liver disease patients, and why treating only the sleep complaint without addressing the underlying inflammatory state often falls short. Candidates waiting for liver transplant illustrate this overlap vividly: higher disease severity scores correlate with worse depression, anxiety, sleep disturbance, and difficulty with daily activities.9PubMed Central. MELD Score Reflects the Mood, Sleep, and Daily Living Ability in Liver Transplantation Candidates

Physical Symptoms That Keep You Awake

Beyond the hormonal and neurochemical disruptions, liver disease produces a set of physical symptoms that are directly hostile to sleep. Two stand out.

Muscle cramps are extremely common in chronic liver disease and can be severe enough to jolt a person awake repeatedly. A nationwide study found that patients whose cramps were frequent, prolonged, or intense reported significantly worse sleep disturbance and quality of life.10PubMed. Relationship of muscle cramps to quality of life and sleep disturbance in patients with chronic liver diseases Research on cirrhosis patients specifically identified muscle cramps as one of the independent predictors of poor sleep, alongside low albumin levels and opioid use.11Gastroenterology. High Prevalence of Sleep Disturbance in Patients With Cirrhosis Underscores Its Effect on Quality of Life

Itching, known clinically as pruritus, is the other major culprit, especially in cholestatic liver diseases where bile flow is impaired. In pediatric cholestatic liver conditions, pruritus was identified as the most problematic symptom overall, and difficulty falling or staying asleep due to itch was rated the most significant impact on daily life.12PubMed Central. Development of the Patient- and Observer-Reported PRUCISION Instruments to Assess Pruritus and Sleep Disturbance in Pediatric Patients with Cholestatic Liver Diseases The itch tends to be worst at night, likely because of the body’s natural circadian variation in skin sensitivity and the absence of daytime distractions. Adults with cholestatic conditions report the same pattern.

The Sleep Apnea and Fatty Liver Overlap

The relationship between liver disease and poor sleep runs in both directions. Obstructive sleep apnea, one of the most common sleep disorders worldwide, appears to increase the risk of developing non-alcoholic fatty liver disease. The suspected mechanism involves the repeated drops in blood oxygen that happen during apnea episodes. This intermittent hypoxia promotes insulin resistance and may directly damage liver cells.13PubMed Central. Obstructive sleep apnea syndrome and fatty liver: association or causal link?

This creates a vicious cycle for some patients. Obesity raises the risk of both fatty liver disease and sleep apnea. The apnea worsens the liver disease through oxygen deprivation, while the liver disease and its metabolic consequences may further disturb sleep. If you have been diagnosed with fatty liver disease and also snore heavily or wake feeling unrested despite spending enough hours in bed, sleep apnea is worth investigating. It is one of the most treatable contributors to poor sleep in this population.

Why Common Sleep Medications Are Dangerous Here

One of the most important things to know about insomnia in liver disease is that the usual pharmacological solutions can be genuinely dangerous. Sedatives, including benzodiazepines and many over-the-counter sleep aids, are processed by the liver. When the liver is compromised, these drugs linger in the body longer and at higher concentrations than intended. More critically, sedatives are recognized precipitating factors for hepatic encephalopathy: they can push a patient from mild cognitive fog into a medical emergency.14PubMed. Complications of cirrhosis III. Hepatic encephalopathy

This means the familiar advice of “take something to help you sleep” is exactly the wrong approach for most people with significant liver disease. Antihistamines like diphenhydramine, which are the active ingredient in many drugstore sleep aids, also carry sedative risk and should be used cautiously. The constraint on medications makes non-drug approaches and targeted treatments for the underlying liver disease all the more important.

Treatments That Target the Root Causes

Because insomnia in liver disease has multiple drivers, there is no single fix. The most promising approaches work by addressing the specific mechanism that is disrupting sleep.

Managing Hepatic Encephalopathy

Since ammonia buildup degrades sleep quality, treatments that lower ammonia can yield real improvement. Lactulose, a commonly used laxative that traps ammonia in the gut and prevents its absorption, has been shown to improve sleep scores alongside improvements in cognitive function and ammonia levels in patients with minimal hepatic encephalopathy.15PubMed. Sleep disturbances in patients of liver cirrhosis with minimal hepatic encephalopathy before and after lactulose therapy Rifaximin, an antibiotic that works in the gut to reduce ammonia-producing bacteria, has been studied in patients with recurrent hepatic encephalopathy. In one study, rifaximin improved objective measures of sleep architecture, including an increase in REM sleep, though patients did not report feeling subjectively better rested on questionnaires.16European Journal of Gastroenterology & Hepatology. Improvement of sleep architecture parameters in cirrhotic patients with recurrent hepatic encephalopathy with the use of rifaximin The disconnect between what the brain recordings showed and what patients reported is a reminder that sleep quality in liver disease is driven by more than just ammonia.

Melatonin and Zinc Supplementation

Given the melatonin disruption described earlier, low-dose melatonin supplementation is a logical idea, and small trials suggest it helps. A randomized, placebo-controlled crossover trial found that melatonin seemed safe and effective for sleep disturbances in early-stage cirrhosis in the short term, though the researchers emphasized that larger and longer studies are needed before it can be broadly recommended.17PubMed Central. Low-dose melatonin for sleep disturbances in early-stage cirrhosis: A randomized, placebo-controlled, cross-over trial A separate pilot trial compared melatonin at 5 mg nightly against zinc at 50 mg nightly and found that both significantly improved sleep quality scores compared to baseline, with good tolerability in both groups.18Iranian Journal of Pharmaceutical Sciences. Melatonin versus Zinc for Sleep Disorders in Cirrhotic Patients: A Randomized Double-Blind Pilot Trial Zinc’s mechanism here likely relates to its role in ammonia metabolism; zinc deficiency is common in cirrhosis and may contribute to both encephalopathy and sleep disruption.

A word of caution: melatonin is processed by the liver, and in advanced cirrhosis where melatonin clearance is already impaired, supplementing it could theoretically worsen the timing problems. The positive trial results have mostly come from patients with early-stage disease. If you have advanced cirrhosis, this is a conversation to have with your hepatologist, not a supplement to start on your own.

When Light Therapy Falls Short

Bright light therapy is a well-established treatment for circadian rhythm disruptions in otherwise healthy people. In liver disease, the picture is less encouraging. A study of hospitalized patients with decompensated cirrhosis found that their circadian rhythms were so severely disrupted that bright light therapy showed no obvious benefit. No detectable circadian melatonin rhythm was present at baseline in the patients tested, and none developed during the light treatment.19PubMed. Sleep and circadian rhythms in hospitalized patients with decompensated cirrhosis: effect of light therapy The researchers attributed this failure to the sheer severity of the baseline disturbance. Light therapy might still be worth trying in milder disease, but in advanced cases the clock is so broken that external light cues alone cannot reset it.

Whether Sleep Improves After Liver Transplant

You might expect that replacing a failing liver would resolve the insomnia. The reality is more complicated. Some patients do experience dramatic improvement in sleep after transplant, particularly those whose sleep problems were driven primarily by ammonia or melatonin disruption. But many transplant recipients continue to report poor sleep quality even after successful surgery. Researchers looking at outpatient liver transplant recipients in China noted that ongoing sleep difficulties may be related to the side effects of immunosuppressive medications, financial stress, inability to return to normal social activities, and anxiety about disease recurrence.20PubMed Central. Sleep Quality and Psychosocial Factors in Liver Transplant Recipients at an Outpatient Follow-Up Clinic in China

This finding underscores a broader theme: insomnia in liver disease is rarely just one thing. Even when the liver itself is replaced, the psychological burden of chronic illness, the medications required to prevent rejection, and the habits formed during years of poor sleep can perpetuate the problem. Transplant recipients who continue to struggle with sleep should be screened for these contributing factors rather than assumed to be “cured” by the surgery.

What the Underlying Cause of Liver Disease Means for Sleep

Not all liver diseases disrupt sleep in the same way or to the same degree. Hepatitis C-related cirrhosis appears to carry a particularly high burden of insomnia. In one study, over half of patients with hepatitis C cirrhosis had insomnia, compared to about a third of those with hepatitis B and even fewer with other causes. After adjusting for other factors, having hepatitis C was associated with more than seven times the odds of insomnia compared to other causes of liver disease.1PubMed Central. Prevalence of Insomnia and Sleep Patterns among Liver Cirrhosis Patients Hepatitis C may contribute to this through its own inflammatory effects on the central nervous system, separate from the liver damage it causes.

Cholestatic liver diseases, where bile flow is blocked, produce their distinctive sleep problem through relentless itching that worsens at night. Alcohol-related liver disease often comes with its own complex sleep picture because alcohol itself disrupts sleep architecture, and the withdrawal and recovery process involves its own set of sleep disturbances layered on top of whatever the liver damage is doing. The point is that “liver disease” is not monolithic, and the sleep complaint can vary depending on what is actually wrong with the liver. A clinician evaluating insomnia in someone with liver disease should consider not just the severity of the liver dysfunction but also its specific cause, because the treatment approach may differ.

Practical Steps Worth Trying

Given the constraints on medication use and the multiple pathways involved, the most effective approach is usually a combination of strategies tailored to whatever is driving the sleep problem most in a given patient.

  • Track your pattern: Note whether you struggle more with falling asleep, staying asleep, or feeling unrefreshed despite adequate hours. A delayed sleep onset points more toward circadian disruption; frequent awakenings point more toward cramps, itch, or apnea; unrefreshing sleep points toward ammonia-related degradation of sleep quality.
  • Raise ammonia management: If you have any degree of hepatic encephalopathy, even mild, getting it under better control with lactulose or rifaximin may improve sleep as a downstream benefit.
  • Address cramps and itch directly: Talk to your doctor about treatments for nocturnal muscle cramps (taurine, quinine where still available and appropriate, or stretching routines) and itch (bile acid sequestrants, antihistamines with caution, or newer targeted therapies for cholestatic itch).
  • Screen for sleep apnea: Especially if you have fatty liver disease or are overweight, an overnight sleep study can identify a highly treatable contributor to poor sleep.
  • Consider melatonin carefully: Low-dose melatonin in early-stage disease shows promise, but discuss it with your hepatologist rather than self-prescribing, given the complexities of melatonin metabolism in liver disease.
  • Maintain regular light exposure: While bright light therapy has not worked in advanced disease, keeping a consistent schedule of morning sunlight and dimming lights in the evening is low-risk and may help in milder stages where some circadian sensitivity remains.

Standard sleep hygiene recommendations, like keeping your bedroom cool and dark, limiting caffeine, and avoiding screens before bed, still apply and can make a modest difference at the margins. But they rarely solve the problem on their own when the underlying physiology is this disrupted. The sleep disturbance in liver disease is fundamentally a medical symptom, not a lifestyle habit, and treating it effectively usually requires treating the liver disease itself alongside any sleep-specific interventions.