ICD code N52.9 – Erectile dysfunction unspecified
Billable Code Specific Code
N52.9 is the billable ICD-10-CM code for male erectile dysfunction, unspecified.
The code sits in Chapter 14 (Diseases of the Genitourinary System) of the CMS ICD-10-CM code set and is valid for FY2027 (effective October 1, 2026). Most N52.9 claim denials trace back to two mistakes: using it when documentation actually supports a specific subcode, or applying it when the documented cause is psychogenic rather than organic.
- Chapter
- N00-N99 Diseases of the genitourinary system
- Category
- N52 Male erectile dysfunction
- Group
- N52.9 Male erectile dysfunction, unspecified
- Billable
- Yes
- Code also known as
- ED, male erectile disorder, impotence, penile dysfunction, male sexual dysfunction
Let Pabau's smart automation suggest the right codes, reduce claim denials, and keep your practice compliant—effortlessly.
- AI-powered code suggestions
- Real-time compliance checks
- Faster claims, fewer denials
Automate repetitive tasks and focus on what matters most—your patients.
Reduce coding errors and ensure compliance with the latest regulations.
Clean claims, fewer denials, and faster reimbursements.
Powerful insights and reporting to help your practice thrive.
HIPAA compliant SOC 2 certified GDPR-compliant Trusted by 4,000+ clinics worldwide
Key Takeaways
N52.9 applies to organic ED only when no specific N52 subcode is supportable – not as a convenient default.
Psychogenic ED always uses F52.21 (Chapter 5), never N52.9; an Excludes1 note in the tabular list makes these codes mutually exclusive.
Drug-induced ED requires N52.2, not N52.9 – the causative medication must also be coded using adverse effect conventions.
Pabau’s urology workflow tools support structured ED documentation capture and real-time claim scrubbing to reduce N52.9-related denials.
ICD-10 code N52.9: Definition and code facts
ICD-10 code N52.9 is the unspecified residual code within the N52 category of ICD-10-CM, used when erectile dysfunction is documented as organic in origin but no more specific subcategory can be assigned based on the available clinical record. The official descriptor is “Erectile dysfunction, unspecified.” The code is male-specific: A gender edit will fire if N52.9 is submitted on a claim for a female patient.
The table below summarises the key reference facts coders and billers need before submitting a claim with N52.9.
The N52 category: Where N52.9 fits in the hierarchy
N52.9 is the residual leaf code at the bottom of the N52 Male erectile dysfunction category. Every other code in the N52 family identifies a specific organic etiology. When documentation names one of those etiologies, that specific subcode takes precedence over N52.9. The CDC/NCHS ICD-10-CM web tool lists the full hierarchy for verification each fiscal year.
What N52.9 covers and what it excludes
N52.9 covers organic erectile dysfunction in male patients when the documented clinical picture does not point to a specific vascular, post-surgical, drug-induced, or systemic cause. It is the code of last resort within the N52 category. Using it when the note does contain a cause-specific finding is a coding compliance violation under ICD-10-CM Official Guidelines Section I.A.5, which requires coding to the highest level of specificity the documentation supports. When a penile duplex scan billed as CPT 93980 documents arterial insufficiency, N52.01 replaces N52.9.
The following conditions are explicitly excluded from N52.9 and must be coded elsewhere:
- Psychogenic erectile dysfunction: Code F52.21 (Excludes1 – cannot be used on the same claim as N52.9)
- Drug-induced erectile dysfunction: Code N52.2 (requires the causative drug to be additionally coded as an adverse effect)
- Erectile dysfunction following radical prostatectomy: Code N52.31
- Erectile dysfunction following radiation therapy: Code N52.32
- Erectile dysfunction due to arterial insufficiency: Code N52.01
- Erectile dysfunction due to diabetes mellitus: Code to the underlying diabetic condition (E11.x with manifestation coding) first, then N52.1
N52.9 vs F52.21: Organic vs psychogenic erectile dysfunction
F52.21 is the correct code for psychogenic erectile dysfunction – meaning ED attributed to a psychological cause such as anxiety, depression, or relationship factors rather than an organic structural one. The ICD-10-CM tabular places an Excludes1 note at N52.9 pointing to F52.21, which means these two codes cannot appear on the same claim. The distinction matters not just for compliance, but because payers process them under different clinical justification requirements.
When a patient presents with both documented psychological factors and a suspected organic component, the provider must determine the primary etiology and document it clearly. Ambiguous notes that describe “mixed” etiology without designating a primary cause leave the coder unable to assign either code with confidence.
N52.9 vs N52.2: Drug-induced erectile dysfunction
N52.2 is the correct code when a documented medication is the proximate cause of the patient’s erectile dysfunction. Using N52.9 instead constitutes down-coding when the physician’s note identifies the offending drug.
Drug classes that commonly cause erectile dysfunction include antihypertensives (beta-blockers, thiazide diuretics), SSRIs, antiandrogens, and opioids. When any of these is identified as the cause, the coder must:
- Assign N52.2 as the principal diagnosis or comorbidity for the ED.
- Apply the appropriate adverse effect code for the causative drug using the ICD-10-CM Table of Drugs and Chemicals. The adverse effect code documents that the drug was taken correctly as prescribed.
The AAPC Codify ICD-10-CM lookup can help verify adverse effect code assignments when multiple drug interactions are involved.
Specific N52 codes that take precedence over N52.9
Any of the following documented findings should trigger the matching specific code rather than N52.9. The documentation trigger column identifies the minimum note content required to justify each subcode.
Documentation requirements for erectile dysfunction ICD-10 code N52.9
Accurate documentation is what separates a defensible N52.9 claim from a denial. The physician’s note must actively support the conclusion that the ED is organic in origin and that none of the specific subcodes are applicable. Good medical billing compliance starts at the point of documentation.
The following checklist outlines the minimum documentation content required to support N52.9:
- Explicit ED statement: The note must use the words “erectile dysfunction” or “erectile disorder.” Vague references to “sexual concerns” are not sufficient.
- Onset, duration, and severity: Document how long the patient has experienced ED and any characterisation of severity (e.g. inability to achieve vs maintain erection).
- No documented organic-cause qualifier: The absence of a named vascular, post-surgical, or drug cause must be apparent from the note – not merely assumed. If Doppler or testosterone testing has been ordered, document the reason.
- Psychological cause ruled out or not addressed: If a mental health etiology is considered and excluded, state that clearly. If psychological assessment has not occurred, note that the working diagnosis is organic pending further workup.
- Relevant history: Record any cardiovascular risk factors, diabetes, medications, and prior urological procedures. These contextualise the unspecified assignment and demonstrate due diligence.
- Diagnostic workup performed or planned: Note any testosterone panels, nocturnal penile tumescence (NPT) testing, or penile Doppler ordered, even if results are pending at the time of coding.
Pro Tip
Run a documentation query on N52.9 claims every 90 days. Flag any claim where the physician note contains the word ‘surgery,’ ‘radiation,’ ‘prostatectomy,’ ‘drug,’ or the name of a known causative medication. These claims likely warrant a more specific code and are denial candidates if submitted as N52.9.
Payer coverage and insurance requirements for N52.9
Medicare coverage for ED treatments is limited and governed by Local Coverage Determinations (LCDs). CMS LCD L33628 for penile prostheses, and related LCDs for vacuum erection devices, require a documented diagnosis of erectile dysfunction. However, N52.9 – as an unspecified code – may not satisfy the specificity requirements some payers impose for durable medical equipment (DME) claims. Using N52.9 alone on a prosthesis or vacuum erection device claim carries a higher denial risk than submitting a specific organic subcode where the documentation supports one. Oral sildenafil for ED is billed as HCPCS code S0090 where a plan accepts S-codes. Medicare Part D excludes it by statute.
For standard office evaluation and management services, N52.9 is generally accepted by most payers subject to their own LCD policies. Use the CMS Physician Fee Schedule lookup to verify current payment parameters by code and locality. Submit claims through a clearinghouse integration to validate diagnosis-to-procedure pairings before they reach the payer. Pabau’s Claim.MD clearinghouse integration routes claims to 4,000+ US payers and flags N52.9 pairing errors in real time, well before a denial is generated.
Commercial payer policies vary. Prior authorisation requirements for penile prosthesis implants and injection therapy frequently require a more specific ED diagnosis code than N52.9. Always confirm the individual payer’s LCD or clinical coverage policy before assuming N52.9 will satisfy medical necessity criteria for high-cost procedures. Reviewing electronic remittance advice after submission helps identify payer-specific adjustment reason codes tied to code specificity edits.
N52.9 claim denial reasons
Most N52.9 denials fall into one of six patterns. Identifying which pattern caused a denial is the first step in a successful appeal or in preventing recurrence. Structured denial management workflows make this audit systematic rather than reactive.
- Specificity edit: Documentation supports a more specific code (N52.01, N52.31, etc.) but N52.9 was submitted. Payer auto-edits flag unspecified codes when specific codes are available.
- Wrong code category: Psychogenic ED documented in the note; payer system detects that F52.21 (not N52.9) is the appropriate code and rejects on code-category mismatch.
- DME specificity requirement: Claim includes penile prosthesis (CPT 54400 or 54405) or vacuum erection device (HCPCS A4557) paired with N52.9; LCD requires a specific organic etiology code.
- Gender edit: N52.9 submitted on a claim where the patient sex field shows female. The edit is automatic and does not require manual review to fire.
- Age edit: Some payers apply age edits to ED diagnosis codes. Verify the payer’s specific age range parameters before submitting.
- Insufficient documentation: Medical record does not support the unspecified assignment because a cause is implied but not explicitly excluded, or the note is too brief to meet medical necessity review standards.
Submitting a clean claim from the outset – with correct code pairing, complete patient demographics, and documentation that actively supports the N52.9 assignment – eliminates the first four denial types before they occur.
Reduce N52.9 claim denials with smarter urology workflows
Pabau’s integrated claims management and documentation tools help urology and men’s health practices capture the right level of coding specificity at the point of care, reducing denial rates before claims leave the practice.

