Life events

Can you have an HSA if you have Medicaid?

Last reviewed: November 23, 2026. Figures cited to official sources below.

Medicaid usually answers the contribution question and the spending question differently. Coverage that Medicaid provides is generally other health coverage. An existing HSA can often still pay qualified medical expenses.

To contribute, Publication 969 requires that you generally have no other health coverage besides permitted insurance and a short list of disregarded coverage (for example, workers’ compensation, a specified disease or illness, and certain dental or vision coverage). Comprehensive medical coverage, including typical Medicaid benefits, is not on that permitted-insurance list. If Medicaid covers you, you generally cannot contribute for those months.

Some Medicaid programs are narrower than a full-benefit plan — for example, limited-benefit or premium-assistance arrangements. Those facts can matter, and this page cannot classify every state program. If your Medicaid coverage is limited, get advice before you contribute.

You do not have to close an existing HSA because you enrolled in Medicaid. Qualified medical expenses incurred after the account was established can still be paid from it, subject to the usual rules, even in months you cannot contribute. Do not contribute for months you are not eligible; excess amounts can trigger the 6% excise tax until they are corrected.

If you later leave Medicaid and need new eligible coverage, we can quote HSA-eligible plans. Premium tax credits are available only if you enroll through the Marketplace. Leaving Medicaid can also be a coverage change that affects Marketplace enrollment; check the Exchange rules that apply to you.

The first step is still eligible coverage. We mainly quote HSA-eligible plans. Premium tax credits are available only if you enroll through the Marketplace, and one path is not automatically cheaper than the other. Get an HSA plan quote.

Source: draft 2026 Publication 969 (draft) (eligible individual; other health coverage). This is not a determination of any state’s Medicaid program.

Life changes can change your contribution cap, and therefore the deduction, for later months. See whether an HSA is tax deductible and how to report it on Form 8889.

Common questions

Can I contribute to an HSA if I have Medicaid?

Usually no, for the months Medicaid covers you, because Medicaid is generally other health coverage and is not on Publication 969’s permitted-insurance list. Limited-benefit programs can be fact-specific — get advice before you contribute.

Can I spend HSA money while on Medicaid?

An existing HSA can still pay qualified medical expenses incurred after the account was established. Keep records, and do not use the account for non-qualified expenses.

Does a life event change my HSA tax deduction?

It can. The deduction follows the months you were an eligible individual and the coverage you had, not the event itself. A mid-year change can prorate the cap unless the last-month rule applies.

Keep reading

Need an HSA-eligible plan first?

We mainly quote HSA-eligible plans. Premium tax credits are available only if you enroll through the Marketplace and are not automatically cheaper than Marketplace coverage. Request a quote — about 60 seconds, no obligation.

Get an HSA plan quote

Get a quote on an HSA-eligible plan

Takes about 60 seconds. We’ll look at HSA-eligible plans in your ZIP. Premium tax credits are available only if you enroll through the Marketplace. Submitting is optional — the guides stay free to read.

Step 1 of 4

We use this to look at HSA-eligible plans available where you live.

Takes about 60 seconds. No obligation.

Get an HSA plan quote