Health Savings Account (HSA) Tax Rules and Contribution Limits

Health Savings Accounts occupy a unique position in the U.S. tax code as the only savings vehicle offering a triple tax advantage: contributions are deductible, growth is tax-free, and qualified distributions are excluded from income. This page covers the eligibility rules, contribution limits, distribution requirements, and compliance boundaries that govern HSAs under the Internal Revenue Code. Understanding these rules matters because misuse — including non-qualified distributions or contributions made while ineligible — triggers taxes and penalties under IRS Publication 969.


Definition and scope

An HSA is a tax-advantaged trust or custodial account established under 26 U.S.C. § 223 to pay or reimburse qualified medical expenses. The IRS administers HSA rules primarily through Publication 969 and Form 8889, which must be filed with any individual tax return in a year the taxpayer contributes to, receives distributions from, or maintains an HSA.

HSAs are distinct from two older accounts that serve overlapping functions:

An HSA, by contrast, is individually owned and portable — it moves with the account holder regardless of employment status.

The scope of HSA eligibility is defined by a single gateway requirement: the account holder must be enrolled in a qualifying High-Deductible Health Plan and must not be covered by any non-HDHP health plan, Medicare, or claimed as a dependent on another person's return. This gateway rule is assessed on the first day of each month.


How it works

Eligibility and the HDHP requirement

For 2024, the IRS defines an HDHP as a plan with a minimum deductible of $1,600 for self-only coverage or $3,200 for family coverage, and maximum out-of-pocket limits of $8,050 (self-only) or $16,100 (family) (IRS Revenue Procedure 2023-23).

Contribution limits

Contribution limits are adjusted annually for inflation. For 2024, the limits are:

  1. Self-only HDHP coverage: $4,150
  2. Family HDHP coverage: $8,300
  3. Catch-up contribution (age 55 or older): An additional $1,000, per 26 U.S.C. § 223(b)(3)

Contributions can be made by the account holder, an employer, or both — but the combined total cannot exceed the annual limit. Employer contributions are excluded from the employee's gross income under 26 U.S.C. § 106(d).

The triple tax advantage — mechanics

  1. Deduction: Contributions made directly by the account holder are deductible above-the-line on Form 1040, Schedule 1 — meaning the deduction does not require itemization. See the standard-deduction-vs-itemized-deductions page for context on above-the-line versus below-the-line deductions.
  2. Tax-free growth: Interest, dividends, and capital gains earned within the HSA are not included in gross income for the year earned.
  3. Tax-free distributions: Amounts withdrawn for qualified medical expenses as defined under 26 U.S.C. § 213(d) are excluded from income entirely.

Non-qualified distributions

Distributions taken for non-medical purposes before age 65 are included in gross income and subject to a 20% additional tax. After age 65, non-qualified distributions are included in gross income but the 20% penalty does not apply — making the HSA function similarly to a traditional IRA for non-medical spending. This intersection with retirement account tax treatment makes HSAs a deliberate long-term savings tool for many taxpayers.


Common scenarios

Scenario 1 — Mid-year enrollment. A taxpayer enrolls in an HDHP on July 1. Under the "last-month rule" (IRS Publication 969, Last-Month Rule section), the taxpayer may contribute the full annual limit as if enrolled for the entire year, provided the individual remains HSA-eligible through December 31 of the following year (the "testing period"). Failure to maintain eligibility during the testing period triggers income inclusion and a 10% penalty on the excess amount.

Scenario 2 — Medicare enrollment. A taxpayer turns 65 and enrolls in Medicare Part A. Medicare enrollment — including retroactive enrollment — terminates HSA contribution eligibility. Contributions made after the Medicare start date are treated as excess contributions subject to a 6% excise tax under 26 U.S.C. § 4973.

Scenario 3 — Employer contributions. An employer contributes $1,200 to an employee's HSA. The $1,200 is excluded from the employee's W-2 wages. The employee's own direct contributions are limited to $2,950 (for self-only 2024 coverage) to stay within the $4,150 combined ceiling.

Scenario 4 — Post-retirement medical use. After age 65, an account holder uses accumulated HSA funds to pay Medicare Part B premiums, Medicare Advantage premiums, and long-term care insurance premiums — all of which are qualified medical expenses under IRS Publication 969. The distributions are completely tax-free.

These scenarios touch on broader individual income tax filing requirements and the interplay with tax credits directory items such as the premium tax credit, which cannot be claimed by HSA-enrolled HDHP participants under certain circumstances.


Decision boundaries

The following classification framework determines the tax treatment that applies in any HSA-related situation:

Condition Tax result
Qualified distribution, any age No income tax, no penalty
Non-qualified distribution, under age 65 Income tax + 20% additional tax
Non-qualified distribution, age 65+ Income tax only, no penalty
Excess contribution, not withdrawn by deadline 6% excise tax per year outstanding
Contribution while Medicare-enrolled Treated as excess; 6% excise tax applies

Contribution excess removal deadline. Excess contributions must be withdrawn, along with net income attributable, by the tax filing deadline including extensions (typically October 15) to avoid the 6% excise tax for that year. Excess left in the account beyond the deadline carries the 6% excise tax forward each year until removed.

HDHP coverage type switch. If an account holder switches from family to self-only HDHP coverage mid-year, the contribution limit is calculated on a month-by-month basis — 1/12 of the applicable annual limit per month of each coverage type — under the general rule at 26 U.S.C. § 223(b)(8).

Coordination with FSA. A general-purpose FSA disqualifies an individual from HSA eligibility because it provides first-dollar coverage. A Limited-Purpose FSA (restricted to vision and dental) is HSA-compatible. This boundary is administered under IRS Notice 2004-50.

Record-keeping obligation. The IRS does not require documentation of qualified medical expenses to be submitted with the return, but account holders must retain receipts. The statute of limitations for HSA-related claims runs 3 years from the filing date under 26 U.S.C. § 6501 — relevant to the broader statute-of-limitations-on-taxes framework.


References

📜 7 regulatory citations referenced  ·  🔍 Monitored by ANA Regulatory Watch  ·  View update log

Explore This Site