Sexual health

How Do ED Pills Work? What to Expect

Written by

Tim Dillon

Medically reviewed by

The Henry Team

Last updated:

Medically reviewed

Table of contents

Table of contents

If you're wondering how ED pills work, you're not alone. They're some of the most prescribed medications in the world. But what actually happens when you take one?

Here's what you need to know: they increase blood flow to the penis by blocking an enzyme that normally ends erections. But they're not magic. They work with your body's natural arousal response, not instead of it.

What actually happens when you take an ED pill 

So how do ED pills work? When you get an erection, it's blood flow doing its job. Sexual arousal triggers your brain to release nitric oxide, which relaxes the blood vessels in your penis and lets blood flow in.

The reason erections end? An enzyme called PDE5 clears the nitric oxide, the blood flows back out, and things return to normal.

ED pills block that enzyme. That's it. By keeping PDE5 out of the picture, blood stays where it needs to be longer—making it easier to get and maintain an erection.

The one thing they can't do: replace arousal. You still need to be sexually stimulated for any of this to kick in. ED pills just make it easier for your body to respond when you are.

How do you know if you have ED? 

Not every erection issue means you have ED. Stress, alcohol, and lack of sleep can all cause occasional difficulty. That's not uncommon.

ED is when it happens regularly—trouble getting or keeping an erection in at least three out of four sexual encounters over six months or more.

Some people also notice reduced interest in sex. That can be related, or it can be a separate issue altogether. 

One thing to keep in mind: ED can be an early warning sign of heart disease or diabetes

Think of it this way: the blood vessels in your penis are narrower than the ones leading to your heart. When circulation starts declining, those smaller vessels get blocked first. You might notice erection problems months or even years before chest pain shows up.

What causes ED in the first place

The truth is, ED rarely has just one cause. It's often a combination. Here's what typically drives it.

Physical causes are the most common

These include heart disease, high blood pressure, high cholesterol, diabetes, and obesity. All of these affect blood flow, which is essential for erections. 

Hormone problems, especially low testosterone, can also play a role, and the two conditions often go hand-in-hand.

Psychological causes matter more than people think

Stress, anxiety, depression, and relationship tension can all interfere with arousal, even when nothing is physically wrong.

Lifestyle factors stack up over time 

Smoking, heavy drinking, and physical inactivity all take a toll on the systems that make erections possible—blood vessels, nerve function, hormone levels, and heart health.

None of them cause ED overnight, but over time they add up, and often they're working against each other at the same time.

Certain medications can contribute

Some antidepressants, blood pressure medications, and antihistamines are known to cause or worsen ED. If you think medication might be a factor, it's worth talking with your provider about it.

The 4 types of ED pills

There are four main ED medications on the market. All of them are PDE5 inhibitors, so they work the same way, but they differ in timing, how long they last, and how you take them.**

Medication

How to Take

Kicks In

Lasts

Food Interaction

Sildenafil

As needed, 30-60 min before sex

~30 min

4-5 hours

Avoid fatty foods

Tadalafil

As needed or daily low dose

~30 min

Up to 36 hours

Can take with food

Vardenafil

As needed, 60 min before sex

~30 min

4-5 hours

Avoid fatty foods

Avanafil

As needed, 15-30 min before sex

~15 min

4-6 hours

Can take with food

What ED pills won't do 

ED pills can make a real difference, but it helps to know what they can't do.

They won't increase your desire for sex. If low libido is the issue, you’ll need to assess hormones, stress, or other factors.

They won't work without sexual stimulation. You can't take a pill, do the dishes, and expect to be ready to go. Your mind and body still need to be in it.

They won't fix relationship problems, anxiety, or other psychological barriers. If stress, depression, or tension with a partner is affecting your arousal, the pill alone probably won't solve it. 

And they won't cure ED. They manage the symptoms, not the underlying cause.

ED is common, manageable, and nothing to be embarrassed about. For many people, medication works best alongside other approaches: therapy, lifestyle changes, or treatment for conditions like low testosterone.

Side effects and safety

Most people tolerate ED medications well. The common complaints—headache, flushing, stuffy nose, upset stomach, back pain—are usually mild and fade on their own.

Serious side effects are rare but need immediate attention. Sudden vision or hearing changes, or an erection lasting more than four hours, are signs to stop taking the medication and seek medical care right away.

There's also a critical safety consideration: never combine ED pills with nitrates (used for chest pain). The combination can cause a dangerous drop in blood pressure. Use caution with alpha-blockers, too.

