Peeing in your sleep, known medically as nocturnal enuresis, means your body is producing urine faster than your bladder can hold it, your bladder is contracting when it shouldn’t, or your brain isn’t waking you up in time to get to the bathroom. It affects more adults than most people realize, and while it can be embarrassing, it almost always has a treatable underlying cause.
The condition falls into two categories. Primary nocturnal enuresis means you’ve had episodes of bedwetting since childhood and never fully outgrew them. Secondary nocturnal enuresis means you were dry for years and the problem started (or restarted) in adulthood. Secondary enuresis is particularly important to investigate because it often signals a new medical issue that needs attention.
Why Your Body Overproduces Urine at Night
Your body normally releases more antidiuretic hormone (ADH) while you sleep. This hormone tells your kidneys to slow down and produce less urine overnight, so your bladder doesn’t fill up before morning. In some people, this nighttime surge in ADH is blunted or absent entirely. Without that hormonal signal, the kidneys keep producing urine at daytime rates, and the bladder fills beyond its capacity while you’re asleep.
This pattern of excess nighttime urine production is one of the most common drivers of adult bedwetting, and it’s often the explanation for people who had the problem as children and never fully stopped.
Sleep Apnea as a Hidden Cause
Obstructive sleep apnea is one of the most overlooked causes of nighttime urination and bedwetting. When your airway collapses during sleep, the effort of trying to breathe against a blocked passage creates strong negative pressure inside your chest. Your heart misreads this pressure change as a sign of fluid overload and releases a hormone called atrial natriuretic peptide (ANP). That hormone does exactly what the name suggests: it tells your kidneys to dump sodium and water, ramping up urine production at the worst possible time.
ANP also suppresses the very hormones that would normally slow your kidneys down overnight, including ADH. The result is a double hit: more urine being made and fewer signals telling the kidneys to stop. If you snore heavily, wake up feeling unrefreshed, or have been told you stop breathing in your sleep, this connection is worth exploring. Treating the apnea often resolves the bedwetting entirely.
Bladder Problems That Cause Leakage
Sometimes the issue isn’t how much urine your body makes but how your bladder handles it. Overactive bladder is a condition where the bladder muscle contracts involuntarily during filling, creating sudden, intense urgency. During sleep, these contractions can empty the bladder before your brain registers what’s happening. In one study of women with overactive bladder and incontinence (average age 64), nearly half also experienced nighttime bedwetting episodes, with the majority of those cases classified as severe.
In men, an enlarged prostate can contribute by partially blocking the flow of urine out of the bladder. Over time, this obstruction changes the bladder muscle itself, making it thicker and more prone to involuntary contractions. The combination of incomplete emptying and an irritable bladder wall sets the stage for nighttime leakage.
Medical Conditions Worth Investigating
Diabetes is a common culprit. Persistently high blood sugar increases urine output on its own, but it also damages the nerves and blood vessels that control bladder function. People with diabetes are more likely to experience both urgency incontinence and urinary tract infections, either of which can trigger or worsen nighttime accidents. Bladder infections irritate the bladder lining, making it contract more frequently, and these infections are more common when blood sugar runs high.
Neurological conditions that affect the spinal cord or brain, including multiple sclerosis, Parkinson’s disease, spinal injuries, and stroke, can disrupt the signals between your bladder and brain. When those communication pathways are impaired, your bladder may empty reflexively without your awareness during sleep.
Medications That Increase Risk
Several common medications can contribute to bedwetting, and this is one of the most fixable causes. Diuretics (water pills) prescribed for blood pressure or heart conditions increase urine production directly. If you take them in the evening, the effect peaks while you’re asleep.
Sedatives and muscle relaxants, including drugs like diazepam and lorazepam, make you sleep more deeply and relax the muscles that control urine flow. They can also reduce your awareness of the need to urinate. Narcotic pain medications have a similar sedating effect and additionally relax the bladder in ways that cause overflow leakage. Even over-the-counter antihistamines like diphenhydramine (commonly sold as a sleep aid) can relax the bladder and lead to retention, which then overflows during the night.
Alcohol and Evening Fluid Intake
Alcohol suppresses ADH, which means your kidneys produce more urine after drinking. Combine this with the sedating effects of alcohol, which make you harder to wake, and it’s a reliable recipe for bedwetting. This is the most common explanation for occasional episodes in adults who don’t normally have the problem.
Even without alcohol, drinking large amounts of fluid in the two to three hours before bed can overwhelm your bladder’s overnight capacity. Caffeine compounds the issue because it’s both a mild diuretic and a bladder irritant. Shifting the bulk of your fluid intake to earlier in the day, while still drinking enough overall, is one of the simplest strategies for reducing nighttime episodes. The goal isn’t to restrict fluids, which can actually be counterproductive, but to spread intake more evenly so you’re not loading up in the evening.
What Happens During a Medical Evaluation
If bedwetting happens more than occasionally, a medical evaluation typically starts with a urinalysis to check for infection, blood sugar abnormalities, and kidney function. Your doctor will ask about your fluid habits, medications, sleep quality, and how often you urinate during the day.
If the cause isn’t obvious from that initial workup, urodynamic testing may be recommended. These tests measure how well your bladder stores and releases urine. One common test fills your bladder slowly with warm water through a small catheter while sensors track the pressure inside. You’ll be asked to describe when you first feel the urge to go, and whether coughing or straining causes any leakage. Another test uses ultrasound or a catheter after you urinate to measure how much urine remains in your bladder. A leftover volume of 100 to 150 milliliters or more suggests your bladder isn’t emptying completely, which can contribute to overflow during sleep.
Treatment Options
Treatment depends entirely on the underlying cause, which is why the diagnostic step matters so much. For people whose bodies overproduce urine at night, a synthetic version of ADH taken before bed can reduce overnight urine output significantly. For overactive bladder, medications that calm involuntary bladder contractions are the standard approach. When an enlarged prostate is involved, treatments targeting the prostate often resolve the bladder symptoms as well.
Behavioral strategies form the foundation of treatment regardless of the cause. Timed fluid intake, cutting off caffeine and alcohol several hours before bed, and urinating right before sleep all reduce the volume your bladder has to manage overnight. Setting an alarm to empty your bladder partway through the night can be a practical short-term bridge while other treatments take effect.
If a medication is contributing to the problem, adjusting the timing or switching to an alternative often helps. Diuretics taken in the morning rather than the evening, for example, can make a meaningful difference without changing the therapeutic effect. For people with sleep apnea driving the problem, treating the apnea with a CPAP machine or other intervention reduces the abnormal hormone release that floods the kidneys with extra urine.

