The HSA testing period is the 13-month window during which you must stay HSA-eligible after using the last-month rule to contribute the full annual limit despite only being eligible for part of the year. It runs from December 1 of the contribution year through December 31 of the following year. If you lose eligibility at any point inside that window for any reason other than death or disability, the IRS adds the extra contributions back to your taxable income and adds a 10% additional tax on top.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
Why the Testing Period Exists
Ordinarily, your HSA contribution limit is pro-rated by the number of months you were actually eligible. Start an HDHP in October, and you get three-twelfths of the annual limit. The last-month rule overrides that: if you are an eligible individual on December 1, the IRS treats you as eligible for the full year and lets you contribute the entire annual maximum.2Internal Revenue Service. IRS Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
The testing period is the price. Congress attached it to the last-month rule to keep people from using a single December of HDHP coverage as a shortcut to a full year of contributions and then bailing out. To keep the benefit, you have to prove the eligibility was real by holding it for a full year afterward.
The Exact 13-Month Window
The testing period begins on December 1 of the year you make the full contribution and ends on December 31 of the following year. If you contribute the full 2026 limit under the last-month rule, your testing window runs from December 1, 2026 through December 31, 2027.2Internal Revenue Service. IRS Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
You must be an eligible individual on the first day of every month inside that window. The period does not pause and does not reset. A single month of ineligibility is enough to fail it.
One timing wrinkle: the deadline to make 2026 HSA contributions is April 15, 2027, the same as the tax filing deadline.3Internal Revenue Service. Instructions for Form 8889 By the time you actually write the check, the testing period is already running. If something in January or February changes your coverage, you can still choose to contribute only the pro-rated amount and avoid the trap entirely.
What You Have to Maintain During the Testing Period
Being an eligible individual on the first of each month means meeting every HSA requirement on that date:2Internal Revenue Service. IRS Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
- Active coverage under a qualifying high-deductible health plan.
- No other health coverage that pays benefits before the HDHP deductible is met.
- No Medicare enrollment, including Part A.
- Not claimed as a dependent on someone else’s tax return.
Dental, vision, disability, and long-term care insurance can sit alongside your HDHP without breaking eligibility.4U.S. Office of Personnel Management. Health Savings Accounts A limited-purpose FSA restricted to dental and vision is also fine. What breaks eligibility is a general-purpose health FSA that reimburses medical expenses before the deductible.
The Spousal FSA Problem
If your spouse enrolls in a general-purpose health care FSA at work, you lose HSA eligibility for that entire plan year, whether or not your spouse ever uses the FSA to pay your expenses. The availability of the reimbursement is what disqualifies you. If unused FSA funds carry over into the next year, your disqualification stretches through that year too. During a testing period, this is one of the most common ways people fail without realizing it. A limited-purpose FSA for dental and vision only avoids the problem.
Rule Changes That Reduce the Risk
Several changes took effect for 2026 that make it easier to stay eligible during a testing period.5Internal Revenue Service. Notice 2026-5 Bronze-level and catastrophic health plans bought through an ACA marketplace now qualify as HDHPs even if their cost-sharing does not meet the normal statutory thresholds. Direct primary care arrangements no longer disqualify you, provided the monthly fee is $150 or less for an individual, $300 or less for a plan covering more than one person, and the arrangement is limited to primary care services (no procedures needing general anesthesia and no prescription drugs other than vaccines). And the telehealth safe harbor, which lets HDHPs cover telehealth without a deductible, is now permanent rather than dependent on temporary congressional extensions.
What Happens If You Fail
If you lose eligibility during the testing period for any reason other than death or disability, two things happen:1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
- The contributions that exceeded your pro-rated limit get added to your gross income.
- The IRS charges a 10% additional tax on that same excess amount.
Both hit your tax return for the year you first became ineligible, not the year you made the contribution. Say you contributed the full $4,400 self-only limit for 2026 under the last-month rule and then lost HDHP coverage in June 2027. The income inclusion and the penalty both go on your 2027 return.3Internal Revenue Service. Instructions for Form 8889
The calculation lives on Form 8889, Part III. Line 18 captures the difference between what you contributed and what you could have contributed without the last-month rule. That amount flows to Schedule 1 as additional income; the 10% tax goes on Schedule 2. You do not have to withdraw anything from the HSA. The penalty applies whether the money is still in the account or has already been spent on qualified medical expenses.
A Sense of the Cost
Consider someone who enrolls in self-only HDHP coverage on September 15, 2026. They are eligible on the first of October, November, and December, so their pro-rated 2026 limit is $4,400 × 3/12 = $1,100. Using the last-month rule, they contribute the full $4,400, an extra $3,300. If they fail the testing period, that $3,300 becomes taxable income in the failure year plus a 10% additional tax. At a 22% federal bracket, the combined hit runs roughly $1,056. The tax-free growth on the extra contribution has to be worth that downside.
The Two Exceptions: Death and Disability
The income inclusion and the 10% tax do not apply if you lose eligibility because you die or become disabled. Those are the only exceptions.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
Disability here uses the definition in IRC Section 72(m)(7), which sets a high bar. You must be unable to perform any substantial gainful activity because of a physical or mental impairment expected to result in death or to last indefinitely. A temporary condition that will improve with treatment does not qualify, and an impairment that could be corrected with reasonable medical effort is not considered a disability under this standard. The IRS weighs the nature and severity of the condition against your education, training, and work experience.
If you die during the testing period, your estate faces no recapture, and beneficiaries inherit the HSA without an added tax liability from the unfinished window.
Deciding Whether to Use the Last-Month Rule at All
The testing period is the entire risk of the last-month rule. Before taking it, look honestly at the next 13 months. A job change that would move you off an HDHP, turning 65 and enrolling in Medicare, a spouse starting a general-purpose FSA at open enrollment: any one of these will fail the testing period on its own. If any look likely, the pro-rated contribution is the safer path.
One more thing to watch if you shift between self-only and family HDHP coverage. The last-month rule lets you elect the full family limit if you have family coverage on December 1, but the testing period then requires you to keep family HDHP eligibility through December 31 of the following year. Dropping back to self-only inside the window counts as a change in eligibility status and triggers recapture on the excess.