ED pills may not be appropriate if you have severe heart or liver disease, uncontrolled blood pressure, or certain eye conditions (like retinitis pigmentosa). If you're on other medications or have underlying health conditions, talk with a provider before starting. 

Lifestyle changes that can make a difference

ED medication can help, but it works best when it's not doing all the heavy lifting.

Movement matters more than gym time

Exercise is one of the most effective things you can do. And it actually improves erectile function, not just prevents it from getting worse.

Even 20 minutes of walking after dinner makes a difference. Your body doesn't distinguish between “exercise” and “movement”. It all counts. 

For maximum impact, studies show moderate to vigorous activity for 40 minutes four times a week. But anything that gets you moving consistently is enough

Why weight matters

Excess weight is linked to lower testosterone and increased inflammation, both of which contribute to ED. Losing even 5-10% of your body weight can make a noticeable difference in hormone levels and blood flow. 

Quitting smoking shows results fast

Within weeks of quitting smoking, many men notice morning erections returning—the blood vessels start recovering that quickly. 

If you smoke, quitting is one of the fastest ways to see improvement in erectile function. 

Alcohol is a double-edged sword

While a drink or two might lower inhibitions, more than that interferes with arousal and makes it harder to maintain an erection. Heavy drinking over time damages nerve function and hormone production. If you're drinking regularly, cutting back helps.

Sleep and stress work behind the scenes

Poor sleep lowers testosterone and raises cortisol—a terrible combination for your sex life. Chronic stress does the same thing. Managing stress and getting 7-8 hours of sleep supports healthy hormone levels and keeps your nervous system functioning properly. 

Most men notice a difference in libido and erectile function when sleep improves. 

None of this replaces medical treatment when it's needed. But for many people, these changes can improve how well medication works, or even reduce the need for it over time.

When pills aren't the right fit

ED medications work for most people, but not everyone. 

If pills aren't effective, cause side effects you can't tolerate, or aren't safe due to other medications or health conditions, there are other paths forward. A provider can help you figure out which makes the most sense.

Testosterone therapy 

Low testosterone showing up in blood tests? Testosterone therapy is worth exploring. It won't work for everyone, but for some, it improves both desire and erectile function.

Penile injections

For those who haven't responded well to oral medications, injections deliver medication directly into the penis before sex. They can work faster and more reliably than pills for some men.

Urethral suppositories

These are small pellets inserted into the urethra that trigger an erection within about 10 minutes. They’re less invasive than injections and work as a middle-ground option. 

Vacuum devices

If you prefer a non-medication option, vacuum devices use suction to draw blood into the penis, with a ring placed at the base to maintain the erection. They're relatively affordable and work well for many people.

Penile implants

When other treatments haven't done the job, penile implants are a surgical option worth knowing about. They're permanent and have high satisfaction rates.

What comes next 

If you're wondering how ED pills work for your specific situation, talking with a provider is the next step. Henry connects you with licensed providers who can help figure out what makes sense and stay with you as things change.

Complete an online intake to share your goals and health history, then consult with a provider through video call or secure messaging. If medically appropriate, prescription options can include sildenafil or tadalafil, with ongoing support designed for long-term care.

Ready to take the next step? Connect with a Henry provider today.

Frequently asked questions

Do ED pills work for everyone?

Not always—but for most people, yes. About 60%-80% of men respond to at least one ED medication. If one doesn't work, your provider can suggest a different one or adjust the dose.

How long does it take for ED pills to start working?

Most ED pills start working within 30-60 minutes. Avanafil can kick in as fast as 15 minutes. Taking them on an empty stomach (except tadalafil) helps them absorb faster.

Can I take ED pills with alcohol?

Taking ED pills with a small amount of alcohol is usually fine, but alcohol can make ED worse and increase side effects like dizziness.

Do I need a prescription for ED pills?

Yes, you need a prescription for ED pills. Avoid buying them from unverified online sources. Counterfeit pills can be dangerous.

What if ED pills don't work for me?

If ED pills don’t work for you, talk with your provider. There can be an underlying issue to address, or other treatments, like injections, devices, or therapy, might be a better fit.

Disclaimers

*Henry uses compounded medications prepared by licensed compounding pharmacies. These are not FDA-approved products, even though they contain the same active ingredients as branded medications.

**Individual response to ED medications varies. What works well for one person may not work the same way for another. Always work with a licensed provider to find the right option for you.

Source list

Abou-Taleb, H.A., Mustafa, W.W., Makram, T.S., et al. (2022). Vardenafil oral dispersible films (ODFs) with advanced dissolution, palatability, and bioavailability. Pharmaceutics, 14(3), 517. doi:10.3390/pharmaceutics14030517. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8951028/

