Erectile Dysfunction After Hip Replacement
Understand why it happens, recovery timelines, and treatment options with support from UK pharmacists.
Takes less than 2 minutes to complete 100% online

Erectile Dysfunction After Hip Replacement: Causes, Recovery and Treatment
Published: 15 October 2026
Erectile dysfunction after hip replacement affects many men during their recovery period, but it is often temporary and treatable. Hip surgery can impact sexual function through several mechanisms, including nerve irritation, reduced mobility, pain, medication side effects, and psychological factors such as anxiety about the new joint. Understanding why erections may be affected and knowing the available treatment options can help you regain confidence and intimacy as you recover.
Key takeaways
- Erectile dysfunction after hip replacement is common but usually temporary, improving within three to six months.
- Pain, reduced mobility, medication side effects, and anxiety about the new joint all contribute to erectile difficulties.
- Physiotherapy, cardiovascular exercise, and healthy lifestyle choices support both physical and sexual recovery.
- PDE5 inhibitors like sildenafil and tadalafil are effective treatments available after a UK prescriber consultation.
- Seek GP advice if erectile dysfunction persists beyond six months or if you have new concerning symptoms.
Why Does Erectile Dysfunction Occur After Hip Replacement?
Hip replacement surgery can temporarily affect erectile function through multiple pathways. During the procedure, particularly with an anterior or anterolateral approach, the surgical field lies close to nerves and blood vessels that supply the pelvic region. While surgeons take great care to protect these structures, temporary nerve irritation or swelling in the surrounding tissues can occasionally interfere with the signals needed for an erection [1].
Pain and reduced mobility after surgery are significant contributors to erectile difficulties. Discomfort in the hip, groin, or lower back can make sexual activity uncomfortable or impossible in the early weeks of recovery. Many men also experience anxiety about damaging their new joint, which creates psychological stress that directly impacts erectile function [2].
Medications prescribed during recovery—including strong painkillers (opioids), muscle relaxants, and some blood pressure medicines—can also affect erections as a side effect. Additionally, the general anaesthetic and temporary reduction in physical activity during the post-operative period can influence blood flow and hormone levels, both of which are essential for normal erectile function [1][2].
How Long Does Erectile Dysfunction Last After Hip Surgery?
For most men, erectile dysfunction after hip replacement is temporary and improves as the body heals. In the first two to six weeks following surgery, pain, restricted movement, and medication side effects are at their peak, and sexual activity is typically not recommended during this early recovery phase. Your surgical team will provide specific guidance on when it is safe to resume intimate activities based on your individual healing progress.
Between six weeks and three months post-surgery, many men notice gradual improvement in erectile function as pain subsides, mobility increases, and they reduce or stop pain medications. Physiotherapy and a return to normal daily activities help restore blood flow, muscle strength, and confidence. By three to six months, the majority of men who experienced post-surgical erectile difficulties find that their function returns to pre-surgery levels or better, especially if underlying health conditions are also managed [2].
However, if erectile dysfunction persists beyond six months, it is important to speak with your GP or surgical team. Ongoing difficulties may indicate an underlying cardiovascular or hormonal issue that was present before surgery but became more noticeable during recovery. Early assessment allows for appropriate investigation and treatment [1][2].
Factors That Influence Recovery Time
Several factors affect how quickly erectile function returns after hip replacement. Age, overall cardiovascular health, pre-existing conditions such as diabetes or high blood pressure, and the surgical approach used can all play a role. Men who were physically active before surgery and who engage with physiotherapy tend to recover sexual function more quickly. Psychological factors, including anxiety, depression, or relationship stress, can also prolong erectile difficulties and may benefit from counselling or support [2].
At a glance
Rehabilitation and Lifestyle Measures to Support Recovery
Active participation in your physiotherapy programme is one of the most effective ways to support both physical and sexual recovery after hip replacement. Physiotherapy exercises improve blood flow, rebuild muscle strength, and restore the range of motion needed for comfortable sexual activity. As your mobility improves, so does your confidence and ability to engage in intimacy without fear of pain or injury.
Cardiovascular exercise, once cleared by your surgical team, is particularly beneficial for erectile function. Walking, swimming, and cycling (on a stationary bike initially) improve circulation and heart health, both of which are essential for strong erections. Aim for at least 150 minutes of moderate activity per week as your recovery allows [1][2].
Other lifestyle measures include maintaining a healthy weight, eating a balanced diet rich in fruits, vegetables, whole grains, and lean protein, and avoiding excessive alcohol. Smoking is a major risk factor for erectile dysfunction and can slow healing after surgery, so quitting smoking is strongly recommended. Managing stress through relaxation techniques, good sleep, and open communication with your partner can also make a significant difference to sexual recovery [1][2].
Communicating With Your Partner
Open and honest communication with your partner is vital during recovery. Discussing your concerns, setting realistic expectations, and exploring alternative forms of intimacy can reduce anxiety and strengthen your relationship. Many couples find that focusing on closeness and affection, rather than performance, helps to rebuild sexual confidence gradually and naturally [2].
| Stage | What to Expect | Options |
|---|---|---|
| 0–6 weeks post-surgery | Pain, restricted movement, medication side effects; sexual activity not usually recommended | Focus on physiotherapy, pain management, and wound healing; discuss concerns with surgical team |
| 6 weeks–3 months | Gradual improvement in mobility and comfort; many men notice erectile function returning | Resume gentle activity as advised; consider lifestyle measures (exercise, healthy diet, stress management) |
| 3–6 months | Most men return to pre-surgery erectile function; ongoing improvement expected | If ED persists, consult GP; oral PDE5 inhibitors (sildenafil, tadalafil, vardenafil, avanafil) may be prescribed after assessment |
| 6+ months | Persistent ED may indicate underlying cardiovascular or hormonal issue | GP review and investigation; consider specialist referral if first-line treatments ineffective |
Treatment Options for Erectile Dysfunction After Hip Replacement
If erectile dysfunction persists despite lifestyle measures and adequate recovery time, effective medical treatments are available. The first-line treatment for most men is oral medication known as PDE5 inhibitors, which include sildenafil (Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Spedra). These medicines work by increasing blood flow to the penis in response to sexual stimulation, making it easier to achieve and maintain an erection [1][2][3][4][5][6].
Sildenafil is typically taken about one hour before sexual activity and is effective for around four to six hours. Tadalafil can be taken on-demand (at least 30 minutes before sex, with effects lasting up to 36 hours) or as a lower daily dose for men who prefer spontaneity. Vardenafil works similarly to sildenafil, while avanafil has a faster onset of action, often within 15 to 30 minutes. All of these medicines require sexual stimulation to work and are available on prescription after a clinical assessment [3][4][5][6].
At Cured Pharmacy, our UK-registered prescribers review your medical history, current medications, and recovery status during an online consultation to ensure any treatment is safe and appropriate for you. This is particularly important after surgery, as some pain medications and other drugs can interact with ED treatments. If oral medicines are not suitable or effective, your GP may discuss alternative options such as vacuum erection devices, alprostadil (as a cream or injection), or referral to a specialist [2][7].
Focus on Physiotherapy First
Active participation in your physiotherapy programme is one of the most effective ways to restore blood flow, mobility, and confidence—all of which support sexual recovery after hip replacement.
Important Safety Considerations and Drug Interactions
PDE5 inhibitors are safe and effective for most men, but they are not suitable for everyone. You must never take these medicines if you are using nitrates (such as GTN spray, isosorbide mononitrate, or isosorbide dinitrate), nicorandil, riociguat, or recreational drugs known as 'poppers' (amyl or alkyl nitrites). Combining PDE5 inhibitors with these substances can cause a dangerous drop in blood pressure [3][4][5][6].
If you take alpha-blockers for prostate symptoms or high blood pressure (such as tamsulosin, doxazosin, or alfuzosin), you may still be able to use ED treatments, but you must be stable on the alpha-blocker and start on the lowest dose of the PDE5 inhibitor. Your prescriber will check this carefully during your consultation [3][4][5][6].
Certain medicines that affect liver enzymes—such as ritonavir, cobicistat, ketoconazole, itraconazole, and clarithromycin—can increase levels of PDE5 inhibitors in your blood, requiring dose adjustments or avoidance. Conversely, medicines like rifampicin, carbamazepine, phenytoin, and St John's wort can reduce effectiveness. Always declare every medicine, supplement, and herbal product you are taking during your consultation, and do not stop or change any prescribed treatment without professional advice [3][4][5][6][12].
Seek urgent medical help if you experience an erection lasting more than four hours (priapism), sudden loss of vision or hearing, or chest pain during sexual activity. These are rare but serious side effects that require immediate attention [3][4][5][6].
When Sexual Activity Is Not Advisable
PDE5 inhibitors are not suitable if sexual activity itself is inadvisable due to severe heart conditions, such as recent heart attack or stroke, unstable angina, severe heart failure, very low blood pressure, or certain inherited eye disorders. Your prescriber will assess your cardiovascular health and surgical recovery to ensure treatment is safe for you [3][4][5][6].
When to Seek Medical Help for Erectile Dysfunction After Hip Replacement
It is important to see your GP if erectile dysfunction persists beyond six months after hip replacement, as this may indicate an underlying health issue that needs investigation. Erectile dysfunction can be an early warning sign of cardiovascular disease, diabetes, or hormonal imbalances, all of which benefit from early detection and treatment [1][2].
You should also seek medical advice if you experience new or worsening symptoms such as pain during erections, blood in your semen, difficulty urinating, or loss of libido. These symptoms may require further assessment to rule out other conditions. If you notice sudden changes in your general health, such as unexplained weight loss, fatigue, or mood changes, discuss these with your doctor as well [1][2].
If you are already taking ED medication and it stops working, or if you experience side effects such as severe headache, dizziness, visual disturbances, or prolonged erections, contact your prescriber or GP promptly. Do not increase the dose or take additional medicines without professional guidance. Remember, erectile dysfunction is common, treatable, and nothing to be embarrassed about—healthcare professionals are there to help you regain your quality of life and confidence [1][2].
When to get urgent help
- Erection lasting more than 4 hours (priapism)—go to A&E immediately
- Sudden loss of vision or hearing—seek urgent medical attention
- Chest pain during sexual activity—stop and call 999 if severe or persistent
- Severe dizziness, fainting, or signs of allergic reaction after taking ED medication—seek immediate help
Call 999 or go to A&E in an emergency, or contact NHS 111 for urgent advice.
Scientific References
- NHS. (n.d.). Erectile dysfunction (impotence). NHS website. https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/ [accessed 15 October 2026]
- National Institute for Health and Care Excellence. (n.d.). Erectile dysfunction. Clinical Knowledge Summaries. https://cks.nice.org.uk/topics/erectile-dysfunction/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Sildenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/sildenafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Tadalafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/tadalafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Vardenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/vardenafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Avanafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/avanafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Alprostadil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/alprostadil/ [accessed 15 October 2026]
- Electronic Medicines Compendium. (n.d.). Summaries of Product Characteristics and Patient Information Leaflets. https://www.medicines.org.uk/emc/ [accessed 15 October 2026]
Information on this page is for educational purposes only and is not medical advice. Prescription treatments require clinical assessment by a UK-registered prescriber. Always consult a qualified healthcare professional before starting or changing any medication.
Get Discreet ED Treatment Online
Reviewed by UK-based prescribers · Takes under 3 minutes · Discreet Packaging
ED Treatments We Offer
Pricing Disclaimer: Prices on some pages may not be up to date — the live pricing table below and pricing shown during consultation are official current prices and take precedence over any other figures on the site.