CPT codes commonly paired with N52.9
N52.9 is a diagnosis code, not a procedure code. It must always be paired with the CPT code that describes the service rendered. The table below lists the most common CPT codes billed alongside an N52.9 erectile dysfunction diagnosis, with brief pairing notes. For current reimbursement values, use the CMS Physician Fee Schedule lookup. Accurate code pairing across diagnosis and procedure supports effective revenue cycle management for urology practices.
Comorbidity sequencing alongside N52.9
Many patients presenting with erectile dysfunction carry comorbid conditions that must be coded alongside N52.9. Sequencing rules determine which code serves as the principal diagnosis.
- Benign prostatic hyperplasia (N40.x): Code both conditions when each is managed during the encounter. BPH is generally sequenced first if it is the primary reason for the visit; N52.9 is secondary.
- Diabetes mellitus (E11.x): When diabetes is the documented underlying cause of the ED, code the diabetic condition with the appropriate manifestation code first (E11.x with N52.1 for ED due to conditions classified elsewhere), not N52.9.
- Hypertension (I10): Code separately when documented as an active comorbidity. If a hypertensive medication is causing the ED, switch from N52.9 to N52.2 and add the adverse effect code.
- Elevated PSA (R97.20): Code as an additional diagnosis when noted in the same encounter. N52.9 remains primary for the ED when no prostatic cause is confirmed.
- Depression (F32.x / F33.x): Code separately. If the physician’s note attributes the ED to the depressive disorder or its pharmacological treatment, reconsider whether F52.21 or N52.2 is more accurate than N52.9.
How practice management software supports accurate ED coding
The documentation failures that drive N52.9 denials are largely preventable with the right workflow infrastructure. When a urologist or men’s health clinician sees a patient for ED, the EHR note structure determines whether the resulting claim is clean or will require a costly rework cycle.
Pabau’s urology claims management and clinical documentation tools are designed around this problem. Structured intake forms prompt the clinician to document onset, duration, relevant medications, and surgical history – the exact fields that differentiate N52.9 from N52.31, N52.32, or N52.2 at the point of care rather than at the billing desk. When those fields are captured consistently, the coder has what they need to assign the most specific code the documentation supports, and the claim goes out clean. For men’s health clinic software built around urology workflows, that specificity is built into the process rather than retrofitted after a denial.

