Home / HSA last-month rule
What is the HSA last-month rule, and how does the testing period work?
If you're HSA-eligible on December 1, the IRS last-month rule lets you contribute the full year's limit, even if your plan started mid-year. The catch is the testing period: you must stay HSA-eligible through December 31 of the next year. If you don't, in most cases the extra money is taxed, plus a 10% additional tax.
This page is for people who start an HSA-eligible plan partway through the year, often a bronze Marketplace plan picked after losing other coverage. The 2027 limits and a short note on mid-year starts are in HSA contribution limits with a Marketplace plan. This page goes deeper: the testing period, what ends it and how to choose. This is general information, not tax advice.
How does the HSA last-month rule work?
If you're an eligible individual on the first day of the last month of your tax year, which is December 1 for most people, the IRS treats you as eligible for the whole year. (IRS Publication 969)
The rule also sets your coverage type. You're treated as having the same kind of HSA-eligible coverage all year as you had on December 1. So if you had family coverage on December 1, the family limit can apply for the whole year. (IRS Publication 969)
To be eligible on December 1, you need HSA-eligible coverage that day and no coverage that blocks an HSA, such as Medicare. Starting in 2026, bronze and catastrophic plans bought through a Marketplace count as HSA-eligible plans. (IRS Notice 2026-5) The other rules are in who qualifies for an HSA.
What is the HSA contribution limit for a partial year?
Without the last-month rule, your partial-year limit is a prorated HSA contribution: you get one-twelfth of the yearly limit for each month you were HSA-eligible on the first day of the month. (IRS: Instructions for Form 8889)
For 2027, the full yearly limit is $4,500 for self-only coverage and $9,000 for family coverage, according to IRS Revenue Procedure 2026-24. (IRS Rev. Proc. 2026-24) Here's how the prorated amount compares with the full limit, if you stay eligible every month from your start through December:
| Coverage starts on the 1st of | Eligible months | Prorated self-only | Prorated family | With the last-month rule |
|---|---|---|---|---|
| April 2027 | 9 | $3,375 | $6,750 | $4,500 / $9,000 |
| July 2027 | 6 | $2,250 | $4,500 | $4,500 / $9,000 |
| October 2027 | 3 | $1,125 | $2,250 | $4,500 / $9,000 |
| December 2027 | 1 | $375 | $750 | $4,500 / $9,000 |
The table leaves out the $1,000 catch-up for people 55 or older and any employer money, which counts toward the same limit. A plan that starts mid-month counts from the next month.
How much can I put in if my Marketplace plan starts in July?
With self-only coverage starting July 1, 2027, your prorated limit is $2,250, and the last-month rule may let you put in up to $4,500 instead.
Made-up example with round numbers. These are not real prices.
Maria, age 40, loses her job coverage in June. She uses a Special Enrollment Period to pick a self-only bronze plan that starts July 1, 2027, and keeps it through December.
- Prorated limit: $4,500 divided by 12 is $375 a month. 6 months times $375 is $2,250.
- Full limit with the last-month rule: $4,500.
- The amount that depends on the rule: $4,500 minus $2,250, or $2,250.
If Maria puts in $2,250 or less for 2027, the testing period doesn't matter for her. If she puts in more, the amount over $2,250 depends on her staying eligible through 2028.
You can also land in between. If Maria put in $3,000, only $750 would depend on the testing period. Losing other coverage may let you enroll outside Open Enrollment; a loss of coverage letter is often part of the proof.
What is the HSA testing period?
The testing period is the stretch of time you must stay HSA-eligible after using the last-month rule. It starts with the last month of your tax year and ends on the last day of the 12th month after it. (IRS Publication 969)
For a 2027 contribution, that's December 1, 2027, through December 31, 2028, for most people. You don't have to keep contributing then. You only have to stay eligible.
What happens if I drop my HSA-eligible plan during the testing period?
If you stop being HSA-eligible during the testing period for any reason other than death or disability, the money you put in only because of the last-month rule is added to your income, and a 10% additional tax applies to it. (IRS Publication 969)
The income goes on your return for the year you lose eligibility, not the year you contributed. You report it in Part III of Form 8889. (IRS: Instructions for Form 8889)
Made-up example with round numbers. These are not real prices.
Maria put in the full $4,500 for 2027. In April 2028, she starts a new job and switches to its health plan, which isn't HSA-eligible.
- She failed the testing period, so the $2,250 that depended on the rule is added to her 2028 income.
- The 10% additional tax is 10% of $2,250, or $225.
- She also owes regular income tax on the $2,250 at her own tax rate.
Had she put in only her prorated $2,250, switching plans in 2028 would not have triggered this.
The money stays in Maria's HSA either way, and she can still use it for qualified medical costs.
What counts as losing HSA eligibility?
In most cases, you lose eligibility for a month if on the first day you don't have HSA-eligible coverage, or you have other coverage that blocks an HSA. (IRS Publication 969) Common ways people fail the testing period:
- Switching to a job plan or Marketplace plan that isn't HSA-eligible, such as many silver or gold plans.
- Being added to a spouse's plan that isn't HSA-eligible.
- Enrolling in Medicare. Your HSA limit is zero starting with your first month of Medicare. (IRS Publication 969)
- Dropping coverage and going uninsured.
Stopping contributions alone doesn't count. Death and disability are the two exceptions the IRS names.
Should I use the last-month rule or the prorated limit?
It depends on how sure you are that you'll keep HSA-eligible coverage through the end of next year. Ask yourself:
- Could you start a job with a health plan that isn't HSA-eligible next year?
- Will you turn 65 and sign up for Medicare during the testing period?
- Might you switch to a silver or gold plan at the next Open Enrollment?
- Would the extra tax and the 10% hit be hard for you to pay?
If any answer is yes, money above the prorated amount could be taxed later. If you stay on an HSA-eligible plan, the last-month rule lets you put more away. No account yet? See how to open an HSA. You don't have to decide early. Pub 969 says you can make a year's contributions up to the tax filing deadline for that year, the following April. If you put in more than even the full limit, see what to do about an HSA excess contribution.
The math shows up on Form 8889 with a Marketplace plan, which also covers how it fits with your tax credit forms.
Lost other coverage? See HSA-eligible plans for your ZIP code
If you lost other coverage, you may be able to enroll now with a Special Enrollment Period. Our quote tool uses your ZIP code, household and income estimate to show an estimated price after any tax credit for each 2027 plan, along with the deductible, so you can compare HSA-eligible plans side by side. The Marketplace confirms your credit when you apply. Open Enrollment for 2027 runs November 1, 2026, to January 15, 2027, in HealthCare.gov states; enroll by December 15 for coverage starting January 1. State exchanges can have different dates. We sell plans online only in some states. If we can't help in yours, we'll tell you.
Prefer to talk it through? Call one of FreedInsure's licensed agents at (844) 788-3733. There's no fee for our help.
Common questions
Do I have to use the last-month rule?
No. It's a choice. You can always stay at your prorated limit, which is one-twelfth of the yearly limit for each month you were HSA-eligible on the first day. The testing period only matters for money you put in above that amount.
When is the testing period for a 2027 contribution?
For most people it runs from December 1, 2027, through December 31, 2028. IRS Publication 969 says it starts with the last month of your tax year and ends on the last day of the 12th month after it.
Do I have to keep putting money in during the testing period?
No. You only have to stay HSA-eligible. You can stop contributing and still pass the testing period, as long as you keep HSA-eligible coverage and don't pick up coverage that ends your eligibility.
Do I lose my HSA money if I fail the testing period?
No. The account and the money stay yours. The extra amount you put in because of the last-month rule is added to your taxable income for the year you lost eligibility, and a 10% additional tax applies to it.
Is a bronze Marketplace plan HSA-eligible?
Starting in 2026, the IRS treats bronze and catastrophic plans bought as individual coverage through a Marketplace as high-deductible health plans. Other things, like Medicare or other health coverage, can still keep you from contributing.
Sources: IRS Publication 969; IRS Instructions for Form 8889; IRS Rev. Proc. 2026-24; IRS Notice 2026-5. Checked November 7, 2026.