ICD-10 Code for Erectile Dysfunction: N52 Codes and Billing Guide

Editorial Transparency
Created by: Billing Service Quotes Editorial Team (Urology Bill Co is powered by Billing Service Quotes).
Technical Review: Tim Daniels, Director of Strategic Accounts, Billing Service Quotes.
Billing Service Quotes is a matching platform for providers searching for vetted medical billing companies. Finding a match is 100% for providers.

QUICK ANSWER

  • What is the ICD-10 code for erectile dysfunction? The ICD-10 code for erectile dysfunction is N52, Male erectile dysfunction, a category that must be billed with a specific subcode. N52.9 reports unspecified erectile dysfunction, while N52.01 to N52.03 report vasculogenic causes, N52.1 reports ED due to another disease, N52.2 reports drug-induced ED, and N52.31 to N52.39 report ED following procedures such as radical prostatectomy.
  • Is N52 billable? No. N52, N52.0, and N52.3 are headers, so the claim needs a complete code such as N52.9, N52.1, or N52.31.
  • What about psychogenic ED? Psychogenic impotence is classified to F52.21 and is excluded from N52, so the two are never reported together.
  • Why does the specific code matter? Treatments such as penile prosthesis implantation face prior authorization, and a cause-specific N52 code backs up medical necessity where an unspecified code invites a denial.
  • Want more urology code guides? Browse the Urology Bill Co resource library.

N52 Code Family: Every Erectile Dysfunction Code

The N52 category sorts erectile dysfunction by cause. Choosing the right subcode is less about the symptom, which is the same in every case, and more about what the urologist documents as the reason for it.

ICD-10 CodeDescriptionBillable?When to Use
N52.01ED due to arterial insufficiencyYesDuplex or workup shows reduced arterial inflow
N52.02Corporo-venous occlusive EDYesVenous leak documented
N52.03Combined arterial insufficiency and corporo-venous occlusive EDYesBoth mechanisms documented
N52.1ED due to diseases classified elsewhereYesED caused by diabetes, Parkinson’s, MS, or another condition coded first
N52.2Drug-induced EDYesED attributed to a medication, with the adverse effect code
N52.31ED following radical prostatectomyYesPost-prostatectomy ED
N52.32ED following radical cystectomyYesPost-cystectomy ED
N52.33ED following urethral surgeryYesAfter urethroplasty or similar surgery
N52.34ED following simple prostatectomyYesAfter simple prostatectomy for BPH
N52.35ED following radiation therapyYesAfter external beam radiation
N52.36ED following interstitial seed therapyYesAfter brachytherapy
N52.37ED following prostate ablative therapyYesAfter cryotherapy, HIFU, or other ablation
N52.39Other and unspecified postprocedural EDYesAny other procedure, or procedure not specified
N52.8Other male erectile dysfunctionYesA documented cause that fits no other subcode
N52.9Male erectile dysfunction, unspecifiedYesCause not yet established

Three codes in this family are headers and are never billed: N52 itself, N52.0 (vasculogenic ED), and N52.3 (postprocedural ED). Practice management systems sometimes list them in pick lists, which is how they end up on claims.

N52.9 is a legitimate code at the first visit, before testing establishes a cause. The problem starts when it stays on the chart after the workup is done. One question we hear constantly from urology practice managers is why ED treatment claims deny when the diagnosis is “correct.” The usual answer is that N52.9 was billed with a procedure that requires a documented cause, such as a penile prosthesis after failed medical therapy. Keep your system current with each October update, which we track in our breakdown of the October 2026 ICD-10 code changes for urology.

How to Choose the Right N52 Code by Cause

The cause the urologist documents drives the code. Here is how the four main pathways work in practice.

Disease-related ED (N52.1). N52.1 carries a “code first underlying disease” instruction, so the condition causing the ED is sequenced first. For a patient with type 2 diabetes and ED attributed to it, that commonly means E11.69 (type 2 diabetes with other specified complication) followed by N52.1. The same pattern applies to neurologic causes such as multiple sclerosis or Parkinson’s disease. If the note says only “ED” and separately lists “diabetes” without linking them, N52.1 is not supported, and N52.9 is the honest code until the provider documents the connection.

Drug-induced ED (N52.2). Report N52.2 with an additional code identifying the drug’s adverse effect from the T36 to T50 range, using the fifth or sixth character 5. Antihypertensives, antidepressants, and antiandrogens are common culprits in urology charts.

Postprocedural ED (N52.31 to N52.39). This is where urology practices lose the most specificity. A patient with ED after radical prostatectomy belongs in N52.31, not N52.9, and a patient after radiation belongs in N52.35. These codes tell the payer the ED has a clear, treatment-related cause, which strongly supports penile rehabilitation and prosthesis claims.

