Can You Have an HSA With Medicaid? Rules and Retroactive Coverage

Yes, you can have an HSA while on Medicaid, but the account goes into a kind of holding pattern: you keep the balance and can still spend it tax-free on qualified medical expenses, but you cannot put new money in while you’re enrolled in full-scope Medicaid. Federal tax law only allows HSA contributions from people whose only health coverage is a qualifying High Deductible Health Plan, and Medicaid pays for medical care without requiring you to meet a high deductible first.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts

Why Medicaid Stops New Contributions

To contribute to an HSA in any given month, you have to be covered by an HDHP and have no other health coverage that pays benefits before you satisfy that deductible.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts Full-scope Medicaid fails that test. It’s comprehensive coverage with little or no cost-sharing, so the IRS treats it the same as any other non-HDHP insurance.

Eligibility is measured on the first day of each month. If you’re enrolled in Medicaid on June 1, June is off the table for contributions, even if your Medicaid started mid-May. Every dollar you deposit for a disqualified month is an excess contribution, and each year the excess sits in the account it draws a 6% excise tax.2Office of the Law Revision Counsel. 26 USC 4973 Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities

When your coverage changes partway through the year, you pro-rate the annual limit by the number of months you held HDHP-only coverage.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Four HDHP-only months out of twelve means you can contribute up to four-twelfths of the annual limit for the year.

Your Existing Balance Stays Yours

Enrolling in Medicaid does nothing to the money already in your HSA. Ownership is permanent. The balance isn’t frozen, forfeited, or clawed back when your insurance status changes. It stays invested, keeps growing tax-free, and remains available to spend.

While you’re on Medicaid, you can withdraw HSA funds tax-free for qualified medical expenses, including things Medicaid doesn’t fully cover such as certain dental treatments, eyeglasses, hearing aids, and over-the-counter medications.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Because qualified HSA distributions are excluded from gross income, they generally don’t affect income-based Medicaid eligibility.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts

One thing HSA money generally can’t cover tax-free is Medicaid premiums. Some states charge monthly premiums for certain Medicaid programs, but the IRS only permits tax-free premium payments from an HSA for a short list that includes COBRA, long-term care insurance, and Medicare premiums after 65. Medicaid premiums aren’t on it.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans

Non-qualified withdrawals before age 65 are taxed as regular income plus a 20% additional tax. After 65, the 20% penalty drops off and the account works more like a traditional retirement account, while qualified medical withdrawals stay completely tax-free at any age.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts

Limited Medicaid Programs That Don’t Disqualify You

Not every form of Medicaid ends your HSA contributions. The statute carves out narrow categories of coverage that don’t count as disqualifying because they don’t overlap with general medical care. You can keep contributing while receiving Medicaid benefits limited to:1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts

  • Dental-only care
  • Vision-only care
  • Long-term care services under a Medicaid waiver focused solely on that
  • Preventive care or disease-specific management programs
  • Accident or disability coverage

The dividing line is whether the program pays for general medical expenses before your HDHP deductible. A Medicaid dental plan doesn’t. Full-scope Medicaid does. If you aren’t sure which category your enrollment falls into, check the enrollment paperwork or ask your state Medicaid agency before you deposit anything.

Watch Out for Retroactive Medicaid Coverage

This is where most people get caught. Federal law lets states provide Medicaid coverage retroactive to three months before the month you applied, as long as you were eligible during that period.4Office of the Law Revision Counsel. 42 USC 1396a State Plans for Medical Assistance If you apply in July and the state finds you were eligible starting in April, your disqualifying coverage effectively started in April. Any HSA contributions you made during those retroactively covered months turn into excess contributions.

If you’re waiting on a Medicaid eligibility decision, the safe move is to pause HSA contributions until the actual coverage start date is settled.

Fixing Excess Contributions

If you contributed during months you turned out to be on Medicaid, whether because you didn’t realize you were enrolled or because a retroactive date caught you, act before the excise tax compounds. The 6% tax applies every year the excess stays in the account.2Office of the Law Revision Counsel. 26 USC 4973 Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities

To avoid the excise tax, withdraw the excess plus any earnings on it by your tax filing deadline, generally April 15 of the year after the excess was contributed. You’ll owe income tax on the withdrawn earnings, but no excise penalty. If the excess came in through an employer cafeteria plan, those employer contributions get added back to your gross income.5Internal Revenue Service. Instructions for Form 8889

Already filed? You have a second window. Withdraw the amount within six months after the original filing deadline and submit an amended return with “Filed pursuant to section 301.9100-2” written at the top, including a corrected Form 8889 and Form 5329 showing the excess removed.5Internal Revenue Service. Instructions for Form 8889 Your HSA administrator will report the corrective distribution on Form 1099-SA with distribution code 2.6Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA

What Happens if a Family Member Is on Medicaid

HSA eligibility is decided person by person, not household by household. If you’re covered by a qualifying HDHP but your spouse or children are enrolled in Medicaid or CHIP, you can still contribute to your own HSA. The disqualification only applies to the individual receiving the non-HDHP coverage.1Office of the Law Revision Counsel. 26 USC 223 Health Savings Accounts

There’s a useful consequence for mixed-coverage households. If you carry family-level HDHP coverage and you’re the only family member not on Medicaid, you can still contribute up to the full family limit, which is $8,750 for 2026.7IRS. Rev. Proc. 2025-19 The only requirement is that you personally have no disqualifying coverage.

HSA Balances and Medicaid Asset Limits

Most working-age adults qualify for Medicaid through income-based (MAGI) rules, which don’t count assets like savings, investments, or HSA balances. Under those rules, your HSA won’t block eligibility.

Asset-tested Medicaid is different. Long-term care Medicaid and some programs serving elderly or disabled individuals use asset limits that can be as low as $2,000 for a single applicant. Whether an HSA counts toward that limit varies by state: some count the amount available for withdrawal, others exclude HSAs entirely. If you’re applying for asset-tested Medicaid, ask your state agency how they treat HSA balances before you assume the money is protected.