A Roth IRA is a personal retirement account; a health savings account (HSA) helps pay eligible medical expenses. A Roth contribution is not deductible, but qualified withdrawals are federally tax-free. An eligible HSA contribution can receive a federal deduction or income exclusion, earnings are generally federally tax-free inside the account, and qualified medical withdrawals are tax-free. Those benefits have different conditions. Neither account automatically belongs first in everyone's budget.

The short version: first check whether you can contribute. Then compare what you need the money for, how soon you need it, and what happens when you withdraw it. Having permission to fund both accounts is not the same as being able to afford both.

Two accounts, different jobs

Federal rules for ordinary contributions and withdrawals
QuestionRoth IRAHSA
What gets you in?Qualifying compensation, personally or under the joint-return spousal rule, plus the Roth income rules.HSA-eligible coverage and the other eligibility conditions. Employment income is not required.
Tax break when funding?No deduction for a regular Roth contribution.Eligible personal contributions can be deducted without itemizing. Eligible employer contributions, including cafeteria-plan salary reductions, can be excluded from income. No second deduction for excluded contributions.
Tax-free withdrawals?Qualified withdrawals, for any purpose. Regular contributions come out first under the ordering rules.Withdrawals for qualified medical expenses, with supporting records. Other withdrawals follow different rules below.
Does cash count?Yes. The account can hold cash or permitted investments; available choices depend on the provider.Yes. Cash interest can receive the federal HSA tax treatment too. Securities are not required.
Must the owner withdraw annually?No lifetime required minimum distributions.No annual withdrawal requirement; unused money carries forward.

Both are accounts, not investments. Cash may be useful for bills coming soon. Investments can lose value, and fees matter. A tax advantage does not make either balance grow at a guaranteed rate.

How much can you contribute in 2026?

Annual ceilings before personal eligibility and prior contributions are applied
2026 limitRoth IRAHSA
Base amount$7,500, shared across your regular traditional and Roth IRA contributions.$4,400 self-only coverage; $8,750 family coverage. Employer and personal contributions use the same allowance.
Catch-up$1,100 if age 50 or older by year-end: $8,600 total.Up to $1,000 if age 55 or older by year-end and otherwise eligible. Eligible months still matter.
Income testDirect contributions phase out at $153,000–$168,000 of modified adjusted gross income for single/head-of-household filers; $242,000–$252,000 for joint filers.No income phase-out. Coverage, eligible months and other conditions determine room.

Married filing separately and living with your spouse at any time during the year? The Roth phase-out is $0–$10,000. If you lived apart all year, the single-filer range applies. Qualifying surviving spouses use the joint-filer range. Our income-eligibility guide explains modified adjusted gross income (MAGI) and the separate compensation test.

For HSAs, married eligible spouses generally share the family base limit; opening two accounts does not double it. Each spouse's eligible age-55 catch-up must go into that spouse's own HSA. Contributions to multiple HSAs also share the applicable individual allowance.

Sources for the dated amounts: IRS Rev. Proc. 2025-19 and Notice 2025-67. These are 2026 figures, not 2027 limits.

Check the health coverage—not just the deductible

HSA eligibility is generally tested on the first day of each month. You need qualifying coverage, no disqualifying other coverage, no Medicare enrollment, and you cannot be claimable as someone else's tax dependent. A general-purpose health FSA that covers you, including a spouse's FSA, can disqualify you; certain limited-purpose arrangements are allowed.

Under the ordinary 2026 high-deductible health plan (HDHP) rules, the minimum deductible is $1,700 self-only or $3,400 family, and the maximum out-of-pocket amount is $8,500 or $17,000 respectively. Meeting those numbers alone is not a complete eligibility check.

Effective in 2026: qualifying bronze and catastrophic plans available as individual coverage through an ACA Exchange are treated as HDHPs even without those ordinary deductible or out-of-pocket limits. An off-Exchange purchase can qualify when the same plan is available through an Exchange; IRS guidance also protects an individual who has no reason to believe their individual-market bronze or catastrophic plan is unavailable there. This is not a blanket exception for employer or SHOP plans. Other HSA eligibility conditions still apply. See Notice 2026-05, Q&As 4–8.

Part-year eligibility generally means a monthly calculation. The special last-month rule may allow more, but requires continued eligibility during a testing period that normally ends December 31 of the following year. Losing eligibility can trigger income inclusion and a 10% additional tax on the extra amount, except for death or disability. Check the Form 8889 instructions before treating a full-year ceiling as deposit room.

The payroll benefit depends on how you contribute

