Contribution rules

The last-month rule testing period, explained

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

The last-month rule can raise your annual contribution limit if you are eligible on December 1. It also creates a testing period. Fail that period, other than by death or disability, and part of the extra contribution comes back into income with an additional tax.

If you are an eligible individual on the first day of the last month of your tax year, draft Publication 969 lets you treat yourself as eligible for the entire year, using the coverage you had on that day. For a calendar-year taxpayer, that is December 1. The testing period then begins with that December and lasts through the end of the following calendar year — December 1 through December 31 of the next year, a 13-month span in the publication’s example.

Example (using 2027 limits): you become eligible with family coverage on December 1, 2027, and use the last-month rule to contribute the full $9,000 instead of only one-twelfth. If you lose eligibility in June 2028 for a reason other than death or disability, you include the extra amount in 2028 income and generally owe an additional 10% tax on that extra amount, figured as the publication describes. Stay eligible for the full testing period and there is no recapture.

Do not use the last-month rule just to make a large contribution if you expect to go on a non-eligible plan or Medicare during the testing period. This page complements our last-month rule overview with the recapture mechanics.

None of this replaces the first step: you need HSA-eligible coverage and an open account. 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) (last-month rule and testing period). Limits in the example are from Rev. Proc. 2026-24.

These IRS limits also cap the amount you may deduct or exclude for the year. See whether an HSA is tax deductible and how much federal tax you might save at the 2027 figures.

Common questions

How long is the testing period?

For the last-month rule, it begins with the last month of the tax year you used the rule and ends on the last day of the 12th following month. For a December 1 start, that runs through December 31 of the next year.

Do these contribution limits cap my HSA tax deduction?

Yes. For 2027 the federal deduction or exclusion cannot exceed the contribution limit that applies to you — $4,500 or $9,000, plus $1,000 catch-up if you qualify — and only for months you were eligible.

Keep reading

Need an HSA-eligible plan first?

These strategies only work if you have eligible coverage and an open HSA. We mainly quote HSA-eligible plans, Premium tax credits are available only if you enroll through the Marketplace. 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