Enjoy sex like you used to

Learn more

14 Ways to Get Harder Erections

Kelly Brown MD, MBA

Reviewed by Kelly Brown MD, MBA

Written by Erica Garza

Published 07/12/2019

Updated 07/26/2024

When you’re sexually aroused, your brain and blood vessels join forces to give you an erection. It’s a complex process, but when all goes as planned, this erection should be hard enough to penetrate your partner.

But things don’t always go as planned. If you’re wondering how to get harder erections, you may have to take a hard look at your lifestyle and make a few tweaks.

Every year, tens of millions of men in the United States alone deal with some degree of erectile dysfunction (ED) or erection problems, preventing them from enjoying the sex life they deserve.

Stress, poor diet, circulation issues — there are a number of reasons why you may not be getting hard. And as you age, the risk increases. But these problems can also appear well before retirement — statistics show that even though about 70 percent of men will be affected by ED by the age of 70, a staggering 40 percent of men will experience similar problems by the age of forty.

So, if you’re wondering how to get hard — and stay hard — during sex, you’re not alone, and you’ve come to the right place.

Below, we’ll dive into some of the easiest science-backed ways to get harder faster and improve your erection quality for a more fulfilling sex life.

A quick rundown on what triggers getting hard in the first place. There are two crucial parts to an erection: sexual stimulation (whether visual, physical or mental) and increased blood flow to the penis.

But these processes can go haywire if you’re not caring for your mind, body and sexual health. Want to know how to get stronger erections? Consider making the following 14 improvements:

  • Reduce stress

  • Exercise regularly

  • Try Kegels

  • Follow a healthy diet

  • Incorporate amino acids into your diet

  • Limit alcohol intake

  • Quit smoking

  • Sleep more

  • Maintain a healthy weight

  • Check testosterone levels

  • Cut back on porn

  • Communicate with your partner

  • Explore new things in the bedroom

  • Try ED Medications

The question of how to get harder erection quality has many answers, and some of them may not require much medical intervention if you’re willing to make changes. But many of these changes take time.

If you want to learn how to get an erection fast, there are medicinal options we’ll get to later, but before you meet with a healthcare provider to talk about these medications, it's important to reflect on your lifestyle habits first. Do they align with general men's health recommendations?

Let's dig deeper into these lifestyle changes for erectile dysfunction and sexual performance.

ED treatment

Hard facts on better erections

1. Reduce Stress

Stress can affect almost every aspect of your health — from your mental function to your physical well-being. As if that wasn’t bad enough, wait until we tell you how stress affects your erections.

When you’re stressed, your body undergoes changes on a hormonal level, including ramping up the production of the hormone cortisol. When your cortisol levels are chronically high, you may be at a higher risk of experiencing anxiety and depression, both of which can affect sexual function. People who experience performance anxiety and other psychological erectile problems know this all too well.

While there are few studies that specifically track the effects of stress on erection quality, there are several studies linking stress with poorer sexual satisfaction.

Some of the best stress reduction strategies include:

  • Staying active

  • Spending time with friends and family

  • Avoiding unhealthy habits

  • Prioritizing your mental health

  • Getting enough sleep

  • Doing a creative activity

  • Signing up for online therapy

Our guide to the psychological causes of ED goes into more detail on the effects that stress can have on your sex life, as well as ED treatment options.

2. Exercise Regularly

Wondering how to get really hard? Head to the gym.

No, we’re not just talking about your abs. When it comes to erection quality, blood flow is the most important piece of the puzzle. In fact, it’s fair to say erections can’t happen without it. It’s also fair to say that life in general also doesn’t happen without blood flow, but we digress.

When you’re aroused, blood flows into your penis to give it the size and firmness that are required for penetrative sex. That’s how erections work.

When your cardiovascular system is strong and healthy, the process of getting and maintaining an erection becomes much easier for your body.

And what’s the best way to keep your cardiovascular system strong and healthy? That’s right — exercise!

One of the most effective ways to improve your heart health and function is by staying active and getting regular exercise. Luckily, you don’t have to go crazy.

In a meta-analysis published in the journal Sexual Medicine, researchers found that 40 minutes of moderate to vigorous exercise four times a week is enough to reduce erectile dysfunction.

However, this effect only occurred in men who experienced ED as a result of physical conditions such as obesity, metabolic syndrome, inactivity, hypertension and cardiovascular disease.

Generally, the Centers for Disease Control and Prevention (CDC) recommends adults get 150 minutes of moderate-intensity aerobic activity per week — that’s a little over 20 minutes per day.

