How Erections Work, and Why ED Happens

By the Medsmingle Team · Updated 25 November 2026

An erection happens when sexual arousal triggers nerves to release chemicals that relax the blood vessels in the penis. Blood flows into two spongy chambers (the corpora cavernosa), and the veins that drain them are squeezed shut, so the penis fills and stays firm. ED medicines work by boosting this natural process.

Step by step

  1. Arousal: touch, sight or thoughts send signals from the brain and nerves.
  2. Chemical signal: nerves release nitric oxide, which raises a messenger called cGMP.
  3. Blood vessels relax: cGMP relaxes the smooth muscle in the penis’s arteries.
  4. Blood flows in: the spongy chambers fill with blood.
  5. Blood is trapped: the swelling presses on the veins, keeping blood in.
  6. Erection ends: an enzyme called PDE5 breaks down cGMP, and blood flows out.

What can go wrong

How ED medicines help

Sildenafil, tadalafil, vardenafil and avanafil block PDE5, so cGMP lasts longer and blood flow improves. That’s why they need arousal to work: they boost the natural signal rather than create one. See fastest-acting ED pills.

Shop ED treatments in our Christmas Sale

Up to 45% off ED treatments, with free US shipping on orders over $100. Shop the Christmas Sale.

Frequently asked questions

Why are morning erections normal?

They happen during sleep and are a sign that blood flow and nerves are working. See morning erections and ED.

Do ED pills work without arousal?

No.

Sources

  • Symptoms and Causes of Erectile Dysfunction, National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
  • Viagra (sildenafil citrate) prescribing information, Pfizer

About Medsmingle

Medsmingle (medsmingle.com) shares clear, plain-English information on medicines and everyday health. Explore more health guides and the latest articles, read about us, or contact our team with a question.

This article is for general information only and isn’t a substitute for advice from a doctor or pharmacist. Don’t start, stop or change a medicine without talking to a qualified healthcare professional.

Similar Posts