Real-time claim scrubbing through the Claim.MD clearinghouse catches pairing mismatches before the claim reaches the payer – including gender edits on N52.9 and procedure-to-diagnosis mismatches for DME claims. The result is a lower denial rate, faster payment, and less time spent on retrospective documentation queries.
Is N52.9 valid for FY2027?
Yes. ICD-10 code N52.9 remains a valid, billable ICD-10-CM code for FY2027, effective October 1, 2026. No revisions to the N52 category were introduced in the FY2027 update cycle. Coders should verify code currency annually against the official ICD-10-CM code list published by CMS/NCHS, as the N52 subcategory has been expanded in past update cycles with new post-surgical and combined etiology codes. Any new subcode addition would narrow the situations in which N52.9 is appropriately assigned.
Conclusion
N52.9 is a valid but narrow code. It applies only when erectile dysfunction is organic in documented cause and when no specific N52 subcode, drug-induced code, or psychogenic code is supportable by the clinical record. The majority of N52.9 denials are documentation problems in disguise – a note that is too thin to rule out a more specific code, or a note that actually names a cause the coder did not act on.
Pabau’s structured documentation and claims tools help urology and men’s health practices close that gap at the point of care. Book a demo to see how the ED documentation workflow operates in practice.
Continue your research
Need a clearinghouse integration for urology claims? Claim.MD clearinghouse integration with Pabau routes ICD-10-coded claims to 4,000+ US payers with real-time eligibility and denial reason codes.
Looking for denial pattern analysis tools? Denial codes in medical billing explains common CARC codes and how to map them back to documentation or coding errors.
Want to understand the full claims submission workflow? What is medical billing covers the end-to-end process from encounter to remittance for US practices.
Frequently Asked Questions
What is ICD-10 code N52.9 used for?
ICD-10 code N52.9 is the billable diagnosis code for erectile dysfunction, unspecified – used when the physician documents organic erectile dysfunction but the clinical record does not contain enough detail to assign a more specific N52 subcode. It sits in Chapter 14 (Diseases of the Genitourinary System) and applies only to male patients.
What is the difference between F52.21 and N52.9?
N52.9 codes organic erectile dysfunction (vascular, neurological, or unspecified physiological cause); F52.21 codes psychogenic erectile dysfunction (psychological cause such as anxiety or depression). An Excludes1 note in the ICD-10-CM tabular means these codes cannot appear on the same claim. The correct code depends entirely on what the physician documents as the primary etiology.
When should you use N52.9 instead of a more specific erectile dysfunction code?
Use N52.9 only when the physician’s note documents erectile dysfunction as organic in character but does not identify a specific vascular, post-surgical, drug-induced, or systemic cause that would support a more precise subcode. If the note references a radical prostatectomy, radiation therapy, arterial insufficiency, or a named causative medication, a specific N52 subcode or N52.2 must be used instead.
Why would a claim with N52.9 be denied?
The most common reasons are: Documentation supports a more specific N52 subcode that wasn’t used; the payer’s LCD for a DME item (penile prosthesis, vacuum erection device) requires a specific organic etiology code; a gender edit fires because the patient sex field shows female; or the physician note is too brief to demonstrate medical necessity for the service billed.
Is N52.9 covered by Medicare?
N52.9 is accepted by Medicare for standard evaluation and management services, subject to applicable LCDs. For high-cost procedures such as penile prosthesis implants or vacuum erection devices, Medicare LCDs may require a more specific organic etiology code than N52.9. Always verify the relevant LCD before submitting N52.9 as the sole supporting diagnosis on a DME or surgical claim.
How does N52.9 differ from N52.2 (drug-induced erectile dysfunction)?
N52.9 is used when no specific cause is documented; N52.2 is used when the physician has identified a specific medication as the proximate cause of the erectile dysfunction. When N52.2 applies, the coder must also assign an adverse effect code for the causative drug using the ICD-10-CM Table of Drugs and Chemicals. Using N52.9 when a drug cause is clearly documented in the note constitutes down-coding.



