Blog
I started a high-deductible plan in July. How much can I put in my HSA?
A worksheet for a mid-year HDHP start: monthly proration versus the last-month rule, two worked examples, and what happens if you fail the testing period.
You switched jobs or changed plans at open enrollment, and a high-deductible plan took effect on July 1. Your HSA is open. What is the most you may put in for that year? The answer depends on which of two methods you use, and the difference can be thousands of dollars. The method that gives the larger number comes with a condition that lasts into the following year.
This worksheet walks through both methods with round-number examples, then shows what the condition is and what happens if you do not meet it. The limits used are the 2027 figures from IRS Rev. Proc. 2026-24: $4,500 for self-only coverage and $9,000 for family coverage, with a $1,000 catch-up for people 55 and older. The 2026 limits are $4,400 and $8,750 (Rev. Proc. 2025-19), and the same method applies to them.
Why there are two methods
An HSA limit is an annual figure, and the default rule assumes you were eligible all year. If you were eligible for only part of the year, the general rule is to prorate: you may contribute one-twelfth of the annual limit for each month in which you were eligible on the first day of the month.
There is a special exception, the last-month rule. If you are an eligible individual on December 1, you are treated as though you had been eligible for the entire year, and you may contribute the full annual limit for the type of coverage you have on December 1. In exchange, you must stay eligible for the testing period, which runs from December 1 of that year through December 31 of the following year, a total of 13 months in practice on a calendar-year basis. If you are not an eligible individual for the whole testing period, the extra you contributed becomes taxable and carries an additional tax.
Being an eligible individual means, in general, that you have an HSA-qualified high-deductible plan, have no other disqualifying health coverage (such as a general-purpose health FSA, or a spouse's FSA that can reimburse you), are not enrolled in Medicare and cannot be claimed as someone else's dependent. The basics are in How a health savings account (HSA) works: limits and tax benefits and HDHP. If any of those facts is unclear, resolve it first, because the whole calculation assumes you are eligible.
The worksheet
Work through this table with your own numbers. Do it once for each tax year.
| Line | What to enter | Your number |
|---|---|---|
| A | Annual limit for your coverage type (self-only or family), from the current IRS figures | ______ |
| B | Number of months you were eligible, counting a month if you were eligible on its first day | ______ |
| C | Prorated limit: A × B ÷ 12 | ______ |
| D | Full-year limit if you qualify for the last-month rule (equals A, using the coverage type you have on December 1) | ______ |
| E | Catch-up amount if you are 55 or older by year end ($1,000), prorated like A on the monthly method, full on the last-month method | ______ |
| F | Contributions already made for the year: your own, your employer's and payroll deductions, in every HSA | ______ |
| G | Room left on the monthly method: (C + prorated E) − F | ______ |
| H | Room left on the last-month method: (D + E) − F | ______ |
The difference between H and G is the extra amount you may contribute only if you commit to the testing period. If your answer for G or H is negative, you are over the limit; see I put too much money in my HSA. How do I fix it before the 6% tax?.
Example 1: self-only coverage that started July 1
Say Dana, 41, started a self-only HDHP on July 1, 2027. She was not eligible before that. Her employer deposits $600 into her HSA for the year.
- A: $4,500
- B: 6 months (July, August, September, October, November, December)
- C: $4,500 × 6 ÷ 12 = $2,250
- D: $4,500
- F: $600 (employer) so far
Monthly method: the room is $2,250 − $600 = $1,650. That is $275 a month if Dana spreads it over six months (a convenient number, not a requirement).
Last-month rule: if she is still on the HDHP on December 1, 2027, the room is $4,500 − $600 = $3,900.
The difference is $3,900 − $1,650 = $2,250, which is the extra she may add by using the last-month rule and agreeing to the testing period.
What happens if Dana fails the testing period
Say Dana uses the last-month rule and puts in the full $3,900, bringing her total to $4,500. In May 2028, she leaves her job and takes a plan that is not HSA-eligible, so she is no longer an eligible individual before the testing period ends on December 31, 2028.
The amount she contributed above the prorated limit is the part of the $4,500 that the monthly method would not have allowed: $4,500 − $2,250 = $2,250. For 2028, she generally has to:
- Include that $2,250 in her income for 2028.
- Pay an additional 10% tax on it: $2,250 × 10% = $225.
She is not penalized on the $2,250 that was within the prorated limit, and the $2,250 stays in her account. The account keeps the money, but the extra is treated as income plus the additional tax. The exceptions are generally death or disability, which end the testing requirement. For any other reason, such as changing jobs, getting married and joining a spouse's plan, or enrolling in Medicare, the testing period applies.
This is the price of the larger limit. Whether the price is worth paying depends on how sure Dana is that she will stay in an HSA-eligible plan for the next 13 months.
Example 2: family coverage that started September 1
Say a family, Sam and Alex, both under 55, started family HDHP coverage on September 1, 2027. They are eligible from that date; no spouse has a general-purpose FSA or Medicare. Sam's employer contributes nothing.
- A: $9,000 (family limit)
- B: 4 months (September, October, November, December)
- C: $9,000 × 4 ÷ 12 = $3,000
- D: $9,000
Monthly method: the room is $3,000 for the couple together. Because this is a family limit shared between spouses, they split it however they agree (the default is equally; see How do two spouses split the family HSA limit, and who gets the catch-up? for how spouses divide it).
Last-month rule: if they have family HDHP coverage on December 1, 2027, the room is $9,000 for the couple together.
The difference is $9,000 − $3,000 = $6,000.
What happens if they fail
Suppose they put in the full $9,000. In August 2028, Alex's employer drops the HDHP and they move to a different plan that is not HSA-eligible. They fail the testing period. The amount above the prorated limit is $9,000 − $3,000 = $6,000. In 2028, that is income plus an additional 10%: $6,000 × 10% = $600.
If they had instead contributed only the prorated $3,000, they would owe nothing extra for the change, because that amount is within the monthly limit.
Example 3: a reader over 55 who starts in October
Say Lee, 57, started a self-only HDHP on October 1, 2027, and has no employer contribution. The catch-up adds $1,000 to the annual figure, so the full-year total is $4,500 + $1,000 = $5,500.
- B: 3 months (October, November, December)
- Monthly method: $5,500 × 3 ÷ 12 = $1,375, assuming the catch-up is prorated along with the base limit as described in Publication 969 (confirm with the publication or a tax professional).
- Last-month rule: $5,500, if Lee is eligible on December 1.
- The difference is $5,500 − $1,375 = $4,125. If Lee failed the testing period, the income and additional tax would be on $4,125, and the 10% would be $412.50.
Lee's decision looks different from Dana's. A larger share of the full-year limit depends on the testing period, so the question is how confident Lee is about the next 13 months. Someone planning to retire or enroll in Medicare before the end of 2028 would be at risk.
What the monthly spreading looks like in practice
You do not have to deposit the money in twelfths. The monthly method sets a ceiling on the total, and you may deposit it at any point up to the tax filing deadline for the year. Many people on payroll deposit just by pay period, which is a way to spread it; others make a single deposit in November. In Dana's case, a payroll election that sends about $275 a month for six months would reach the $1,650 room exactly: 6 × $275 = $1,650.
If you plan to use the last-month rule, set up the extra deposit after you confirm that you are eligible on December 1, not before. A mid-year deposit that depends on the rule is a deposit you may have to unwind. Contributions can also be made after the year ends, up to the filing deadline, so there is room to wait until you have checked your status.
When your coverage type changes
Coverage type is checked on specific dates. On the monthly method, it is the type of coverage you have on the first day of each month. On the last-month rule, it is the type on December 1.
A person with self-only coverage from July through November who adds a spouse and children (family coverage) on December 1 can use the last-month rule with the family limit. That could allow $9,000 for 2027, though the testing period requires they stay eligible. It is a major opportunity and a notable risk, and is worth a conversation with a tax professional before acting.
In the other direction, someone who has family coverage for most of the year but switches to self-only on December 1 is limited to the self-only amount under the last-month rule, and may be better off with the monthly method that credits the higher limit for the months they had family coverage. Compare both.
Notes that change the answer
- Prior employer contributions count. Deposits from your previous job's HSA are part of line F for the same year.
- Other disqualifying coverage in the early months. If you had a general-purpose FSA or a non-HDHP plan from January through June, those are not eligible months.
- Enrollment date vs. effective date. The months count from the date coverage is effective, not the date you signed up. A plan that takes effect on July 1 counts July as eligible only if you are eligible on July 1.
- The $1,000 catch-up. For people 55 and older, it is generally prorated on the monthly method and available in full under the last-month rule. Check Publication 969 for the worksheet.
- Timing of deposits. Contributions for a tax year can generally be made until the tax filing deadline of the following year. You do not need to decide in December; but the last-month rule depends on your status on December 1.
- Medicare. Enrolling in Medicare, including automatic Part A enrollment when you start Social Security, ends HSA eligibility, which will break a testing period. How a health savings account (HSA) works: limits and tax benefits describes the rules, and the guide on FSA vs HSA: the differences in eligibility, limits and rollover helps if you also have an FSA.
- Limits can change. Each year's limit is set by the IRS, so use the limit for the tax year you are calculating, not a remembered figure.
- Now, for 2026. If you are reading this in late 2026 and became eligible mid-year, the same logic applies to the 2026 limits of $4,400 and $8,750. Confirm your status for December 1, 2026.
Should you use the last-month rule?
Here is a decision list, not advice.
- If you are certain to remain in an HSA-eligible plan with no disqualifying coverage through the end of the next year, the last-month rule is usually the larger number.
- If you may change jobs, retire, enroll in Medicare, marry someone with a general-purpose FSA, or otherwise lose eligibility within 13 months, the monthly method is safer.
- If you can only afford to contribute the prorated amount anyway, the last-month rule has no benefit for you.
- If you want to put in the full amount, consider how much of it you would need to include in income plus 10% if the plan changes: use the formula (full-year limit − prorated limit) × 10%.
- If your employer also deposits money, remember that it counts toward the total.
If any of these are unclear, ask a tax professional. The HSA custodian can tell you your contribution total to date but cannot tell you whether you are eligible.
Where the numbers are checked
Each year, the IRS publishes the limits in a revenue procedure, and IRS Publication 969 explains eligibility, the last-month rule and the testing period. Form 8889 is where the year's contributions are compared with the limit. The plan administrator can confirm that your HDHP is HSA-qualified, and the HSA contribution and tax savings calculator on this site can help you try numbers. The legal and tax details belong with a tax professional, especially if your situation includes a spouse's coverage, a move between family and self-only coverage, or a possible Medicare enrollment.
Key takeaways
- With a mid-year HDHP start, you can prorate the annual limit by month (one-twelfth per eligible month) or, if you are eligible on December 1, use the full-year limit.
- For 2027, a July 1 self-only start prorates to $2,250 versus $4,500; a September 1 family start prorates to $3,000 versus $9,000.
- The last-month rule requires staying an eligible individual through December 31 of the following year; if you do not, the extra over the prorated amount is income plus a 10% additional tax (for example, $225 on $2,250 or $600 on $6,000).
- Employer and prior-job contributions count toward the limit; the catch-up for age 55 and over is handled the same way.
- Ask a tax professional before relying on the last-month rule if you might change jobs, plans or Medicare status in the next 13 months.