If you enroll in a High-Deductible Health Plan (HDHP) partway through the year, you do not automatically miss out on maximizing your Health Savings Account (HSA) tax advantages. Under IRS rules, you have two ways to calculate how much you can contribute: the standard prorated method or the IRS Last-Month Rule.
Option 1: The standard prorated method
Normally, your annual HSA contribution limit is prorated based on the number of months you are HSA-eligible. You earn 1/12 of the annual IRS limit for each month you are enrolled in an eligible HDHP (and have no disqualifying coverage) on the first day of the month.
For example, if your HDHP coverage begins on July 1, you are eligible for 6 out of 12 months (July through December), meaning you can contribute half of the annual IRS maximum for your coverage type, plus half of the $1,000 catch-up contribution if you are age 55 or older.
Option 2: The IRS Last-Month Rule (Full-Year Contribution)
Under the IRS Last-Month Rule (outlined in IRS Publication 969), you can contribute the full annual IRS limit for your coverage type even if you only had HDHP coverage for part of the year, as long as you are HSA-eligible on the first day of the last month of your tax year (December 1 for most taxpayers).
However, using the Last-Month Rule comes with an important commitment:
The 13-month testing period: To keep the full-year tax benefit without penalties, you must remain an HSA-eligible individual throughout the entire testing period, which runs from December 1 of your contribution year through December 31 of the following year.
What happens if your coverage changes: If you switch to a non-HDHP health plan, enroll in Medicare, or otherwise lose HSA eligibility before December 31 of the following year (for reasons other than death or disability), the extra amount you contributed beyond your prorated limit may be subject to tax penalties.
Note: Tax rules and annual IRS contribution limits depend on your coverage timeline, plan type, and age. Lively provides this information for educational purposes, refer to IRS Publication 969 or consult a qualified tax advisor before using the Last-Month Rule if you think your health coverage might change next year.
Source: "Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans.”
Updated: