Skip to content
Rubric Financial

Tax Strategies

Health Savings Accounts: A Tax Perspective on Eligibility, Limits, Withdrawals, and Owners

How HSAs are taxed: HDHP eligibility, 2026 and 2027 limits, the 2026 expansions, payroll vs. direct contributions, Medicare, and rules for owners.

By 7 min readPublished

A health savings account is the only account in the tax code that can be tax-free at all three stages: contributions are deductible or pre-tax, growth is untaxed, and withdrawals for medical expenses are tax-free. Used deliberately, it can work as a second retirement account with better tax treatment than either a traditional or a Roth IRA.

The catch is eligibility. An HSA requires a specific type of health plan, comes with its own contribution limits and timing rules, and works differently for self-employed people, partners, and S-corp owners. This guide covers the rules from a tax perspective: who can contribute, how much, how contributions are taxed depending on how they are made, how withdrawals are taxed, and the 2026 changes. It does not address how HSA balances should be invested, which is a question for your investment advisor.

Eligibility

To contribute in a given month, you must, on the first day of that month:

  • Be covered by a high-deductible health plan (HDHP).
  • Have no other health coverage that is not an HDHP, with exceptions for dental, vision, accident, disability, long-term care, specific-disease coverage, and limited-purpose FSAs.
  • Not be enrolled in Medicare.
  • Not be claimed as a dependent on someone else's return.

A spouse's general-purpose health FSA covering you disqualifies you, even if you never use it.

HDHP thresholds

20262027
Minimum deductible, self-only$1,700$1,750
Minimum deductible, family$3,400$3,500
Maximum out-of-pocket, self-only$8,500$8,700
Maximum out-of-pocket, family$17,000$17,400

What changed in 2026

The 2025 tax law expanded HSA eligibility starting in 2026:

  • Bronze and catastrophic plans bought through a health insurance marketplace are treated as HDHPs, even if they do not otherwise meet the deductible rules.
  • Direct primary care arrangements with fixed monthly fees up to $150 for an individual or $300 for a family no longer disqualify you, and the fees can be paid from the HSA.
  • Telehealth services covered before the deductible no longer disqualify you, permanently.

For how concierge and direct primary care practices themselves are taxed, see taxes for medical and therapy practices and concierge medicine and DPC tax structure.

Contribution limits

20262027
Self-only coverage$4,400$4,500
Family coverage$8,750$9,000
Catch-up, age 55 and older$1,000$1,000

All sources count. Employer contributions, payroll contributions, and your own contributions share the same limit.

Spouses. With family coverage, the family limit is shared between spouses as they choose. Each spouse who is 55 or older can add their own $1,000 catch-up, but only to an HSA in their own name.

Partial years. If you are eligible for only part of the year, the limit is generally prorated by month. The last-month rule lets you contribute the full annual amount if you are eligible on December 1, but you must then stay eligible through the following year, the testing period, or the excess becomes taxable with a 10% additional tax.

Deadline. Contributions for a year can be made until the tax return due date, generally April 15, without extensions.

Excess contributions carry a 6% excise tax each year until withdrawn.

A one-time IRA rollover. You can make one qualified transfer from an IRA to an HSA in your lifetime, up to that year's contribution limit, moving pre-tax IRA money into the HSA without tax.

How contributions are taxed depends on how they are made

Contribution methodIncome taxSocial Security and Medicare
Through an employer's cafeteria plan (payroll)ExcludedExcluded
Employer contributionExcludedExcluded
Your own contribution directly to the HSADeducted on your returnNot reduced

Payroll contributions through a cafeteria plan save an additional 7.65% compared with contributing directly and deducting it, because they also avoid FICA. Employees who can contribute through payroll usually should.

States. California and New Jersey do not recognize HSAs: contributions are not deductible on the state return, and earnings are taxable each year.

Withdrawals

Qualified medical expenses are tax-free at any age. They include deductibles, copays, prescriptions, dental and vision care, and many other costs that would qualify for the itemized medical deduction, for you, your spouse, and your dependents, even if they are not covered by your HDHP.

Insurance premiums generally do not qualify, with exceptions for COBRA, health coverage while receiving unemployment, qualified long-term care premiums up to age-based limits, and, after 65, Medicare premiums other than Medigap.

No deadline for reimbursement. You can reimburse yourself for a qualified expense years after it was incurred, as long as the expense arose after the HSA was established and you keep the records. Some people pay medical costs out of pocket and let the HSA grow, reimbursing themselves later.

Non-medical withdrawals:

  • Before 65: ordinary income plus a 20% additional tax.
  • After 65, or on disability: ordinary income, no penalty, the same treatment as a traditional IRA.

HSAs have no required minimum distributions.

Medicare

Enrolling in any part of Medicare ends HSA contribution eligibility. Two timing points matter:

  • Part A is backdated. When you apply for Medicare after 65, Part A coverage is generally retroactive up to six months, no earlier than the month you turned 65. Contributions made in those months become excess contributions, so stop six months before applying.
  • Social Security triggers Part A. Starting Social Security benefits after 65 automatically enrolls you in Part A, ending eligibility.

The existing balance remains usable tax-free for qualified expenses, including Medicare Part B, Part D, and Medicare Advantage premiums. For how Medicare premium surcharges are set from income, see taxes on retirement income.