Alwhaibi, A., Alsanea, S., Alrabiah, Z., et al. (2021). Pharmacokinetic profile of sildenafil citrate in healthy Middle Eastern males: Comparison with other ethnicities. Saudi Pharmaceutical Journal, 29(12), 1498-1505. doi:10.1016/j.jsps.2021.11.011. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8720797/

Andersson, K.E. (2018). PDE5 inhibitors - pharmacology and clinical applications 20 years after sildenafil discovery. British Journal of Pharmacology, 175, 2554-2565. doi:10.1111/bph.14205. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6003652/

Atallah, S., Haydar, A., Jabbour, T., et al. (2021). The effectiveness of psychological interventions alone, or in combination with phosphodiesterase-5 inhibitors, for the treatment of erectile dysfunction: A systematic review. Arab Journal of Urology, 19(3), 310-322. doi:10.1080/2090598X.2021.1926763. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8451609/

Barroso, F., Ribeiro, J. C., Miranda, E. P. (2021). Phosphodiesterase Type 5 Inhibitors and Visual Side Effects: A Narrative Review. Journal of Ophthalmic and Vision Research, 16(2), 248–259. doi:10.18502/jovr.v16i2.9088. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8126729/

Bell, C., Abdul Hadi, M., Khanal, S., et al. (2021). Prescribing patterns and costs associated with erectile dysfunction drugs in England: A time trend analysis. BJGP Open, 5(2), bjgpopen20X101145. doi:10.3399/bjgpopen20X101145. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8170617/

Burnett, A. L. (2019). The science and practice of erection physiology: Story of a revolutionary gaseous molecule. Transactions of the American Clinical and Climatological Association, 130, 51-59. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6735973/

Cai, Z., Song, X., Zhang, J., et al. (2020). Practical approaches to treat ED in PDE5i nonresponders. Aging and Disease, 11(5), 1202-1218. doi:10.14336/AD.2019.1028. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC7505261/

Cao, Z., Zhu, T., Yang, P., et al. (2025). The relationship between perceived stress and erectile function in patients with psychogenic erectile dysfunction: The mediating role of fatigue. Journal of Sexual Medicine, 22(5), 719-725. doi:10.1093/jsxmed/qdaf045. Retrieved from https://pubmed.ncbi.nlm.nih.gov/40106710/

Carrillo-Larco, R. M., Luza-Dueñas, A. C., Urdániga-Hung, M., et al. (2018). Diagnosis of erectile dysfunction can be used to improve screening for Type 2 diabetes mellitus. Diabetic Medicine, 35(11), 1538-1543. doi:10.1111/dme.13783. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6221030/

Chung, E. (2019). A review of current and emerging therapeutic options for erectile dysfunction. Medical Sciences, 7(9), 91. doi:10.3390/medsci7090091. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6780857/

Da Ros, C. T., Facio, F. N., Jr. (2020). Editorial Comment: Effect of smoking cessation on sexual function in men aged 30 to 60 years. International Brazilian Journal of Urology, 46(4), 649–650. doi:10.1590/S1677-5538.IBJU.2019.0541.1. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC7239281/

Doumas, M., Katsimardou, A., Imprialos, K. (2022). Exercise, Erectile Dysfunction and Co-Morbidities. Reviews in Cardiovascular Medicine, 23(9), 304. doi:10.31083/j.rcm2309304. Retrieved from https://www.imrpress.com/journal/RCM/23/9/10.31083/j.rcm2309304

Elliott, J., Kelly, S.E., Millar, A.C., et al. (2017). Testosterone therapy in hypogonadal men: A systematic review and network meta-analysis. BMJ Open, 7(11), e015284. doi:10.1136/bmjopen-2016-015284. Retrieved from https://bmjopen.bmj.com/content/7/11/e015284

Fahmy, G., Hess, J. (2024). Tadalafil. In StatPearls [Internet]. Treasure Island, FL: StatPearls Publishing. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK603743/

Forgue, S. T., Patterson, B. E., Bedding, A. W., et al. (2005). Tadalafil pharmacokinetics in healthy subjects. British Journal of Clinical Pharmacology, 61(3), 280-288. doi:10.1111/j.1365-2125.2005.02553.x. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC1885023/

Gerbild, H., Larsen, C. M., Graugaard, C., et al. (2018). Physical Activity to Improve Erectile Function: A Systematic Review of Intervention Studies. Sexual Medicine, 6(2), 75-89. doi:10.1016/j.esxm.2018.02.001. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC5960035/

