What is the diagnosis code for erectile dysfunction treated with Midenafil (Sildenafil)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: December 10, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Diagnosis Code for Erectile Dysfunction

The ICD-10 diagnosis code for erectile dysfunction treated with sildenafil (or any PDE5 inhibitor like "midenafil") is N52.9 (Male erectile dysfunction, unspecified), with more specific codes available based on etiology.

Specific ICD-10 Codes for Erectile Dysfunction

The coding should reflect the underlying cause when known:

  • N52.01: Erectile dysfunction due to arterial insufficiency
  • N52.02: Corporo-venous occlusive erectile dysfunction
  • N52.03: Combined arterial insufficiency and corporo-venous occlusive erectile dysfunction
  • N52.1: Erectile dysfunction due to diseases classified elsewhere (requires coding the underlying condition first)
  • N52.2: Drug-induced erectile dysfunction
  • N52.31: Erectile dysfunction following radical prostatectomy
  • N52.32: Erectile dysfunction following radical cystectomy
  • N52.33: Erectile dysfunction following urethral surgery
  • N52.34: Erectile dysfunction following simple prostatectomy
  • N52.35: Erectile dysfunction following radiation therapy
  • N52.36: Erectile dysfunction following interstitial seed therapy
  • N52.37: Erectile dysfunction following prostate ablative therapy
  • N52.39: Other post-surgical erectile dysfunction
  • N52.8: Other male erectile dysfunction
  • N52.9: Male erectile dysfunction, unspecified

Clinical Context for Coding

When prescribing PDE5 inhibitors like sildenafil or tadalafil, the diagnosis code should reflect the patient's specific etiology if known, as this impacts treatment expectations and cardiovascular risk stratification 1.

Key considerations for accurate coding:

  • Cardiovascular disease history: Patients with ischemic heart disease, hypertension, or diabetes should have these conditions coded separately, as they affect PDE5 inhibitor efficacy and safety 1, 2
  • Post-surgical ED: Men with ED following prostate cancer treatment (N52.31-N52.37) respond less robustly to PDE5 inhibitors and may require higher doses or combination therapy 1, 3
  • Testosterone deficiency: If concurrent hypogonadism exists, code both conditions separately (E29.1 for testicular hypofunction), as combination therapy with testosterone may be more effective than PDE5 inhibitors alone 1, 3

Documentation Requirements

For insurance authorization and appropriate medical record documentation, specify:

  • The specific N52 code based on etiology
  • Any cardiovascular risk factors (hypertension, diabetes, coronary artery disease) that require risk stratification before PDE5 inhibitor therapy 1
  • Previous treatment failures or contraindications to oral therapy if considering alternative treatments 1

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Tadalafil for Erectile Dysfunction

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.