3. Try Kegels

One exercise you might consider working into your routine doesn’t have to be done at the gym. Kegels help both men and women strengthen the muscles of the pelvic floor, which can help prevent all sorts of problems (like urinary incontinence) down the line.

They’re also great practice for controlling your climaxes, so they could be a part of a plan to increase your stamina while boosting your erection quality.

4. Follow a Healthy Diet

Yes, even what you eat at the dinner table every night can affect how you perform in the bedroom afterward, so a healthy diet is essential for sexual performance.

Erectile dysfunction is closely linked to high blood pressure. Common foods that contribute to high blood pressure when eaten in excess as part of your diet include deli meats, canned foods, fast food and other foods high in sodium.

On the other hand, what foods improve erectile function? A diet that’s rich in fish, nuts, legumes, vegetables, fruits, whole grains, fresh ingredients and unsaturated fats may help keep your blood pressure in a healthy range. The Mediterranean diet is a great example.

5. Incorporate Amino Acids into your Diet

A particular dietary element might also improve your erection quality: amino acids. L-citrulline and L-arginine are both considered vasodilators, and while they may not work as well as medication according to some research, getting these from foods like melon and cucumbers, fish, meat, grains and dairy can help your body function more effectively — as part of a balanced diet, of course. If you don’t have access to a wide variety of foods, you can also get these important nutrients from supplements.

6. Limit Alcohol Intake

In addition to food, alcohol consumption can have a negative impact on your erectile health and sexual performance.

While a glass or two of wine or beer isn’t likely to hurt your erections, studies show a clear link between chronic and persistent alcohol use and sexual dysfunction.

You don’t have to quit drinking in moderation (unless you want to), but pumping the brakes on nights when you’re planning to share some intimacy could be the same kind of strategic decision as carrying some breath mints.

7. Quit Smoking

Smoking is bad for you. Terrible, really. You already knew that. But did you know that smoking is also bad for your erectile health?

The nicotine in cigarettes can cause your blood vessels to narrow, reducing the amount of blood that can flow into the soft tissue of your penis when you’re sexually aroused. This means slower, weaker erections and a higher risk of losing your erection during sex due to poor blood flow.

Smoking also contributes to atherosclerosis, or the buildup of plaque inside your arteries. This further reduces your cardiovascular health and harms blood flow, increasing your risk of getting heart disease and erectile dysfunction.

If you smoke and have ED, it’s important to think about quitting smoking to improve your health and boost your sexual performance.

8. Sleep More

About 35 percent of American adults fail to get seven or more hours of sleep per night.

And since not getting enough shut-eye every night is also closely associated with higher stress levels, and since stress can affect your sex drive and sexual performance… Well, you see what we’re getting at.

Previously, researchers thought that sleep deprivation caused testosterone levels to drop in men. However, a recent study that analyzed sleep restriction and its impact on testosterone levels concluded that there were no adverse effects on testosterone levels in the healthy young men involved.

That means there needs to be more research to have conclusive results.

Nevertheless, a lack of sleep can still cause poor circulation and negatively impact your sexual health. Your doctor will be able to provide medical advice on sleep disorders, especially if your sleep issues are serious or chronic.

9. Maintain a Healthy Weight

In a study out of Poland, researchers found that men with a body mass index (BMI) in the obese range were three times more likely to experience sexual dysfunction than their average-sized counterparts. Weight can cause erectile problems.

Even being overweight but not obese can increase your risk of ED. In the same study, men with a BMI in the overweight range were 1.5 times more likely to develop ED.

Maintaining a healthy body weight is one proven way to improve your erectile function and sexual performance, as well as reduce your risk of developing certain health conditions like type 2 diabetes.

10. Check Testosterone Levels

Low testosterone in men can lead to a number of problems, including low sex drive, difficulty sleeping and, you guessed it, erection problems.

If you’re starting to experience low testosterone symptoms, talk to a healthcare professional and see about doing a testosterone levels test to check your hormones. This simple blood test can tell you everything you need to know.

If you’re suffering from a deficiency, hormone therapy can help you increase your testosterone, which can help reverse symptoms within four to six weeks.

11. Cut Back on Porn

Porn is safe and healthy (and very normal!) in moderation, but if you get to a point where you’re watching too much of it, some experts think it may start interfering with the pleasure receptors in your brain. Yes, really.

Often referred to as “porn-induced erectile dysfunction,” it occurs when your porn habits start to interfere with the parts of your brain associated with reward sensitivity. As you can probably guess, this can affect your sexual performance and reduce your brain’s response to sexual stimulation.

