What Is the 12-Month Rule for HSA Contributions?

The 12-month rule for an HSA is the testing period tied to the Last-Month Rule. If you become HSA-eligible partway through the year and contribute the full annual maximum by treating yourself as eligible all year, you have to stay HSA-eligible from December 1 of that year through December 31 of the following year. Break the streak and the IRS adds the excess to your income and tacks on a 10% penalty. One quick clarification up front: there is no separate 12-month rule limiting how far back you can reimburse yourself for medical expenses. That’s a common mix-up, and reimbursements have no time limit at all.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

What the Last-Month Rule Lets You Do

Normally, if you pick up HDHP coverage in the middle of the year, your HSA contribution limit is prorated. You get one-twelfth of the annual maximum for each month you had qualifying coverage on the first day.2Internal Revenue Service. Instructions for Form 8889

The Last-Month Rule overrides that math. As long as you’re an eligible individual on December 1, the IRS treats you as eligible for the whole year, and you can contribute the full annual limit.3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts For 2026, that limit is $4,400 for self-only HDHP coverage and $8,750 for family coverage.4Internal Revenue Service. Revenue Procedure 2025-19 – 2026 Inflation Adjusted Amounts for Health Savings Accounts

Someone who enrolls in an HDHP in November could contribute the full $4,400 for self-only coverage instead of being capped at roughly $733 for two months of eligibility. That’s a real tax break in your first year of coverage. It also comes with a condition attached, and the condition is the 12-month rule.

How the 12-Month Testing Period Works

The testing period runs from December 1 of the year you used the Last-Month Rule through December 31 of the following year. During every one of those 13 months, you must remain an eligible individual. That means you keep HDHP coverage on the first day of each month, you don’t enroll in Medicare, and you don’t pick up any disqualifying non-HDHP coverage.2Internal Revenue Service. Instructions for Form 8889

Miss a month for almost any reason and the Last-Month Rule unwinds retroactively. Switch jobs and land on a traditional plan? The rule unwinds. Change coverage at open enrollment? Same result. Sign up for Medicare when you turn 65? Same. The IRS recalculates what you actually could have contributed based only on the months you were genuinely eligible, and the excess triggers two hits:3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts

  • The excess amount is added to your gross income for the year you lost eligibility.
  • You owe an additional 10% tax on that same excess, reported on Part III of Form 8889.

The tax and penalty land in the year you lose eligibility, not the year you made the contribution. So a contribution made in October 2026 can produce a tax bill on your 2027 return if you drop HDHP coverage in mid-2027. Most people who get caught by this didn’t realize the testing period stretched deep into the next calendar year.

Death and Disability Are the Only Outs

Two situations excuse you from the penalty. If you become disabled or die during the testing period, the excess is not added to income and the 10% tax does not apply.3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Every other reason for dropping HDHP coverage triggers the full consequence. Losing your job counts. A better job with a non-HDHP plan counts. Voluntarily switching plans counts. Enrolling in Medicare counts.

A Worked Example

Say you enroll in an HDHP in October 2026 with self-only coverage and use the Last-Month Rule to contribute the full $4,400. Your prorated limit, if you hadn’t used the rule, would have been $1,100 (three months out of twelve). In June 2027 you switch to a non-HDHP plan.

The IRS treats $3,300 of your 2026 contribution as excess. That $3,300 gets added to your 2027 gross income, and you owe an additional 10% tax on top: $330.2Internal Revenue Service. Instructions for Form 8889 Whatever tax savings the Last-Month Rule bought you the year before, most of it comes back with interest.

When Prorating Is the Safer Path

The Last-Month Rule is optional. Nothing forces you to use it. If you aren’t confident you’ll still be on an HDHP through the end of the following year, skip it and just prorate.

The formula: divide the annual limit by 12, then multiply by the number of months you had HDHP coverage on the first of the month.2Internal Revenue Service. Instructions for Form 8889 For self-only coverage starting October 1, 2026, that’s $4,400 ÷ 12 × 3, or $1,100. No testing period. No risk of a retroactive penalty.

Proration is the right call in a few common situations:

  • You started a new job mid-year and aren’t sure what next year’s benefits will look like.
  • You’re approaching 65 and may enroll in Medicare within the testing period.
  • Your spouse’s employer changes plans annually and you might end up on their non-HDHP coverage.
  • You’re contemplating a job change that could land you on a traditional plan.

You give up some first-year tax savings, but you also give up any chance of the income inclusion and 10% penalty. For anyone with uncertain coverage plans, that trade usually makes sense.

The Reimbursement Myth

People searching for a 12-month HSA rule sometimes have the wrong rule in mind. They’ve heard you need to reimburse yourself for medical expenses within a year of paying them. That rule does not exist.

The IRS places no deadline on HSA reimbursements for qualified medical expenses.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans You can pay a bill today and reimburse yourself from your HSA five, ten, or twenty years later. The only requirements: the expense had to be incurred after your HSA was established, and it has to qualify as a medical expense under IRC Section 213(d).5Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses

Keep the receipts. If the IRS ever questions a distribution, you’ll need to show the expense date, the amount, and that it wasn’t already reimbursed by insurance or claimed as a Schedule A deduction. But there is no 12-month clock, no one-year clock, no same-tax-year clock. The only 12-month rule the IRS actually enforces on HSAs is the testing period tied to the Last-Month Rule.