The workup
Overnight erection testing (NPT), explained
Published · Last reviewed · How we review →
Healthy men have several erections a night, in their sleep, without ever knowing it. That quiet fact is the basis of one of the oldest tests in the ED workup: nocturnal penile tumescence (NPT) testing. If the erections still happen while you sleep, the wiring and the plumbing are largely intact — which points the search for a cause in a very different direction than if they don't. Here's what it measures, and the honest limits of what it can tell you.
The core question it answers: is the barrier physical or psychological? Erections during sleep bypass anxiety, performance pressure, and the situation entirely — so they isolate whether the body can do it, separate from whether it does when you're awake.
Why sleep erections matter
The erections that happen during REM sleep run on the same machinery as any other — nerves signaling, arteries opening, blood held under pressure. But they happen with the conscious mind switched off. So if strong, rigid erections occur reliably overnight, the vascular and neurological hardware is doing its job, and the difficulty during sex is more likely psychological or situational. If they're weak or absent asleep too, that's a signal to look harder at a physical cause — which is where tests like the penile Doppler ultrasound come in.
The two versions
NPT testing runs from a formal lab-grade recording to a simple home screen. They answer the question at different resolutions.
RigiScan — the detailed record
A device worn on the penis overnight, sometimes across two or three nights, occasionally in a sleep lab. It continuously logs the number of erections, their rigidity at base and tip, and how long each lasts. This is the version that produces a real, gradable answer — not just whether erections happened, but whether they were rigid enough to count.
Snap-gauge / stamp test — the screen
A far simpler band worn around the shaft — a plastic snap-gauge, or historically a ring of postage stamps — designed to break if an erection expands the shaft overnight. It's cheap and doable at home, but it's a blunt instrument: it tells you something happened, not how rigid it was or how long it lasted. Useful as a rough screen, not a verdict.
Why the answer is rarely black-and-white
The physical-versus-psychological split is a useful lens, not a clean line. Most ED is a mix — a small vascular change that seeds doubt, then anxiety that magnifies it. Sleep quality, depression, and some medications can also blunt overnight erections without any vascular problem at all, muddying the result. So NPT is best read as one strong pointer among several, weighed alongside your history, exam, and labs — not as a standalone diagnosis.
Where it fits now
NPT is used far less than it once was. For most men, a careful history already answers the physical-versus-psychological question — a sudden change with morning erections intact tells much the same story — and treatment often moves ahead without formal testing. NPT keeps a real role in selective cases: younger men, unclear or complex presentations, or medico-legal situations where an objective record matters. If it's offered to you, the fair question is the same one that applies to any test — what will this change about the plan?
The bottom line
NPT testing asks whether the body can still produce an erection when the mind is offline — a genuinely useful question, because a “yes” reframes the whole problem toward the psychological, and a “no” justifies looking harder at the plumbing. It's an older test with a narrower role today, but when the physical-versus-psychological question is the one that's stuck, it can still be the one that moves things forward.
Sources & important note
Drawn from: AUA Erectile Dysfunction Guideline; StatPearls: Erectile Dysfunction; and NIDDK: Diagnosis of Erectile Dysfunction.
General education, not medical advice, and not a substitute for your own workup. Whether this test is warranted, and what its findings mean for you, belong to a licensed clinician who can examine you and knows your history.
Common questions
What is nocturnal penile tumescence (NPT) testing?
NPT testing measures the erections that happen naturally during sleep, mostly in REM. Healthy men typically have several a night without being aware of them. The test records whether they occur and how rigid they are, because their presence points to intact nerves and blood flow — regardless of what happens when you're awake.
What does an NPT test tell you about ED?
It helps separate a physical cause from a psychological one. If strong erections happen reliably in your sleep but not during sex, the hardware is largely working and the barrier is more likely psychological or situational. If they're weak or absent asleep too, that points toward a physical (vascular, neurological, or hormonal) cause worth pursuing. It's a pointer, not a diagnosis on its own.
How is NPT testing done — can I do it at home?
There are two levels. The formal version is RigiScan, a device worn overnight (sometimes in a sleep lab) that continuously logs the number, rigidity, and duration of erections. A simpler screening version uses a snap-gauge or postage-stamp-style band around the shaft that breaks if an erection occurs — cheap and doable at home, but it only tells you something happened, not how rigid or how long. Which one fits is a clinician's call.
Is NPT testing still used?
Less than it once was. A good history, exam, and blood work answer the physical-versus-psychological question for most men, and treatment often moves ahead without it. NPT keeps a role in specific situations — younger men, complex or unclear cases, or medico-legal ones — but it's a selective tool now, not a routine step.