Vasculogenic ED (N52.01 to N52.03). Use these only when testing documents the mechanism, typically penile duplex ultrasound showing arterial insufficiency or venous leak. Without that study in the record, an arterial or venous code is unsupported on audit.

Two related diagnoses round out the picture. Testicular hypofunction (E29.1) is often coded alongside ED when low testosterone is documented, but it does not replace an N52 code. And psychogenic impotence (F52.21) is an Excludes1 condition, so it is never billed with any N52 code on the same claim.

Which CPT Codes Pair With N52?

The CPT codes most often billed with N52 diagnoses are 54405 for multi-component inflatable penile prosthesis insertion, 54400 and 54401 for non-inflatable and self-contained inflatable prostheses, 54235 for intracavernosal injection, and 93980 or 93981 for penile duplex studies. Evaluation and management visits round out most ED encounters.

CPT / HCPCS CodeServiceN52 Billing Note
54405Multi-component inflatable penile prosthesisSpecific N52 code plus failed conservative therapy documented
54400 / 54401Non-inflatable or self-contained inflatable prosthesisSame documentation standard as 54405
54235Injection of corpora cavernosa with pharmacologic agentBill the drug separately, such as J0270 for alprostadil
93980 / 93981Penile duplex scan, complete or limitedSupports N52.01 to N52.03 vasculogenic codes
99202 to 99215Office E/M visitModifier 25 when a procedure is performed the same day

Two nuances catch practices often. First, revision surgery changes the diagnosis. When a multi-component prosthesis is removed and replaced (54410 or 54411), the primary diagnosis usually shifts from N52 to a device complication code in the T83.4- series, with the N52 code supporting the underlying condition. Second, injection therapy needs both lines on the claim: 54235 for the administration and the drug code, since billing the procedure without the drug leaves money on the table.

When an injection or procedure happens at the same visit as a separately identifiable evaluation, the E/M needs modifier 25, which faces payment pressure under the proposed 2027 modifier 25 cut for urology. Bundling edits also change quarterly, as our review of the Q4 2026 NCCI edits for urology explains.

Medicare Coverage and Prior Authorization for ED Treatment

Coverage for erectile dysfunction is uneven, and that is exactly why the diagnosis code carries so much weight. Medicare Part D does not cover drugs used to treat erectile dysfunction, so oral medications such as sildenafil are typically a patient expense when prescribed for ED. Procedures are a different story. Medicare covers medically necessary diagnosis and treatment of impotence, including penile prosthesis implantation, when documentation supports it.

That support is now tested before surgery in some states. Under the CMS WISeR model, which launched January 1, 2026, traditional Medicare patients in New Jersey, Ohio, Oklahoma, Texas, Arizona, and Washington need prior authorization for penile prosthesis codes 54400, 54401, and 54405. The model runs through 2031. Our guide to the WISeR model and urology prior authorization covers the full workflow.

Medicare Advantage and commercial plans run their own prior authorization programs, and requirements shift often. Check each plan’s current list, as our coverage of UHC prior authorization changes for urology shows.

In our experience matching urology practices with billing partners, the practices that get prosthesis authorizations approved on the first submission send three things together: a cause-specific N52 code, a documented history of failed or contraindicated medical therapy, and the relevant testing. Requests built on N52.9 alone are the ones that stall.

Penile prosthesis authorizations and ED claims denying for vague diagnoses? Get matched with urology billing companies that code N52 claims correctly the first time, free.

Why Erectile Dysfunction Claims Get Denied

The most common issue we see urology practices run into with ED claims is not a single dramatic error. It is a vague diagnosis code paired with a high-value procedure, repeated until the denials add up.

Here are the six denial triggers we see most often on N52 claims:

  • Header code on the claim. N52, N52.0, or N52.3 submitted without a complete subcode fails the payer’s validity edit.
  • Unspecified code on a surgical claim. N52.9 billed with 54405 when the chart documents a clear cause such as radical prostatectomy.
  • Missing code-first condition. N52.1 billed without the underlying disease sequenced first.
  • Psychogenic and organic codes together. F52.21 billed with an N52 code violates the Excludes1 rule.
  • No prior authorization. A prosthesis performed on a WISeR or Medicare Advantage patient without approval on file.
  • Unsupported vasculogenic code. N52.01 to N52.03 billed without duplex or other testing in the record.

