Content
Cold sore relief that works in 24 hours
Reviewed by Kelly Brown MD, MBA
Written by Geoffrey C. Whittaker
Published 09/14/2017
Updated 10/08/2024
Whether you’re one of the 30 million U.S. men who have erectile dysfunction (ED) or not, you’ve almost certainly heard of Viagra®. Maybe you even know about other erectile dysfunction medications, like Levitra® or Stendra® or Cialis® too. But how does ED medication work?
ED pills boost blood flow to the penis, making it easier to get and stay hard during sexual activity. Whether you get them from Hims or another provider, these sexual health medications can help, but the right one for you can depend on many factors.
If you think you might have erectile dysfunction, learning about these medications is a good place to start.
How do ED pills work, when do they kick in, how long do they last, and what are the side effects? We’ll answer these questions below and go over all your options for ED medication.
Content
The U.S. Food and Drug Administration (FDA) has approved several medications for the treatment of erectile dysfunction, including:
Sildenafil (the generic version and active ingredient in Viagra)
Avanafil (Stendra)
Vardenafil (the active ingredient in Levitra and Staxyn®)
Currently, these FDA-approved ED medications are prescription medications — meaning they can’t be bought over the counter. They have to be prescribed by a doctor, urology specialist, nurse practitioner, or another sexual health professional.
Healthcare providers often prescribe oral medications (aka “sex pills”) as a first line of defense for those facing erectile dysfunction.
But chewable ED meds like our hard mints provide a fresh and convenient solution, and they contain the same active ingredients as Viagra and Cialis.
ED drugs belong to a class of medications called PDE5 inhibitors, short for phosphodiesterase type 5 inhibitors.
How does ED medication work to treat erectile dysfunction? These drugs suppress PDE5 (an enzyme in the smooth muscle cells of blood vessels) so blood vessels widen. This can increase blood flow to the tissue inside your penis, making it easier to get an erection after sexual stimulation.
There’s a reason sildenafil, tadalafil, and other PDE5 inhibitors are some of the most common ED treatments — they work. In fact, these treatments can fully reverse erectile dysfunction in some cases.
There’s also some anecdotal evidence that ED pills can help manage premature ejaculation. But more research is needed there.
Tadalafil, for example, significantly enhanced erectile function and sexual activity in men of different ages throughout clinical trials.
From the newer generation of ED drugs, avanafil has shown to be just as effective at improving erectile function as older medications like sildenafil, tadalafil, and vardenafil.
As to why Viagra is arguably the most popular ED medication? About 82 percent of those taking a 100-milligram (mg) dosage saw improvement in their erections.
On top of working effectively, these are some of the safest ED drugs, thanks to ongoing testing and approval by the FDA.
That said, there’s still a chance of experiencing side effects and risks (that come with taking any medication, really). We’ll get into that below.
Though erectile dysfunction pills work at different speeds based on their ingredients, most sexual dysfunction drugs take 30 to 60 minutes to start working with sexual stimulation.
For example, experts recommend taking Viagra one hour before sexual activity because it can take between 30 and 60 minutes for the medication to reach its highest concentration.
Cialis, on the other hand, reaches peak concentration anywhere between 30 minutes and six hours after taking it. So you’d want to take the pill two hours before sexual activity.
After something faster? The newer medication avanafil (brand-name Stendra) works the quickest — between 15 and 30 minutes.
Regardless of the specific medication you use, it’s best to take your ED medication about an hour before you plan to have sex. Prepare ahead of time, and you’ll experience the medication’s full effects when you and your partner become intimate.
Avanafil is the only fast-working FDA-tested and approved ED drug, despite the fast-acting male enhancements being pushed these days.
When it comes to those herbal or dietary supplements you see at gas stations or on sketchy websites, it’s not worth the risk to your health.
While people often associate the words “herbal” and “natural” as being harmless or even healthier than prescription medications, these over-the-counter products may contain counterfeit or unproven ingredients that aren’t safe or effective.
Learn more about why OTC ED drugs are risky in our article.
To understand how long an ED medication will last, you need to know its half-life.
Half-life is how long it takes a medication to fall to half its peak concentration — essentially how long it’ll remain active in your body.
Here’s a breakdown of how long the most common ED drugs stay active in your system:
Viagra (sildenafil) lasts three to five hours after it’s consumed.
Cialis (tadalafil) has a half-life of 17.5 hours, meaning it lasts up to 36 hours after it’s consumed.
Levitra (vardenafil) has a half-life of four to five hours and remains active in the body up to six hours after it’s consumed.
Stendra (avanafil) has a half-life of three to five hours and remains active in the body for up to six hours after it’s consumed.
As you can see, vardenafil and avanafil work for about the same amount of time — and slightly longer than sildenafil. But tadalafil is by far the longest-lasting of the ED medications currently on the market.
Of course, people react differently to medications, so the duration of ED drugs can vary among men who take them.
Ask your healthcare provider for more information about the half-lives and duration of these pills. We compared Cialis versus Viagra and Stendra versus Viagra for a more detailed look at some of the more popular ED meds.
You should be aware of the possible risks and side effects of ED meds before taking them — or any prescription drug, for that matter.
Side effects may vary slightly among these medications. But since PDE5-inhibitor medications work similarly, there are some common side effects, including:
Mild headaches
Dizziness
Muscle aches or back pain
Facial flushing
Vision issues, including temporary blurry vision
Digestive issues or upset stomach
Rhinitis (nasal congestion and a stuffy or drippy nose)
As a newer, second-generation ED med, Stendra (avanafil) may be less likely to cause side effects or other serious issues compared to older medications like Levitra.
However, just as every guy can experience different effectiveness with different medications, some may experience more or fewer side effects than others. We covered all the side effects of Viagra and common side effects of tadalafil in our guides.
The information packets and FDA guidelines for these medications recommend seeking immediate medical advice from a healthcare provider if your erection lasts longer than four hours or if an erection doesn’t go away on its own (a condition called priapism). This is a medical emergency, as it can lead to permanent penile injury if left untreated.
There are also some potentially serious side effects of ED meds, including drug interactions.
All currently available ED medications can temporarily cause slightly lower blood pressure levels because of their effects on smooth muscle tissue and blood flow. This low blood pressure is most often mild. And since it’s short-lived, it’s not usually dangerous for men’s health.
That said, if you use nitrates (like nitric oxide or nitroglycerin) for angina (chest pain) or alpha-blockers and certain other medications to treat hypertension (high blood pressure), the reduction in blood pressure caused by ED medications can be dangerous.
So if you take nitrates, it’s highly recommended that you don’t use sildenafil, tadalafil, vardenafil, avanafil, or other similar medications for erectile dysfunction.
And anyone currently being treated for or with a history of kidney disease, heart disease, heart attack, or other cardiovascular conditions should discuss treatment options with a healthcare professional.
Though the medications listed above can help men in many cases where erectile dysfunction might create problems, there are circumstances in which these pills won’t “solve” the problem. Specifically, ED medications might not be effective when the problem is psychological ED.
While ED is commonly associated with cardiovascular function, diet, weight, and other bodily issues, your mental health can intervene in your sex life. In fact, for younger men, it can be one of the most common causes of ED.
Men who deal with sexual performance anxiety, self-esteem issues, depression, sexual trauma, fears of intimacy, and anxiety can find themselves unable to perform. Stress, relationship issues, and other factors outside the bedroom can also create performance issues.
That’s why it’s crucial to speak with a healthcare professional before taking medication. ED drugs may not be the solution — or at least not the only solution.
Erectile dysfunction is a common health condition, and there are several erectile dysfunction treatments that all work pretty similarly.
How does ED medication work? Here’s the gist of how ED pills work:
The most common erectile dysfunction medications are PDE5 inhibitors. They work to help widen blood vessels in the penis, allowing more blood flow for stronger and longer-lasting erections. Research shows that, when used properly, these ED pills can help improve erectile function.
Many of these pills work fairly quickly. Sildenafil (Viagra), tadalafil (Cialis), and vardenafil (Levitra) typically start working within 30 to 60 minutes, while avanafil (Stendra) works within 15 to 30 minutes.
As with most prescription drugs, ED medications can cause side effects. Some of the most common side effects of ED meds include headaches, dizziness, upset stomach, back pain, and nasal congestion.
A healthcare provider can help you determine which ED medication and dose is right for you. You can also learn about more erectile dysfunction treatments that can get your sex life back on track.
Hims & Hers has strict sourcing guidelines to ensure our content is accurate and current. We rely on peer-reviewed studies, academic research institutions, and medical associations. We strive to use primary sources and refrain from using tertiary references. See a mistake? Let us know at [email protected]!
This article is for informational purposes only and does not constitute medical advice. The information contained herein is not a substitute for and should never be relied upon for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment. Learn more about our editorial standards here.
Dr. Kelly Brown is a board certified Urologist and fellowship trained in Andrology. She is an accomplished men’s health expert with a robust background in healthcare innovation, clinical medicine, and academic research. Dr. Brown was previously Medical Director of a male fertility startup where she lead strategy and design of their digital health platform, an innovative education and telehealth model for delivering expert male fertility care.
She completed her undergraduate studies at University of North Carolina at Chapel Hill (go Heels!) with a Bachelor of Science in Radiologic Science and a Minor in Chemistry. She took a position at University of California Los Angeles as a radiologic technologist in the department of Interventional Cardiology, further solidifying her passion for medicine. She also pursued the unique opportunity to lead departmental design and operational development at the Ronald Reagan UCLA Medical Center, sparking her passion for the business of healthcare.
Dr. Brown then went on to obtain her doctorate in medicine from the prestigious Northwestern University - Feinberg School of Medicine and Masters in Business Administration from Northwestern University - Kellogg School of Management, with a concentration in Healthcare Management. During her surgical residency in Urology at University of California San Francisco, she utilized her research year to focus on innovations in telemedicine and then served as chief resident with significant contributions to clinical quality improvement. Dr. Brown then completed her Andrology Fellowship at Medical College of Wisconsin, furthering her expertise in male fertility, microsurgery, and sexual function.
Her dedication to caring for patients with compassion, understanding, as well as a unique ability to make guys instantly comfortable discussing anything from sex to sperm makes her a renowned clinician. In addition, her passion for innovation in healthcare combined with her business acumen makes her a formidable leader in the field of men’s health.
Dr. Brown is an avid adventurer; summiting Mount Kilimanjaro in Tanzania (twice!) and hiking the incredible Torres del Paine Trek in Patagonia, Chile. She deeply appreciates new challenges and diverse cultures on her travels. She lives in Denver with her husband, two children, and beloved Bernese Mountain Dog. You can find Dr. Brown on LinkedIn for more information.
Education & Training
Andrology Fellowship, Medical College of Wisconsin
Urology Residency, University of California San Francisco
M.D. Northwestern University Feinberg School of MedicineB.S. in Radiologic Science, Chemistry Minor, University of North Carolina at Chapel Hill
Published as Kelly Walker
Cowan, B, Walker, K., Rodgers, K., Agyemang, J. (2023). Hormonal Management Improves Semen Analysis Parameters in Men with Abnormal Concentration, Motility, and/or Morphology. Fertility and Sterility, Volume 118, Issue 5, e4. https://www.sciencedirect.com/journal/fertility-and-sterility/vol/120/issue/1/suppl/S
Walker, K., Gogoj, A., Honig, S., Sandlow, J. (2021). What’s New in Male Contraception? AUA Update Series, Volume 40. https://auau.auanet.org/content/update-series-2021-lesson-27-what%E2%80%99s-new-male-contraception
Walker, K., Shindel, A. (2019). AUA Erectile Dysfunction Guideline. AUA Update Series, Volume 38. https://auau.auanet.org/content/course-307
Walker, K., Ramstein, J., & Smith, J. (2019). Regret Regarding Fertility Preservation Decisions Among Male Cancer Patients. The Journal of Urology, 201(Supplement 4), e680-e681. https://www.auajournals.org/doi/10.1097/01.JU.0000556300.18991.8e
Walker, K., & Smith, J. (2019). Feasibility Study of Video Telehealth Clinic Visits in Urology. The Journal of Urology, 201(Supplement 4), e545-e545. https://www.auajournals.org/doi/10.1097/01.JU.0000556071.60611.37