Hehemann, M. C., Kashanian, J. A. (2016). Can lifestyle modification affect men's erectile function? Translational Andrology and Urology, 5(2), 187-194. doi:10.21037/tau.2016.02.05. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC4837314/

Hellstrom, W. J. G., Kaminetsky, J., Belkoff, L. H., et al. (2015). Efficacy of Avanafil 15 Minutes after Dosing in Men with Erectile Dysfunction: A Randomized, Double-Blind, Placebo Controlled Study. The Journal of Urology, 194(2), 485-492. doi:10.1016/j.juro.2014.12.101. Retrieved from https://pubmed.ncbi.nlm.nih.gov/25591992/

Ibrahim, A., Ali, M., Kiernan, T. J., et al. (2018). Erectile dysfunction and ischaemic heart disease. European Cardiology Review, 13(2), 98-103. doi:10.15420/ecr.2017.21.3. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6331774/

Kim, J. N., Oh, J. J., Park, D. S., et al. (2019). Influence of Alcohol on Phosphodiesterase 5 inhibitors Use in Middle- to Old-Aged Men: A Comparative Study of Adverse Events. Sexual Medicine, 7(4), 425-432. doi:10.1016/j.esxm.2019.07.004. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC6963111/

Leslie, S.W., Jain, A., Iqbal, O.A. (2025). Alprostadil. In StatPearls [Internet]. Treasure Island, FL: StatPearls Publishing. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK542217/

Leslie, S. W., Sooriyamoorthy, T. (2024). Erectile dysfunction. In StatPearls [Internet]. Treasure Island, FL: StatPearls Publishing. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK562253/

Mostafaei, H., Mori, K., Hajebrahimi, S., et al. (2021). Association of erectile dysfunction and cardiovascular disease: An umbrella review of systematic reviews and meta-analyses. BJU International, 128(1), 3-11. doi:10.1111/bju.15313. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8359379/

Pham, Q. M., Yannas, D., Sansone, A., et al. (2025). Food effect on pharmacokinetic profiles of sildenafil 100 mg oral films in healthy male volunteers: Results from two randomized, single dose, crossover studies. Sexual Medicine, 13(5), qfaf096. doi:10.1093/sexmed/qfaf096. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC12640539/

Pyrgidis, N., Mykoniatis, I., Haidich, A. B., et al. (2021). The Effect of Phosphodiesterase-type 5 Inhibitors on Erectile Function: An Overview of Systematic Reviews. Frontiers in Pharmacology, 12, 735708. doi:10.3389/fphar.2021.735708. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC8452927/

Rizk, P.J., Kohn, T.P., Pastuszak, A.W., et al. (2017). Testosterone therapy improves erectile function and libido in hypogonadal men. Current Opinion in Urology, 27(6), 511-515. doi:10.1097/MOU.0000000000000442. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC5649360/

Wang, C. M., Wu, B. R., Xiang, P., et al. (2023). Management of male erectile dysfunction: From the past to the future. Frontiers in Endocrinology, 14, 1148834. doi:10.3389/fendo.2023.1148834. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC10008940/

Wang, X.-M., Bai, Y.-J., Yang, Y.-B., et al. (2018). Alcohol intake and risk of erectile dysfunction: A dose–response meta-analysis of observational studies. International Journal of Impotence Research, 30(6), 342-351. doi:10.1038/s41443-018-0022-x. Retrieved from https://pubmed.ncbi.nlm.nih.gov/30232467/

Yang, B., Wei, C., Zhang, Y. C., et al. (2024). Association between improved erectile function and dietary patterns: A systematic review and meta-analysis. Asian Journal of Andrology, 27(2), 239-244. doi:10.4103/aja202485. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC11949448/

Zhang, F., Xiong, Y., Qin, F., et al. (2022). Short sleep duration and erectile dysfunction: A review of the literature. Nature and Science of Sleep, 14, 1945-1961. doi:10.2147/NSS.S375571. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC9621223/

Zhou, H., Xu, M., Xu, Z., et al. (2023). The association of various physical activities with erectile dysfunction: NHANES 2001–2004. Sex Med, 11(3), qfad036. doi:10.1093/sexmed/qfad036. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC10368580/

Start your Weight Loss Journey

Henry Meds provides affordable, personalized care from the comfort of your home.

Oral or injectible GLP-1s available

Delivered direct to your day

Meet with our online doctors today

Claim your free evaluation

Claim your free evaluation