Death

  • Spouse beneficiary: the HSA becomes the spouse's own HSA, with the same tax treatment.
  • Non-spouse beneficiary: the account stops being an HSA, and the fair market value is taxable income to the beneficiary in the year of death, reduced by any qualified medical expenses of the decedent paid within a year.
  • Estate as beneficiary: the value is included on the decedent's final return.

Naming a spouse as beneficiary, where possible, preserves the most value.

Business owners

The rules for owners depend on the entity:

Sole proprietors and single-member LLC owners. Not employees of their own businesses, so they cannot contribute through a cafeteria plan. They contribute directly and deduct on Form 1040. The deduction reduces income tax but not self-employment tax.

Partners and LLC members. Partnership contributions to a partner's HSA are generally treated as distributions or guaranteed payments, not as tax-free employer contributions. The partner then deducts the contribution on their own return. As with sole proprietors, there is no self-employment tax saving.

S-corp shareholders owning more than 2%. HSA contributions made by the S-corp are included in the shareholder's W-2 wages for income tax but are exempt from Social Security and Medicare tax. The shareholder deducts them on their personal return. This captures the FICA saving that sole proprietors and partners cannot. The owner's family members are treated as more-than-2% shareholders too.

C-corp owner-employees. Treated like any employee: contributions through payroll or by the employer avoid both income tax and FICA.

Offering HSAs to employees. An employer that offers an HDHP can contribute to employees' HSAs and let employees contribute through a cafeteria plan. Employer contributions must generally be comparable for all employees in the same category of coverage, unless made through a cafeteria plan.

How an HSA compares with retirement accounts

HSA (used for medical)Traditional 401(k) / IRARoth IRA
ContributionsPre-tax or deductible; via payroll also FICA-freePre-tax or deductibleAfter-tax
GrowthTax-freeTax-deferredTax-free
WithdrawalsTax-free for medicalOrdinary incomeTax-free if qualified
RMDsNoneYesNone for the owner

For medical spending, nothing beats an HSA. For non-medical spending after 65, it is equivalent to a traditional IRA. That combination is why many people prioritize funding an HSA after capturing any employer retirement match. See tax-deferred, tax-free, and taxable accounts.

The short version

An HSA requires HDHP coverage, which since 2026 includes marketplace bronze and catastrophic plans. Limits are $4,400 and $8,750 for 2026, $4,500 and $9,000 for 2027, plus $1,000 at 55. Contributions through payroll avoid both income tax and FICA; direct contributions avoid only income tax. Medical withdrawals are tax-free at any age, and after 65 the account works like a traditional IRA for everything else. Stop contributing six months before applying for Medicare, and S-corp owners should run contributions through the company to save FICA.

Rubric Financial reviews HSA eligibility and contribution strategy as part of tax planning, sets up owner contributions correctly by entity type, and handles Form 8889 on the return.

Sources

Figures are federal and current as of the date above. Tax law and inflation-adjusted amounts change; confirm current figures before acting.

Educational content, not tax, legal, investment, or accounting advice. Confirm the specifics with a CPA before acting. See our Terms.

Frequently asked questions

What are the HSA contribution limits for 2026 and 2027?

For 2026, $4,400 for self-only coverage and $8,750 for family coverage. For 2027, $4,500 and $9,000. People 55 or older can add a $1,000 catch-up contribution. The limits include contributions from all sources, employer and employee combined, and are prorated by month for people who are eligible for only part of the year unless the last-month rule applies.

Who is eligible to contribute to an HSA?

You must be covered by a qualifying high-deductible health plan on the first day of the month, have no other disqualifying health coverage, not be enrolled in Medicare, and not be claimed as someone else's dependent. For 2026, a qualifying plan has a deductible of at least $1,700 for self-only coverage or $3,400 for family coverage. Starting in 2026, bronze and catastrophic marketplace plans also qualify.

What happens if I use HSA money for non-medical expenses?

Before age 65, a non-medical withdrawal is taxed as ordinary income and carries a 20% additional tax. After 65, or on disability or death, the 20% penalty no longer applies, and non-medical withdrawals are simply taxed as ordinary income, the same as a traditional IRA. Qualified medical withdrawals are tax-free at any age.

Can I contribute to an HSA after enrolling in Medicare?

No. Contributions must stop for the months you are enrolled in any part of Medicare. Because Medicare Part A coverage is often backdated up to six months when you apply after 65, contributions should stop six months before applying to avoid excess contributions. You can keep using the existing balance tax-free, including to pay Medicare premiums other than Medigap.

How do S-corp owners handle HSA contributions?

For a shareholder owning more than 2%, HSA contributions made by the S-corp are included in W-2 wages for income tax but are not subject to Social Security and Medicare tax. The shareholder then deducts them on their personal return. The owner cannot make pre-tax cafeteria plan contributions through payroll the way a regular employee can.

About the author

Aparna Devalla, CPA, Partner, Tax & Accounting

Licensed CPA. Decades of experience in U.S. taxation, accounting, and banking. Leads the tax and accounting practice at Rubric Financial.

Want this handled instead of researched?

Tell us what your business looks like and a partner at Rubric Financial will scope the work: a fixed engagement cost, a monthly retainer, or hourly, whichever fits.

Get in touch