Trusted by thousands
Real people, real results
“Fabulous service and quick delivery”
“Felt the effects of these after about 5 days. Erections are better and can get aroused and ready easier”
“Excellent value and brilliant customer service”
“I received excellent service and everything went well. The order arrived quickly and in perfect condition. It's working very well! Thank you to the whole team for the great work!”
“Delivery was good, the product lived up to expectations.”
How Our Online Service Works
Select from our recommended UK-licensed medications.
1Choose your treatment

Select safe UK treatments. Quick answers.
2Answer quick questions

We will deliver direct to you as quickly as tomorrow.
3Get it delivered fast

Your Questions Answered
Can't find your answer? Our UK pharmacists review every consultation and can help.
Is erectile dysfunction common after hip replacement surgery?
Yes, temporary erectile difficulties are relatively common after hip replacement due to pain, reduced mobility, medication side effects, and anxiety about the new joint. Most men find that function improves as they recover.
How soon after hip replacement can I resume sexual activity?
Your surgical team will provide individual guidance, but most men are advised to wait at least six weeks or until pain and mobility have significantly improved. Always follow your surgeon's specific recommendations.
Can the surgical approach affect erectile function?
The anterior or anterolateral approach places the surgical field closer to pelvic nerves and blood vessels, which may increase the risk of temporary nerve irritation. However, most effects are short-lived and resolve as swelling subsides.
Will painkillers affect my erections after surgery?
Yes, opioid painkillers and some muscle relaxants can cause erectile difficulties as a side effect. As you reduce or stop these medications during recovery, erectile function often improves.
Are PDE5 inhibitors safe to use after hip replacement?
PDE5 inhibitors such as sildenafil and tadalafil are generally safe after hip replacement, provided you have no contraindications and your prescriber reviews your current medications and cardiovascular health during an online consultation.
What if erectile dysfunction does not improve after six months?
Persistent erectile dysfunction beyond six months warrants a GP review to investigate possible underlying cardiovascular, hormonal, or psychological causes. Early assessment allows for appropriate treatment and specialist referral if needed.
Can I take ED medication if I am on blood thinners after surgery?
Blood thinners (anticoagulants) do not usually prevent the use of PDE5 inhibitors, but your prescriber will review all your medications during the consultation to ensure there are no interactions or contraindications.
Does physiotherapy help with erectile dysfunction after hip replacement?
Yes, physiotherapy improves blood flow, muscle strength, and mobility, all of which support sexual recovery. Cardiovascular exercise also benefits erectile function by enhancing circulation and heart health.
Medically reviewed by
Tarun Kumar, Superintendent Pharmacist (GPhC 2233073)
Last updated on 15 October 2026.
Review History
Our experts continually monitor new findings in health and medicine, and we update our articles when new information becomes available.
Why this page was updated on 15 October 2026
Content checked and updated as part of our periodic review, to ensure accuracy and currentness.
Current version (15 October 2026)
Edited by: The Editorial Team
Medically reviewed by:
Tarun Kumar, GPhC No. 2233073, Superintendent Pharmacist
How we source info.
When we present you with stats, data, opinion or a consensus, we'll tell you where this came from.