Here is what that looks like in practice. A urology group performs a 54405 prosthesis on a traditional Medicare patient in Ohio, two years after radical prostatectomy. The claim goes out with N52.9, no WISeR authorization on file, and a single-line history of “ED, failed meds.” It denies, and the appeal requires the operative history, medication trials, and a retroactive review that may never come. Coded N52.31 with an approved authorization and documented failed therapy, the same case pays on first submission. For high-value procedures, that difference decides whether the claim is a routine payment or a months-long write-off risk.

When to Outsource Urology Billing for ED Care

Coding one ED visit correctly is straightforward. Coding hundreds of urology encounters a month, while tracking WISeR authorizations, Medicare Advantage rules, modifier 25 changes, and annual ICD-10 updates, is a full-time job. That is where many urology practices fall behind.

Providers often come to us after months of watching prosthesis and injection claims stall. The pattern repeats: diagnosis codes left at N52.9 after the workup, authorizations requested with thin documentation, and denials aging past appeal windows. A specialized urology billing company fixes that by checking diagnosis specificity before submission, managing prior authorizations end to end, and working denials while they are still recoverable.

The cost question is simpler than most practices expect. Billing companies in our network offer rates starting as low as 2.95% of collections, and the right partner often recovers more in prevented denials than the fee itself. Billing Service Quotes has connected more than 2,000 providers across all 50 states, drawing on more than 15 years in medical billing, and finding a match is free.

When you speak with a prospective partner, ask how they handle WISeR and Medicare Advantage prior authorizations, how they audit diagnosis specificity on surgical claims, and how quickly they load each October ICD-10 update. Comparing urology billing services takes one short form and no commitment.

Frequently Asked Questions

What is the ICD-10 code for erectile dysfunction?

The ICD-10 code for erectile dysfunction is N52, Male erectile dysfunction, which must be reported with a specific subcode. Use N52.9 when the cause is unspecified, or a cause-specific code such as N52.1 for disease-related ED, N52.2 for drug-induced ED, or N52.31 after radical prostatectomy.

Is N52.9 a billable code?

Yes. N52.9, Male erectile dysfunction, unspecified, is billable. It fits an initial visit before the cause is known. Once testing or history establishes a cause, switch to the specific N52 code, because N52.9 weakens medical necessity on procedures such as penile prosthesis implantation.

What is the ICD-10 code for erectile dysfunction after prostatectomy?

Erectile dysfunction following radical prostatectomy is N52.31. Erectile dysfunction after a simple prostatectomy for BPH is N52.34. Other prostate treatments have their own codes, including N52.35 after radiation therapy, N52.36 after seed implants, and N52.37 after ablative therapy such as cryotherapy.

How do you code erectile dysfunction due to diabetes?

Sequence the diabetes first, then add N52.1, ED due to diseases classified elsewhere, because N52.1 carries a code-first note. For type 2 diabetes, that is commonly E11.69 followed by N52.1. The provider must document that the diabetes is causing the ED.

Can F52.21 and N52 be billed together?

No. Psychogenic impotence, F52.21, is an Excludes1 condition for the N52 category, so the two are never reported together. Use F52.21 when the ED is documented as psychogenic and an N52 code when the cause is organic, drug-induced, or postprocedural.

Does Medicare cover erectile dysfunction treatment?

Medicare covers medically necessary diagnosis and treatment of impotence, including penile prosthesis surgery. Part D does not cover drugs used for ED. Since 2026, traditional Medicare patients in six WISeR model states also need prior authorization for penile prosthesis codes 54400, 54401, and 54405.

Next Steps

ICD-10-CM is maintained by CMS and the NCHS, and CPT codes and descriptors are maintained by the American Medical Association. Both are provided here for reference. Code validity, Excludes1 notes, coverage rules, and prior authorization requirements change over time and vary by payer, by Medicare contractor, and by state, so verify against the current official code set, your contractor’s local coverage determination, the current WISeR model participant list, and individual payer policies before billing.

Stop losing revenue to vague ED diagnoses and missed prior authorizations. Get matched with urology billing companies in our network, with rates starting as low as 2.95%. Matching is 100% free.

Tags :
Share it :

Where should we send your quote(s)?

We'll send it directly to your inbox

How many providers does your practice have?

We'll find a billing company that can support your needs

Where is your practice located?

We'll find a billing company that serves providers in your area

loading

Get Matched In 30 Minutes

Get a FREE Quote

Tell us about your practice and we'll connect you with trusted billing companies.

100% Free to providers — No hidden fees at any stage

Tim Daniels
Online now
Tim Daniels

How can I help?

Send me your number and I'll personally call you in less than 24 hours to discuss any questions you may have about our urology billing partners

Mon–Fri, 9:00am–5:30pm Or email instead →
Got it — talk soon.
I'll call you within one business hour. Check your phone for an unknown number.