In a recent study published in the journal Computers in Human Behavior, researchers found that watching porn (among other online sexual activities, or OSAs) was closely linked to both lower overall sexual satisfaction and lower erectile function.

The solution? Consider limiting your porn consumption or avoiding porn outright if you want to get or maintain an erection.

12. Communicate with Your Partner

We get it. Talking about erectile problems can be uncomfortable for all parties involved. But it’s important to keep in mind the negative effects of ED can affect both you and your partner. And it’s equally important to be able to talk openly about what’s happening below the belt.

People are into different things, and being able to articulate what those things are and communicate about what you both need to have the best sex possible is the name of the game.

13. Explore New Things in the Bedroom

Speaking of communication, don’t be afraid to experiment with your partner. After all, it’s not just older men who sometimes struggle to get hard. Younger men can also face the same issues.

And sometimes, those issues can be solved simply by working to figure out just what — exactly — excites you.

Some fun ways to mix things up in the bedroom include:

  • Playing dress-up

  • Giving each other massages

  • Trying new positions

  • Sharing your fantasies with each other

  • Playing with sex toys

  • Talking dirty

Take it from Him

"Sexually, I was having a harder time keeping a full and hard erection through the duration of our experiences. Thanks to Hims, I am experiencing quicker and longer erections, plus it gives me the ability to have fun multiple times in succession.

"The orgasms have been explosive and I can’t say enough about the process with Hims and what they have done to positively alter my sex life."

- Brian, 48

Incentivized Review

If you have date plans later tonight and are worried you may not rise to the occasion, some of the tips mentioned above may even help you get an erection as soon as possible.

For instance, if you’re dealing with stress or performance anxiety, you can try breathing techniques or a quick meditation session before the big moment. You can also make sure not to eat a meal that’s high in fat or drink too much alcohol beforehand.

Erections are also about being sexually stimulated, whether it’s physical stimulation (touching yourself or how your partner touches you), mental stimulation (arousing thoughts) or visual stimulation (erotic images or videos).

Talk to your partner about what turns you on and how you like to be touched, or if there’s something that you want to try that you think might get you sexually stimulated and ready for action. This can be a good foreplay idea to get both of you in the mood while preparing your penis for action.

The last option to consider for getting hard is not a cure, but it does work fast:

  • ED medication

In many cases, men think they want to get really hard really fast, but they actually want to stay hard longer, and medications may help you do that.

Changes to your lifestyle can help treat some causes of erectile dysfunction, but if you have ED, you’ll often get the best results by calling for backup and combining lifestyle changes with prescription drugs to improve your erections.

And that journey starts with a doctor’s appointment. Currently, there are four FDA-approved oral medications for treating ED and improving your sexual performance:

  • Sildenafil (sold as Viagra®)

  • Tadalafil (Cialis®)

  • Vardenafil (Levitra®)

  • Avanafil (Stendra®)

These treatment options are called PDE5 inhibitors and are commonly used to treat erectile dysfunction. In some cases, they are also FDA approved to treat pulmonary arterial hypertension and benign prostatic hyperplasia (BPH).

These drugs work by inhibiting PDE5, an enzyme responsible for regulating blood flow to the soft tissues inside your penis. They’re taken orally and are designed for use anywhere from 15 minutes to a few hours before sex.

Our guide to what you should expect from ED medication explains how these medications work in more detail. Here’s how they work:

Sildenafil (Generic Viagra®)

Sildenafil is the most widely used of the four FDA-approved oral erectile dysfunction medications.

You can find sildenafil sold under the brand name Viagra, though it’s now available as a generic medication. Brand name Viagra and generic sildenafil work in exactly the same way and cause the same improvements in sexual performance.

Sildenafil takes around 30 minutes to one hour to start fully working, meaning you’ll want to take it at least that amount of time before you plan to have sex. The effects of this medication wear off after about four hours.

Tadalafil (Cialis®)

Tadalafil is another popular medication for improving your erections and helping you to stay hard during sex.

You can find tadalafil sold under the brand name Cialis and as a generic medication. 

Compared to sildenafil, tadalafil is a long-lasting erectile dysfunction drug. Its effects last for up to 36 hours per dose, making it an option worth considering if you want to treat ED and improve your sexual performance for one or a couple days at a time. In fact, it’s sometimes called “the weekend pill.”

Vardenafil (Levitra®)

Vardenafil is another PDE5 inhibitor that shares similar effects to sildenafil. It starts working within one hour, but lasts for slightly longer than sildenafil, with effects usually starting to wear off after around five hours.

