Erectile Dysfunction ICD-10 Coding Guide: What You Need to Know

Erectile dysfunction affects millions of men. Clinics see it daily in urology and primary care. Coders need a strong grip on Erectile Dysfunction ICD-10 so claims move fast and clean. Small errors can cause denials and slow care, and that hurts both the patient and the practice.
ED coding gets tricky because it has many causes. The N52 category covers male erectile dysfunction. Psychogenic cases use F52.21. Accurate documentation and the right erectile dysfunction ICD 10 code keep payment accurate and data reliable.
Quick Lookup For Erectile Dysfunction ICD-10 Codes
Most Common Default Code
Psychogenic Erectile Dysfunction Code
- F52.21 Male erectile disorder
Organic And Vascular Causes
- N52.0 Erectile dysfunction due to arterial insufficiency
Drug Induced Erectile Dysfunction ICD-10
- N52.2 Drug induced erectile dysfunction
Due To Other Diseases
- N52.1 Erectile dysfunction due to diseases classified elsewhere
- Always add the code for the underlying disease
Postprocedural Erectile Dysfunction Codes
- N52.3 Postprocedural erectile dysfunction series
- Common example is N52.31 following radical prostatectomy
- Check your current year code set for exact text
How To Choose The Right Code Every Time
Confirm The Problem First
Confirm the visit is about male erectile dysfunction icd 10. If the note says psychogenic, use F52.21. Otherwise start in N52.
Find The Documented Cause
Look for clear words that link ED to a cause. Vascular, disease related, medication related, or after a procedure.
Assign The Most Specific Code
- No cause in the note use N52.9
- Psychogenic use F52.21
- Vascular use N52.0
- Drug related use N52.2
- Due to a disease use N52.1 plus the disease code
- After a procedure use the N52.3 series
Add Supporting Status And Therapy Codes
Add Z79.4 for long term insulin or Z79.84 for long term oral hypoglycemics when your payer expects them.
Primary Erectile Dysfunction ICD-10 Explained
When Primary Means Psychogenic
If the provider means lifelong or psychogenic with no physical cause, use F52.21 Male erectile disorder.
When Primary Means Main Complaint
If ED is the main reason for the visit and no cause is documented, use N52.9 Male erectile dysfunction unspecified.
When The Note Is Not Clear
Send a short query. One line can move you from unspecified to specific and prevent denials.
Diabetes With Erectile Dysfunction ICD-10 Made Easy