An eligible employee's HSA salary reduction through a Section 125 cafeteria plan can avoid federal income tax and Social Security/Medicare taxes. An ordinary after-tax payroll deduction is not the same arrangement. A direct personal HSA contribution can qualify for the income-tax deduction, but that deduction does not refund Social Security or Medicare tax already paid on wages.

Illustration: the same $1,000 HSA deposit

Assume an eligible employee has room for $1,000, every affected dollar faces a 22% federal income-tax rate and the normal 6.2% Social Security plus 1.45% Medicare employee taxes, and there are no other tax interactions, fees or state taxes.

Hypothetical current-year employee tax reduction, not investment earnings
RouteIncome taxEmployee payroll taxTotal
Personal deductible deposit$1,000 × 22% = $220$0$220
Eligible cafeteria-plan salary reduction$220$1,000 × 7.65% = $76.50$296.50

The 7.65% assumption does not apply to every worker or dollar. The Social Security wage ceiling, Additional Medicare Tax and other circumstances can change the result. This is not a lifetime HSA-versus-Roth return comparison.

Business owners: sole proprietors, partners and more-than-2% S-corporation shareholders cannot simply use the employee cafeteria-plan treatment for their own contributions. Eligible owners can still have HSAs, but deduction, income reporting and employment-tax treatment depend on the business and payment arrangement. See Publication 15-B, Notice 2005-8 and our business-owner guide.

Taking money out: the condition matters more than the account label

Ordinary withdrawals—not excess-contribution corrections or prohibited transactions
SituationFederal result
HSA: qualified medical expenseTax-free if the expense qualifies, occurred after the HSA was established and was not reimbursed elsewhere or taken as an itemized deduction.
HSA: other spending before 65Income tax plus a 20% additional tax, unless the disability or death exception applies.
HSA: other spending at 65 or olderIncome tax still applies; the 20% additional tax does not. The account remains an HSA—it does not become an IRA.
Roth IRA: qualified withdrawalTax-free for any purpose. Requires the Roth five-tax-year period plus age 59½, disability, death, or the limited qualifying first-home condition.
Roth IRA: nonqualified withdrawalRegular contributions come out first without income tax or the early-distribution tax. Conversions and earnings have separate rules; earnings may be taxable and additional tax may apply.

The Roth first-home qualification has a $10,000 lifetime limit. It is not a substitute for the five-year requirement for a qualified earnings withdrawal. See Publication 590-B and our withdrawal guide.

HSA medical expenses can include qualifying care for you, your spouse and eligible dependents, not just the person covered by the health plan. Doctor visits, eligible dental/vision care and prescriptions are common examples. Insurance premiums usually do not qualify, with exceptions including COBRA, coverage while receiving unemployment compensation, eligible long-term-care premiums subject to age-based caps, and Medicare/other qualifying coverage once the HSA owner is 65. Medigap premiums do not qualify. Publication 969 explains these boundaries.

An old receipt does not grow with the account

There is no federal time limit for reimbursing an otherwise eligible medical expense incurred after the HSA was established. Keep the bill, proof of payment and records showing it was not reimbursed elsewhere or claimed as an itemized deduction. Report HSA distributions on Form 8889 even when tax-free. Notice 2004-50, Q&A 39, establishes the delayed-reimbursement rule.

Illustration: a $3,000 bill, years later

You pay a qualified $3,000 bill from checking after establishing your HSA. Assume your records satisfy all the rules and you never reimburse or deduct that expense. Later, your HSA balance is $5,000.

  1. The old bill supports a $3,000 tax-free reimbursement.
  2. The remaining $2,000 is still in the HSA.
  3. That $2,000 needs its own qualifying medical expenses for a tax-free withdrawal; otherwise the nonmedical rules apply.

The $5,000 balance is hypothetical, not a growth forecast. Cash interest can qualify for the same federal treatment. Paying a bill now from the HSA is also a valid use; delaying reimbursement requires both spare cash and reliable records.

Medicare changes contribution room, not ownership

Starting with the first month of Medicare enrollment, you earn no new HSA contribution allowance for that month. You can still use the existing HSA for qualified expenses. You may also fund unused allowance for earlier eligible months by the applicable contribution deadline, generally the return due date without extensions. Enrollment does not erase that earlier room.

When someone applies after 65, premium-free Part A can be retroactive by up to six months, but not before initial eligibility. That can reduce the eligible months used in the HSA calculation. Before applying for Medicare or Social Security, coordinate both personal and employer deposits with the actual coverage start date. Medicare's working-past-65 guidance explains the advance-planning warning; it is not a reason to delay needed health coverage.

A Roth IRA has no maximum contribution age, but compensation, income and annual contribution rules still apply. Medicare enrollment does not itself disqualify a Roth contribution.

Federal tax benefits do not settle the state return

