Does Medicare Cover Viagra and Other ED Treatments?
No. Medicare prescription drug plans (Part D) do not cover Viagra, sildenafil, Cialis, or Levitra when they are prescribed to treat erectile dysfunction. This is a federal law, not a plan choice: a 2005 amendment to the Social Security Act specifically excludes "a drug when used for the treatment of sexual or erectile dysfunction" from the drugs Part D can cover, effective for plan year 2007. The same medicines can be covered, however, when a doctor prescribes them for a different FDA-approved condition, such as sildenafil for pulmonary arterial hypertension or tadalafil for an enlarged prostate. Coverage follows the diagnosis, not the pill.
Does Medicare cover Viagra for erectile dysfunction?
No. When Viagra (or its generic, sildenafil), Cialis (tadalafil), or Levitra (vardenafil) is prescribed to treat erectile dysfunction (ED), Medicare Part D drug plans cannot cover it. This is true for stand-alone Part D plans and for the drug coverage built into Medicare Advantage plans.
The reason is a federal statute. In October 2005, Congress amended Section 1860D-2(e)(2)(A) of the Social Security Act to exclude from the definition of a covered Part D drug "a drug when used for the treatment of sexual or erectile dysfunction." The exclusion took effect beginning with the 2007 plan year and still applies today.
Because this is written into law, no Part D plan is required to cover ED drugs, and most do not. Do not expect Medicare to help with the cost of Viagra prescribed for ED.
When the same drug IS covered: it depends on the diagnosis
The exclusion is about why the drug is prescribed, not about the drug itself. The very same molecule can be covered or excluded depending on the medical condition it is treating.
An ED drug meets the definition of a Part D drug, and may be covered, when it is prescribed for a different medically accepted indication that has FDA approval. Two common examples:
- Sildenafil (the active ingredient in Viagra) is also sold as Revatio for pulmonary arterial hypertension (high blood pressure in the lungs). Prescribed for that condition, it can be a covered Part D drug.
- Tadalafil (the active ingredient in Cialis) is also approved to treat benign prostatic hyperplasia (BPH), an enlarged prostate. Prescribed for that condition, it can be a covered Part D drug.
- Bottom line: if your doctor is treating a non-ED condition that the drug is FDA-approved for, ask your plan whether it is on the formulary. If the prescription is for ED, plan to pay out of pocket.
Can a Medicare Advantage or enhanced plan cover ED drugs anyway?
Sometimes, but only as an optional extra. Part D sponsors are allowed to offer ED drugs as a supplemental benefit through enhanced (also called "enhanced alternative") drug coverage. This is voluntary, not part of the required Part D benefit.
In practice, very few plans choose to do this, and where it exists the coverage, copays, and quantity limits vary widely from plan to plan. Never assume a Medicare Advantage plan includes ED drug coverage. If this matters to you, read the plan's formulary and Evidence of Coverage before enrolling, or call the plan and ask specifically whether it covers ED medication as a supplemental benefit and what you would pay.
What about Part B, penile implants, pumps, and doctor visits?
Part D is the drug side of the question. Some non-drug ED treatments and related care fall under Medicare Part B instead, but the rules differ by treatment:
- Doctor visits and diagnostic tests: A visit with your doctor to evaluate erectile dysfunction, and medically necessary diagnostic testing, are generally Part B services. After you meet the 2026 Part B annual deductible of $283, you typically pay 20% coinsurance of the Medicare-approved amount.
- Penile implant (penile prosthesis) surgery: When a surgically implanted device is medically necessary, it is generally covered under Part B (or Part A if performed as an inpatient stay), subject to the usual deductibles and coinsurance. Coverage depends on medical necessity, so confirm with your doctor and Medicare before scheduling.
- Vacuum erection devices (penis pumps): NOT covered. The ABLE (Achieving a Better Life Experience) Act of 2014 removed vacuum erection devices from Medicare coverage. Since July 1, 2015, Medicare denies these claims as statutorily non-covered.
- Remember that Part B-covered services require Part B enrollment. The standard Part B premium in 2026 is $202.90 per month.
Costs if a covered (non-ED) prescription applies
If you are prescribed one of these drugs for a covered non-ED condition (such as sildenafil for pulmonary hypertension), normal Part D rules and costs apply.
In 2026, Part D has a $2,100 annual out-of-pocket cap. Once your out-of-pocket spending on covered drugs reaches that amount, you pay $0 for the rest of the calendar year for covered drugs.
If you need a Part D plan for a covered indication and did not enroll when first eligible (and had no other creditable drug coverage), a late-enrollment penalty may apply. The penalty is 1% of the 2026 national base beneficiary premium of $38.99 for each full month you went without coverage, rounded to the nearest $0.10, and it is added to your premium for as long as you have Part D.
Your options if Medicare won't cover your ED medication
If your prescription is for erectile dysfunction, Medicare will not pay, so it helps to plan for the out-of-pocket cost. Brand-name Viagra and Cialis can be expensive, but generics (sildenafil and tadalafil) are usually far cheaper. Consider these approaches:
- Ask your doctor or pharmacist about the generic (sildenafil or tadalafil), which often costs a fraction of the brand price.
- Compare cash prices across pharmacies and check pharmacy discount programs or manufacturer savings cards, which can be used outside of Medicare.
- Note that paying cash for an ED drug does not count toward your Part D out-of-pocket spending, because the drug is not a covered Part D drug.
- Medicaid coverage of ED drugs varies by state and is separate from Medicare; if you are dually eligible, ask your state Medicaid office about its rules.
- These are general options, not medical or financial advice. Talk with your own doctor and pharmacist about what is right for you.
Frequently asked questions
Does Medicare cover generic Viagra (sildenafil) for ED?
No. The exclusion applies to the molecule when it is used to treat sexual or erectile dysfunction, so both brand-name Viagra and generic sildenafil are excluded from Part D when prescribed for ED. Generic sildenafil is usually much cheaper to buy out of pocket, however.
Does Medicare cover sildenafil (Revatio) for pulmonary hypertension?
It can. When sildenafil is prescribed for pulmonary arterial hypertension, a different FDA-approved condition, it is not being used for erectile dysfunction, so it can be a covered Part D drug. Check that it is on your plan's formulary.
Does Medicare cover tadalafil (Cialis) for an enlarged prostate?
It can. Tadalafil is FDA-approved for benign prostatic hyperplasia (BPH). Prescribed for that condition rather than for ED, it can qualify as a covered Part D drug, subject to your plan's formulary and rules.
Does Medicare cover penis pumps (vacuum erection devices)?
No. The ABLE Act of 2014 removed vacuum erection devices from Medicare coverage. Since July 1, 2015, Medicare denies these claims as statutorily non-covered.
Does any Medicare Advantage plan cover ED drugs?
A small number of plans may offer ED drugs as an optional supplemental benefit through enhanced Part D coverage, but this is voluntary and not required. It varies by plan, so confirm directly with the plan and read its Evidence of Coverage before relying on it.
Sources
Related guides
Medicare Login Guide is an independent resource and is not affiliated with or endorsed by Medicare, the Centers for Medicare & Medicaid Services, or any government agency. This article is for general information only — confirm current figures and your specific options at medicare.gov or by calling 1-800-MEDICARE.