Do not link diabetes and ED unless the note says they are linked. ED is not automatically assumed under the diabetes with convention.
When The Link Is Documented
Use the diabetes complication code plus N52.1. Add therapy status codes if they apply.
Type 2 Diabetes Linked To Erectile Dysfunction
- E11.69 Type 2 diabetes mellitus with other specified complication
- N52.1 Erectile dysfunction due to diseases classified elsewhere
- Consider Z79.84 for long term oral therapy
- Consider Z79.4 if on long term insulin
Type 1 Diabetes Linked To Erectile Dysfunction
- E10.69 Type 1 diabetes mellitus with other specified complication
- N52.1 Erectile dysfunction due to diseases classified elsewhere
- Consider Z79.4 for long term insulin therapy
When The Link Is Not Documented
Code them separately without implying causation.
Code Separately Without Causation
- E11.9 Type 2 diabetes without complications
- N52.9 Male erectile dysfunction unspecified
Documentation That Prevents Denials And Rework
Minimum Details To Capture
- Cause of ED when known
- Duration and severity
- Response to therapy so far
- Key risks like smoking or hypertension
- Current medicines that can affect function
Handy Phrases You Can Share
- Erectile dysfunction due to arterial insufficiency
- Diabetic erectile dysfunction type 2 stable on metformin
- Erectile dysfunction due to SSRI therapy
- Psychogenic erectile dysfunction counseling planned
- Erectile dysfunction following radical prostatectomy
Common Errors And Clean Fixes
Do Not Assume Causation
Do not link diabetes and ED unless the note says so.
Do Not Overuse Unspecified
If a cause is documented, do not use N52.9.
Use N52.1 For Disease Causes
When ED is due to a disease coded elsewhere, pair N52.1 with that disease code.
Keep Psychogenic In The Right Chapter
Psychogenic goes to F52.21, not to N52.
Add Status Codes When Expected
Z79.4 and Z79.84 often support diabetes visits. Follow payer rules.
Realistic Coding Scenarios And Answers
Vascular Erectile Dysfunction Linked To Peripheral Arterial Disease
- I70 category code per documentation for peripheral arterial disease
- N52.1 erectile dysfunction due to diseases classified elsewhere
Reason This pairs ED to a specific disease as documented.
Type 2 Diabetes With Erectile Dysfunction Linked In The Note
- E11.69
- N52.1
- Z79.84 when long term oral therapy is in place if policy allows
Reason Clear link documented between diabetes and ED.
Drug Related Erectile Dysfunction Due To SSRI
- N52.2
- Document the SSRI name and plan
Reason A medication is the likely cause and is documented.
Psychogenic Erectile Disorder With Counseling Plan
- F52.21
Reason Mental health origin is documented. Do not use N52.
ED Visit With No Cause Documented Today
- N52.9
Reason There is no stated cause. Revisit documentation next time.
Male Erectile Dysfunction ICD-10 Quick List For Daily Use
- N52.9 Male erectile dysfunction unspecified
- N52.0 Erectile dysfunction due to arterial insufficiency
- N52.1 Erectile dysfunction due to diseases classified elsewhere
- N52.2 Drug induced erectile dysfunction
- N52.3 Postprocedural erectile dysfunction series
- N52.8 Other male erectile dysfunction
- F52.21 Male erectile disorder psychogenic
Final Coder Checklist For Clean Claims
- Confirm the encounter is ED in a male patient
- Find the cause and code to the highest detail
- Use N52.1 with the disease code when ED is due to another disease
- Use F52.21 for psychogenic cases
- Use N52.2 for medication related cases and name the drug in the note
- Use the N52.3 series for postprocedural cases with a documented link
- Add therapy and status Z codes when they apply
- Recheck ICD 10 CM updates every October in the United States
Conclusion And Next Steps For Erectile Dysfunction ICD-10
You do not need guesswork to code ED right. Start with the cause, then choose the most specific Erectile Dysfunction ICD-10 code your note supports. Use the N52 family for organic cases, F52.21 for psychogenic cases, and N52.9 only when no cause is documented. When ED is due to another disease, pair N52.1 with the disease code. For diabetes with erectile dysfunction, use E11.69 or E10.69 plus N52.1, and add therapy status Z codes when they apply. This cause‑first habit keeps claims clean and your data solid.
Strong notes make everything easier. Ask providers for one clear line that names the cause, plus a few basics like duration, severity, and current meds. Do not assume links that are not written in the chart. If anything is unclear, send a short query. It takes a minute and can save days of back and forth with payers.
Keep a tiny cheat sheet at your desk with the everyday picks like N52.9, N52.0, N52.1, N52.2, N52.3, and F52.21. Recheck ICD‑10‑CM updates each October. Use the scenarios and checklist above during intake and final review. Do this, and your erectile dysfunction ICD-10 coding will be fast, accurate, and denial resistant.
FAQ For Erectile Dysfunction ICD-10 Coding
The ICD 10 code for erectile dysfunction when the cause is unspecified is N52.9 (Male erectile dysfunction, unspecified).
N52 is the main ICD 10 category for male erectile dysfunction. It includes different subcodes based on the underlying cause.
For psychogenic erectile dysfunction, the ICD 10 code is F52.21 (Male erectile disorder).
When erectile dysfunction is linked to diabetes in the medical note, use E11.69 (Type 2 diabetes with other specified complication) or E10.69 (Type 1 diabetes with other specified complication) along with N52.1 (Erectile dysfunction due to diseases classified elsewhere). Add Z79.4 (long-term insulin use) or Z79.84 (oral hypoglycemic use) if applicable.
The ICD 10 code for drug-induced erectile dysfunction is N52.2 (Drug-induced erectile dysfunction).
Use the N52.3 postprocedural erectile dysfunction series. N52.31 is commonly used after radical prostatectomy. Always select the most specific code available in your current ICD 10 code set.