You can find vardenafil sold under the brand name Levitra or as a generic medication.

Avanafil (Stendra®)

Avanafil is the new ED medication on the block. It was designed throughout the 2000s and approved by the FDA in 2012 as an alternative to sildenafil, tadalafil and other PDE5 inhibitors.

Currently, avanafil is only available under the brand name Stendra. Since it’s a new medication for ED, a generic version isn’t on the market yet.

Avanafil starts working faster than other ED medications and is designed for use about 15 minutes before sex, which means if things are going from zero to 100 with the quickness, you can still be ready for anything.

It’s also less likely to cause certain side effects than older ED medications, as it targets fewer PDE enzymes.

Our guide to Stendra explains more about how avanafil works and its advantages over other ED drugs.

What About Lidocaine Spray?

Lidocaine is a topical anesthetic that lowers the sensitivity level of specific parts of your body — including your penis.

Studies show that when used in combination with sildenafil, delay spray with lidocaine increases the total amount of time before ejaculation.

Our guide to how lidocaine spray works explains this medication in more detail, as well as how you can use it to avoid premature ejaculation and improve your sex life.

Other Options

The list of possible ways to treat ED doesn’t stop there. There are injectable and intraurethral medications for ED, including alprostadil, BiMix, TriMix, and QuadMix. Beyond these, the FDA has recently authorized a non-medicated, non-prescription topical gel for the treatment of ED that gets rubbed on the head of the penis.

And then there are vacuum erectile devices and penis rings, for those who want to try gadgets, and surgery, for those with severe ED.

ED Treatment

Enjoy sex like you used to

How to get an erection and improve sexual performance — whether that means learning how to get hard fast, last longer or just have a more enjoyable time in bed — involves several factors:

  • Physical. Improve your cardiovascular function and overall physical well-being.

  • Mental. Concentrate on your psychological health by addressing any anxiety, depression, lack of self-confidence or mental health issues.

  • Habitual. Create health habits by following a nutritious diet, doing more physical activity and cutting back on alcohol, tobacco and illicit drugs.

  • Scientific. Use science-based medications and other ED treatments. A medical professional can prescribe several safe and effective prescriptions for dealing with ED.

Since no two people are the same, your path to better sexual performance and better erections could involve making changes to one, two, three or all four of these things.

If you’re interested in taking action against ED, you can view our range of erectile dysfunction treatments online.

You can also learn more about dealing with ED in our guide to erectile dysfunction, which goes over common causes, risk factors and treatment options for ED.