California: the state does not allow the federal HSA deduction or employer-contribution exclusion. Otherwise-taxable interest and dividends inside the HSA can also require state adjustments; selling investments can create realized gains. Keep state basis and transaction records rather than treating a later withdrawal as automatically taxable again. See the FTB's Schedule CA instructions.

New Jersey: do not carry the federal HSA deduction onto the state return. New Jersey's listed medical savings account deduction is for an Archer MSA, a different account. Check the state's income and adjustment rules separately; this comparison does not calculate your New Jersey investment-income treatment. See New Jersey's deductions guidance.

State differences do not turn three federal benefits into two. Federal and state calculations are separate, and the relevant state rules depend on where and when you file.

Who inherits the account changes the answer

  • HSA left to a spouse as designated beneficiary: it becomes that spouse's HSA. Their eligibility to make new contributions is a separate question.
  • HSA left to another person: it stops being an HSA at death. Its date-of-death value is generally taxable to that beneficiary in the year of death, reduced by the decedent's qualified medical expenses that the beneficiary pays within one year.
  • HSA left to the estate: the value goes on the deceased owner's final income-tax return instead.
  • Inherited Roth IRA: earnings are federally tax-free once the original owner's Roth five-year period is satisfied; death supplies the other qualifying condition. Earlier distributions of earnings can be taxable. The payout schedule depends on the beneficiary.

For an ordinary individual non-spouse Roth beneficiary subject to the ten-year rule, the account must be emptied by December 31 of year ten after death; no annual RMDs are required in years one through nine. Spouses, eligible designated beneficiaries, trusts and estates need different analysis. Our inherited-Roth guide separates those cases.

Illustration: a non-spouse HSA beneficiary

An adult child inherits a $20,000 HSA and pays $2,000 of the deceased owner's qualified medical expenses within one year. The taxable amount is $20,000 − $2,000 = $18,000. If every additional dollar is taxed at an assumed 22%, the incremental federal income tax is $3,960. Actual brackets and other tax effects may change the bill; state tax is excluded. This is not the estate-beneficiary case.

A funding checklist—not a universal ranking

You can use both accounts if you satisfy each account's rules. To compare the next dollar without turning this into a one-size-fits-all recommendation, ask:

  1. What room is actually available? Check eligible months, compensation, income, employer HSA deposits and prior IRA contributions.
  2. What money must stay accessible? Medical bills, emergency cash and other near-term obligations affect what can be committed to longer-term saving.
  3. Is an employer HSA contribution available? Check the amount, eligibility conditions and funding schedule. Valid contributions deposited into your HSA are yours; they do not vest over time.
  4. What withdrawal do you expect? An HSA's medical-expense exclusion and a Roth IRA's qualified withdrawal are different benefits.
  5. What changes the net result? Current and future taxes, state rules, fees, investment risk, records, Medicare timing and beneficiaries all matter.

That gives you a useful comparison to discuss with a qualified adviser. It does not require investing money needed for medical bills or filling both accounts before meeting other priorities.

Frequently asked questions

Can I have both a Roth IRA and an HSA?

Yes, if you meet each account's eligibility rules. Their limits are separate, but regular traditional and Roth IRA contributions share one IRA limit, and employer HSA deposits use your HSA allowance. Married spouses generally share the family HSA base limit. The ability to fund both is not a recommendation to do so.

Do I have to buy investments to get HSA tax benefits?

No. Interest on cash held in an HSA can receive the federal tax treatment too. Choosing cash or investments depends on timing, risk, fees and the provider's options. Neither an investment return nor an interest rate is guaranteed by the tax rules.

Does an HSA become tax-free for everything at 65?

No. The 20% additional tax no longer applies, but nonmedical withdrawals remain taxable income. Qualified medical withdrawals can remain tax-free. The account is still an HSA, not an IRA.

Do all HSA deposits save 7.65% in payroll taxes?

No. Eligible employee salary reductions through a cafeteria plan can avoid Social Security and Medicare taxes, but a direct personal deduction does not undo payroll taxes on wages. Wage ceilings, Additional Medicare Tax and owner-specific rules can change the outcome.

Does Medicare stop every later HSA deposit?

Medicare enrollment stops new contribution allowance for covered months. It does not erase unused room for earlier eligible months that can still be funded by the applicable deadline. Check retroactive coverage and all employer deposits before calculating that room.

Sources and next steps

The dated limits above apply to 2026. The comparison uses IRC §223, IRS Publications 969, 590-A and 590-B, with the newer notices linked where they apply. Illustrations are simplified arithmetic, not personalized tax estimates or promised returns.

Continue with business-owner account choices, Roth contribution eligibility or the Medicare enrollment calendar.