Key takeaways
The average erection can last from a few minutes up to around 30 minutes.
Factors like age, health conditions, medications, mental state, level of arousal, and type of sexual activity all play a role in how long an erection lasts.
Healthy lifestyle changes, like eating a balanced diet, exercising regularly, limiting alcohol, and quitting smoking, can improve erection quality.
If erections remain a concern after lifestyle changes, a healthcare provider may prescribe medications — such as Viagra (sildenafil) or Cialis (tadalafil) — that can help improve erections.
Here's what we'll cover
Here's what we'll cover
Here's what we'll cover
Key takeaways
The average erection can last from a few minutes up to around 30 minutes.
Factors like age, health conditions, medications, mental state, level of arousal, and type of sexual activity all play a role in how long an erection lasts.
Healthy lifestyle changes, like eating a balanced diet, exercising regularly, limiting alcohol, and quitting smoking, can improve erection quality.
If erections remain a concern after lifestyle changes, a healthcare provider may prescribe medications — such as Viagra (sildenafil) or Cialis (tadalafil) — that can help improve erections.
A penile erection can normally last anywhere from a few minutes to about half an hour, though duration can vary from person to person. On average, men have around three to five erections a night while they’re sleeping, each lasting about 25–35 minutes. But that doesn’t mean all erections last that long.
How do erections work?
During sexual arousal, tiny blood vessels in the penis dilate, increasing blood flow to the area. Three tubes of spongy tissue (two corpus cavernosa and one corpus spongiosum) fill with blood, and an erection occurs.
After ejaculation occurs or arousal decreases, the extra blood drains away, and the penis reverts to its flaccid size and appearance. Then the penis enters a rest or refractory period before it can become erect again.
What affects how long an erection lasts?
Erection duration varies from person to person. Many variables can affect how long an erection lasts, including:
Age
Health problems
Side effects of medications
Level of sexual stimulation or arousal
Type of sexual activity (for example, masturbating or partnered sex)
Psychological factors, such as stress, anxiety, and mood
There is also an upper limit: erections can last too long. This is a condition called priapism, a condition that requires prompt medical attention. An erection lasting more than four hours can cause permanent damage.
Types of erections
There are at least three different types of erections:
Reflexive erections happen in response to physical touch or stimulation and do not require thinking about sex.
Psychogenic erections occur in response to sexual stimuli, memory, or fantasy.
Nocturnal erections happen during sleep (commonly referred to as "morning wood").
How to improve erections
Difficulty getting an erection, erections that aren't sufficiently firm, or erections that don't last long enough for satisfying sex may be signs of erectile dysfunction (ED).
ED is very common. It's estimated that more than 30 million American men experience erectile problems.
ED medications
Oral medications for ED are often safe and effective, especially the phosphodiesterase-5 (PDE5) inhibitors. These work by dilating and relaxing the blood vessels in the penis, allowing for increased blood flow and better erections in response to sexual stimulation.
Common PDE5 inhibitors are sildenafil (Viagra), tadalafil (Cialis), and vardenafil.
While pills are the most common and first-line treatment for ED, certain PDE5 inhibitors can be found in other formulations, such as:
Ro Sparks*: These sublingual (under-the-tongue) dissolving tablets contain both sildenafil and tadalafil (the active ingredients in Viagra and Cialis) for a fast-acting combination ED treatment.
Daily Rise Gummies*: These gummies contain a low dose (7 mg) of tadalafil, the active ingredient in Cialis. When taken daily, the medication stays active in the bloodstream around the clock.
Ultimately, the best ED medication for you will depend on your needs and preferences. A healthcare provider can help determine which option is safest and best for you.
*While these formulations have not specifically been FDA-approved for the treatment of ED, their individual ingredients have been FDA approved for ED.
Foreplay
Erection difficulties can sometimes stem from stress, distraction, or insufficient arousal. Being stressed or distracted can affect erection quality, and slowing things down with more foreplay may help.
Engaging in foreplay, such as kissing, touching, and verbal intimacy, can help prepare the body and mind before sex, allowing more time to achieve a firm erection.
Lifestyle changes
Erections tend to be stronger when your overall health is good. The following lifestyle changes may help improve ED:
Eating a healthy, balanced diet (such as the Mediterranean diet)
Reducing or managing stress
Improving sleep
In addition to general exercise, pelvic floor exercises, such as Kegels may also be beneficial. If ED is an ongoing concern, a pelvic floor physical therapist can assist with these exercises and perform pelvic floor massages.
Avoid alcohol and smoking
Drinking too much and using tobacco products can definitely affect erection quality. Excessive alcohol use may contribute to acute erectile difficulties — sometimes called "whiskey dick" — and smoking can also lead to blood vessel damage and ED. Drinking in moderation and avoiding tobacco are both recommended for those managing ED.
Open communication with your partner
Talking openly with a partner about sexual preferences and desires can help keep intimacy in a long-term relationship fulfilling. Unresolved relationship conflicts can also contribute to ED, so addressing those outside the bedroom is worthwhile.
When to see a healthcare provider
ED can be more than a sexual health concern — it may be a sign of an underlying medical issue such as diabetes, high blood pressure, or heart disease, among others. Anyone experiencing symptoms of ED should speak with a healthcare provider to help determine whether there is an underlying cause and explore appropriate treatment options.
Bottom line
Every person is different; however, the average erection generally lasts from a few minutes to about half an hour.
Many factors can affect erection duration, including health conditions, age, and medications. Arousal level and type of sexual stimulation (masturbation versus partnered sex) can also play a role.
Healthy lifestyle changes — such as eating a balanced diet, exercising regularly, limiting alcohol, and quitting smoking — can support erection quality. Adding more foreplay and maintaining open communication with a partner may also help.
If ED continues despite lifestyle changes, a healthcare provider can prescribe medications such as Viagra or Cialis to help improve erections.
It's also possible for an erection to last too long. An erection lasting four hours or more — especially when accompanied by pain or occurring without sexual stimulation — could indicate priapism, a medical emergency.
Frequently asked questions (FAQs)
What is an erection?
An erection occurs when the penis becomes firm and enlarged as a result of increased blood flow to the area. It is the most common outward sign of sexual arousal in people with penises and involves a coordinated series of vascular and chemical responses in the body.
Erections are complex — each one requires the cardiovascular system, hormones, nerves, blood vessels, and psychological state to work in concert. A disruption anywhere in this chain can lead to erectile dysfunction or other problems with sexual function.
Can a guy stay hard for three hours?
While it is physically possible for an erection to last three hours, this is not common. An erection lasting for three hours (especially without sexual stimulation) may mean you are developing priapism, which can be a medical emergency.
A healthcare provider may diagnose priapism for an erection that has lasted longer than four hours, especially if it is painful.
Is it normal to be hard for 30 minutes?
Yes, an erection lasting 30 minutes is within the normal range. On average, erections last from a few minutes up to around half an hour.
Is it healthy to be hard for two hours?
A two-hour erection may not be cause for concern if there is ongoing sexual stimulation and no pain. However, an erection lasting more than two hours without sexual stimulation (or one accompanied by pain) warrants medical evaluation, as it could indicate priapism is developing. Anyone whose erection has lasted more than two hours and is not resolving should seek emergency medical attention.
Is there a trick to staying hard longer?
There is no simple trick to staying hard longer, but good overall health supports stronger, healthy erections. This includes eating a healthy diet, exercising regularly, managing stress, getting enough sleep, and addressing any underlying health conditions.
For those who experience erectile dysfunction, PDE5 inhibitors such as sildenafil (Viagra) and tadalafil (Cialis) — when prescribed by a healthcare provider — may help improve erections.
DISCLAIMER
If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.
Viagra Important Safety Information: Read more about serious warnings and safety info.
Cialis Important Safety Information: Read more about serious warnings and safety info.
References
Devici,S. (2019). Priapism. UpToDate. O'Leary, M.P., Hockberger, R.S., Givens, J. (Eds.). Retrieved from https://www.uptodate.com/contents/priapism
Dhaliwal, A. & Gupta, M. (2023). PDE5 Inhibitors. StatPearls. Retrieved on Jul. 13, 2024 from https://www.ncbi.nlm.nih.gov/books/NBK549843/
Panchatsharam, P. K., Durland, J., & Zito, P. M. (2021). Physiology, erection. StatPearls. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK513278/
Sooriyamoorthy, T. & Leslie, S. W. (2021). Erectile dysfunction. StatPearls. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK562253/
Yafi, F. A., Jenkins, L., Albersen, M., et al. (2016). Erectile dysfunction. Nature Reviews: Disease Primers, 2, 16003. doi: 10.1038/nrdp.2016.3. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC5027992/
Youn, G. (2017). Why do healthy men experience morning erections? The Open Psychology Journal, 10(1), 49–54. doi: 10.2174/1874350101710010049. Retrieved from https://openpsychologyjournal.com/VOLUME/10/PAGE/49/FULLTEXT/