27 Sources

  1. Lakin, M. & Wood, H. (2018, June). Erectile Dysfunction. Retrieved from https://www.clevelandclinicmeded.com/medicalpubs/diseasemanagement/endocrinology/erectile-dysfunction/
  2. -What is Cortisol? (2018, November). Retrieved from https://www.hormone.org/your-health-and-hormones/glands-and-hormones-a-to-z/hormones/cortisol
  3. -Yafi, F.A., et al. (2016). Erectile dysfunction. Nature Reviews Disease Primers. 2, 16003. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5027992/
  4. -Bodenmann, G., Atkins, D.C., Schär, M. & Poffet, V. (2010, June). The association between daily stress and sexual activity. Journal of Family Psychology. 24 (3), 271-9. Retrieved from https://pubmed.ncbi.nlm.nih.gov/20545400/
  5. Manage Stress. (2021, June 10). Retrieved from https://health.gov/myhealthfinder/topics/health-conditions/heart-health/manage-stress
  6. Josefsson, et al. (2018, June). Physical Activity to Improve Erectile Function: A Systematic Review of Intervention Studies. Sexual Medicine. 6 (2), 75–89. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5960035/
  7. Arackal, B.S. & Benegal, V. (2007, April-June). Prevalence of sexual dysfunction in male subjects with alcohol dependence. Indian Journal of Psychiatry. 49 (2), 109–112. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2917074/
  8. Benowitz, N.L. & Burbank, A.D. (2016, August). Cardiovascular Toxicity of Nicotine: Implications for Electronic Cigarette Use. Trends in Cardiovascular Medicine. 26 (6), 515–523. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4958544/
  9. Tsujimura, A., et al. (2017, June). Atherosclerosis is associated with erectile function and lower urinary tract symptoms, especially nocturia, in middle-aged men. Prostate International. 5 (2), 65–69. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5448724/
  10. Smith, I., Salazar, I., RoyChoudhury, A., & St-Onge, M. P. (2019). Sleep restriction and testosterone concentrations in young healthy males: randomized controlled studies of acute and chronic short sleep. Sleep health, 5(6), 580–586. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6917985/
  11. Data and Statistics. (2017, May 2). Retrieved from https://www.cdc.gov/sleep/data_statistics.html
  12. Bogdański, et al. (2014, February). Obesity--significant risk factor for erectile dysfunction in men. Polski Merkuriusz Lekarski. 36 (212), 137-41. Retrieved from https://pubmed.ncbi.nlm.nih.gov/24720114/
  13. -Wéry, A. & Billieux, J. (2016, March). Online sexual activities: An exploratory study of problematic and non-problematic usage patterns in a sample of men. Computers in Human Behavior. 56, 257-266. Retrieved from https://www.sciencedirect.com/science/article/abs/pii/S0747563215302612
  14. Kühn, S. & Gallinat, J. (2014, July). Brain Structure and Functional Connectivity Associated With Pornography Consumption. JAMA Psychiatry. 71 (7), 827-834. Retrieved from https://jamanetwork.com/journals/jamapsychiatry/fullarticle/1874574
  15. Erection Ejaculation: How It Occurs. (2020, November 27). Retrieved from https://my.clevelandclinic.org/health/articles/10036-erection-ejaculation-how-it-occurs
  16. Beating high blood pressure with food. (2019, August 23). Retrieved from https://www.health.harvard.edu/newsletter_article/beating-high-blood-pressure-with-food
  17. Atkins, et al. (2010, June). The association between daily stress and sexual activity. Journal of Family Psychology. 24 (3), 271-9. Retrieved from https://pubmed.ncbi.nlm.nih.gov/20545400/
  18. Leproult, R. & Van Cauter, E. (2011, June 1). Effect of 1 Week of Sleep Restriction on Testosterone Levels in Young Healthy Men. JAMA. 305 (21), 2173–2174. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4445839/
  19. VIAGRA® (sildenafil citrate) tablets, for oral use. (2014, March). Retrieved from https://www.accessdata.fda.gov/drugsatfda_docs/label/2014/20895s039s042lbl.pdf
  20. CIALIS (tadalafil) tablets, for oral use. (2011, October). Retrieved from https://www.accessdata.fda.gov/drugsatfda_docs/label/2011/021368s20s21lbl.pdf
  21. LEVITRA (vardenafil hydrochloride) tablets, for oral use. (2014, April). Retrieved from https://www.accessdata.fda.gov/drugsatfda_docs/label/2014/021400s017lbl.pdf
  22. STENDRA® (avanafil) tablets, for oral use. (2018, August). Retrieved from https://www.accessdata.fda.gov/drugsatfda_docs/label/2018/202276s018lbl.pdf
  23. Park, H.J., et al. (2017, June). A Randomized, Placebo-Controlled, Double-Blind, Multi-Center Therapeutic Confirmatory Study to Evaluate the Safety and Efficacy of Avanafil in Korean Patients with Erectile Dysfunction. Journal of Korean Medical Science. 32 (6), 1016–1023. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5426242/
  24. Atan, A., et al. (2006, February). Comparison of efficacy of sildenafil-only, sildenafil plus topical EMLA cream, and topical EMLA-cream-only in treatment of premature ejaculation. Urology. 67 (2), 388-91. Retrieved from https://pubmed.ncbi.nlm.nih.gov/16461091/
  25. Hedon, F. Anxiety and erectile dysfunction: a global approach to ED enhances results and quality of life. Int J Impot Res 15 (Suppl 2), S16–S19 (2003). Available from: https://www.nature.com/articles/3900994
  26. Breyer, B. N., Cohen, B. E., Bertenthal, D., Rosen, R. C., Neylan, T. C., & Seal, K. H. (2014, January). Sexual Dysfunction in Male Iraq and Afghanistan War Veterans: Association with Posttraumatic Stress Disorder and Other Combat-Related Mental Health Disorders: A Population-Based Cohort Study. The Journal of Sexual Medicine, 11(1), 75-83. https://www.jsm.jsexmed.org/article/S1743-6095(15)30559-2/fulltext
  27. How much physical activity do adults need? | Physical Activity. (n.d.). CDC. https://www.cdc.gov/physicalactivity/basics/adults/index.htm
Editorial Standards

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 blog@forhims.com!

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.

Kelly Brown MD, MBA
Kelly Brown MD, MBA

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


Research

Published as Kelly Walker



Read more

Related Articles

Start your ED assessment

Answer a few questions so we can help