Articles · Ten years out

2027 HSA limits if you retire before Medicare

The 2027 HSA contribution limit is $4,500 self-only or $9,000 family, plus $1,000 at age 55. See when Medicare and a Part A lookback stop contributions.

James Ustby, CFP®
Written and reviewed by James Ustby, CFP®, APMA®Wealth Advisor, LPL Financial. Durham and Chapel Hill, North Carolina.Published December 2, 2026 · 9 minute read

The short version

  1. For 2027, Rev. Proc. 2026-24 sets the HSA contribution limit at $4,500 for self-only coverage and $9,000 for family coverage. The statute still adds $1,000 at age 55 or older, and that $1,000 is not in the revenue procedure.
  2. Retiring before 65 does not, by itself, stop contributions. Each month still needs a high deductible health plan on the first day, no disqualifying coverage, and no Medicare.
  3. An HSA can pay qualified medical expenses, and COBRA premiums. Marketplace premiums are not on the IRS list of premium exceptions unless the coverage is while receiving unemployment compensation.
  4. The contribution limit is zero for every month of Medicare, including months Part A is backdated. Premium-free Part A can start up to 6 months before the application, and not before the first month of eligibility.
  5. In a hypothetical example, self-only coverage plus the $1,000, for 6 eligible months in 2027, is $2,750. A full-year $5,500 contribution would leave $2,750 excess.

The short answer

For 2027, the HSA contribution limit is $4,500 for self-only coverage and $9,000 for family coverage. Age 55 or older adds $1,000. Retiring before 65 does not stop contributions. They stop the first month Medicare starts, and premium-free Part A can reach back up to six months, not before eligibility.

What are the 2027 HSA contribution limits?

On June 15, 2026, Internal Revenue Bulletin 2026-25 published Rev. Proc. 2026-24. That is the official 2027 HSA notice. It is not a release from this month. The dated item in front of people now is Medicare Open Enrollment. Medicare.gov says it runs from October 15 through December 7, the plan must have the request by December 7, and the change starts January 1. A September 2026 Medicare fact sheet uses the same dates. That window changes a Medicare Advantage plan or a drug plan for someone who already has Medicare. It is not the first signup at 65, and it does not raise the HSA limit.

2027 HSA ruleSelf-onlyFamily
Contribution limit$4,500$9,000
Plan deductible at least$1,750$3,500
Out-of-pocket limit, not counting premiums$8,700$17,400

Those lines are Rev. Proc. 2026-24. For 2026, Rev. Proc. 2025-19 set contributions at $4,400 and $8,750, deductibles at $1,700 and $3,400, and out-of-pocket limits at $8,500 and $17,000. A 2027 plan under the deductible floor is not a high deductible health plan, so that month's contribution limit is zero.

Section 223 adds $1,000 at age 55 or older by year end. The statute sets $1,000 for 2009 and thereafter. Its inflation paragraph adjusts section 223(b)(2) and section 223(c)(2)(A). It does not adjust the $1,000, and Rev. Proc. 2026-24 does not restate it. Each spouse's $1,000 goes into that spouse's own HSA. There is no joint HSA.

The same procedure says a direct primary care arrangement is not treated as a health plan for 2027 when monthly fees do not exceed $150, or $300 if it covers more than one person.

Can you contribute to an HSA after you retire before 65?

Yes, in any month you are an eligible individual. Leaving a job is not one of the tests. Publication 969 requires a high deductible health plan on the first day of the month, no disqualifying extra coverage, no Medicare, and that you cannot be claimed as a dependent. The account stays with you after you leave work. Employer contributions, including cafeteria-plan amounts, count against the same limit.

Which policy you hold until 65 is a different page. COBRA or a Marketplace plan compares the 18-month COBRA clock with the 2027 premium tax credit. Health insurance if you retire at 62 is the broader bridge. A COBRA or Marketplace plan allows an HSA contribution only when it meets the deductible table and nothing else disqualifies the month. You can still be eligible if a spouse's other family coverage does not cover you.

What can an HSA pay before Medicare?

A distribution for qualified medical expenses incurred after the HSA was established is tax free. You do not have to withdraw every year. Leftover amounts carry over, and earnings are not taxed inside the account. Expenses from before the account existed are not qualified. Keep records that the expense was qualified, was not paid from somewhere else, and was not deducted on Schedule A.

Premiums are narrower. Publication 969 says HSA money may not pay insurance except long-term care (with its own limits), continuation coverage such as COBRA, coverage while receiving unemployment compensation, and, at 65 or older, Medicare and other health coverage other than Medigap. A Marketplace premium before 65 is not on that list unless the unemployment exception applies. COBRA premiums can be. Deductibles and other unreimbursed qualified costs can be paid from the HSA or reimbursed later. That is the bridge. It is not a promise that the balance covers three years of premiums.

When do HSA contributions stop for Medicare?

Beginning with the first month of Medicare, the contribution limit is zero. The months before that, and what the account can still pay, are what Retiring at 62 covers (Kindle, and paperback), the same links as on the books page. Publication 969 applies that rule to retroactive coverage, so a contribution for a backdated month is excess. In the publication's example, someone who turned 65 in July, enrolled, had self-only coverage, and qualified for the $1,000 extra had a limit of the full annual figure times 6/12. How much Medicare costs is the premium for that month. This page is the contribution.

You can still put in the 2027 amount for months you were eligible. The publication says contributions for a year can be made through the filing deadline it gives for that year (for 2025, through April 15, 2026). It does not print an April date for 2027 there.

Excess is not deductible. A 6 percent excise tax generally applies for each year it remains. Withdrawing the excess and its earnings by the return due date, including extensions, avoids the excise tax on what you withdraw. The earnings are income. Form 5329 is the excise form the publication names. Form 8889 reports the activity.

The last-month rule is a separate trap. Eligibility on December 1 can count as a full year, but the testing period then runs through December 31 of the next year. Failing it, other than by death or disability, puts the extra into income and adds 10 percent. A December high deductible plan followed by Medicare the next year can fail that test.

How does the 6-month Part A lookback work?

Premium-free Part A does not start 6 months before your 65th birthday. It cannot start before the first month you were eligible.

Health and Human Services says Part A begins the month you turn 65 if you apply for Part A, Social Security, or Railroad Retirement benefits within 6 months of that month. An application more than 6 months later is retroactive for 6 months. A birthday on the 1st can start coverage on the first day of the prior month. Someone already receiving Social Security at least 4 months before 65 does not file again. Part A starts on its own at 65.

Medicare's enrollment booklet says premium-free Part A starts 6 months back from the application for Medicare, Social Security, or Railroad Retirement benefits, and no earlier than the first month of eligibility. The booklet tells readers to stop contributions at least 6 months before that application, because that is the reach. An application made in the months just before 65 does not zero out earlier months. The floor is still the first month of eligibility. The Part A application tells a person applying after 65 to stop contributing before applying, because coverage can reach up to 6 months back and not before the birthday month.

The lookback hits a late application after 65. It does not reach into a retirement at 62. Delaying Social Security and Medicare can leave later months open for a contribution, if the high deductible plan is still in place. Applying later can turn contributions already made into excess. Social Security can start Part A, and that Part A can be backdated.

What is the limit if Medicare starts in July?

Hypothetical example, for illustration only. Dana retired at 62. She turns 65 on July 20, 2027, so the birthday is not on the 1st. She has self-only coverage that meets the 2027 deductible, and she is not taking Social Security. She applies for premium-free Part A in April 2027, in the three months before the birthday month. The enrollment booklet says coverage then starts on the first day of the birthday month when that day is not the 1st. Part A starts July 1, 2027. January through June are the eligible months.

She is 65 by year end, so the $1,000 is inside the annual figure, then prorated the way Publication 969 prorates its July example. $4,500 plus $1,000 is $5,500. Six twelfths is $2,750.

2027 item, hypotheticalPart A starts July 1Full-year contribution anyway
Self-only limit, Rev. Proc. 2026-24$4,500$4,500
Additional amount, section 223$1,000$1,000
Figure before the month fraction$5,500$5,500
Eligible months66, not 12
Contribution limit$2,750$2,750
Amount put in$2,750$5,500
Excess$0$2,750
6 percent if that excess stays in$0$165

The $165 is 6 percent of $2,750 in this example, not an IRS bill. Withdrawing the $2,750 and its earnings by the return due date, including extensions, is how the publication says the excise tax on that withdrawal is avoided. The earnings are income.

If she instead applies on February 1, 2028, that date is more than 6 months after July 2027. Six months before February 1, 2028 is August 1, 2027, which is not before her first month of eligibility. On the booklet's wording, backdated Part A would start August 1, not July 1, so July would count as eligible and the fraction would use 7. That is calendar arithmetic from the cited sentences, not an award letter. If her birthday were July 1, coverage can start June 1, and June's limit would be zero.

What happens to the HSA after contributions stop?

The account does not close. A distribution is tax free only to the extent it pays qualified medical expenses. After you reach 65, the extra 20 percent tax on a nonqualified distribution does not apply. The nonqualified amount is still income. Death and disability are the other exceptions to the 20 percent tax.

At 65 or older, Medicare premiums other than Medigap can be qualified. Before that birthday they are not, even when a spouse is on Medicare. COBRA premiums can be qualified before 65. Marketplace premiums generally cannot.

North Carolina starts with federal adjusted gross income. The Department of Revenue ties that figure to the Internal Revenue Code as of January 1, 2023. Publication 969 takes the HSA deduction before adjusted gross income, not as an itemized deduction. The state page does not publish a separate 2027 HSA limit.

The bottom line

Rev. Proc. 2026-24 sets the 2027 HSA limits at $4,500 and $9,000, deductible floors at $1,750 and $3,500, and out-of-pocket caps at $8,700 and $17,400. The $1,000 at 55 or older is the statute, and it is prorated with the rest when Medicare starts mid-year. Retiring at 62 does not turn the limit off. Medicare does, including backdated Part A, and that reach cannot begin before the first month of eligibility.

Retiring at 62 (Kindle and paperback) is the book on this bridge. Consult your tax advisor before you contribute, enroll in Medicare, or claim Social Security.

Which month will Part A start, and how many months of 2027 are left before it?

Next steps

  • Put the bridge on paper. The free Retiring at 62 worksheets cover coverage until Medicare, the income bridge, and the tax lines.
  • Get the notes. Ten Years Out by James Ustby, CFP® is the free email on retirement income, taxes, and the decisions that change the bill.
  • Talk it through. To set a 2027 HSA limit next to a Medicare start month, book a free call. Bring the health plan's deductible, any HSA statement, and the month you expect Part A to start. The call is educational.

Questions people ask next

Does claiming Social Security at 62 stop HSA contributions that year?
No. The Medicare test in Publication 969 is whether you are enrolled in Medicare. Health and Human Services says a person who is already receiving Social Security at least 4 months before turning 65 gets Part A automatically at 65, without a separate application. Contributions can continue until that Part A start, which is the birthday month, or the prior month if the birthday is on the 1st.
Can each spouse add $1,000?
Only if that spouse is an eligible individual, age 55 or older at year end, and not enrolled in Medicare. Publication 969 says each spouse needs a separate HSA, and each additional $1,000 has to go into that spouse's own account. Two catch-ups on top of the $9,000 family limit are $11,000 for the year, which is the statute plus Rev. Proc. 2026-24, not a third figure in the revenue procedure.
Can an HSA pay a spouse's Medicare premiums before I turn 65?
Publication 969 says no, in general. Medicare and other health coverage premiums are a qualified expense only if the account holder is 65 or older, and Medigap premiums are excluded even then. If the account holder is under 65, a spouse's Medicare premiums are not generally qualified.
What if a general health FSA or HRA is still open?
Publication 969 says an employee covered by a high deductible health plan and by a health FSA or HRA that pays or reimburses qualified medical expenses cannot generally contribute to an HSA. A retiree HRA that pays medical bills can be that kind of coverage. A plan that only pays limited items may be different, which is a question for the plan document.
Is the $1,000 catch-up higher in 2027?
No. Section 223 sets the additional contribution at $1,000 for 2009 and thereafter. The inflation adjustment in that section applies to the deductible limits and the main contribution limits, and, for years after 2026, to the direct primary care fee cap. It does not apply to the $1,000.

Keep going

James Ustby, CFP®

James Ustby, CFP®, APMA®

Wealth Advisor, LPL Financial. Durham and Chapel Hill, North Carolina.

James Ustby is a CFP® professional and Accredited Portfolio Management Advisor who works with families, retirees, and business owners in the Triangle on retirement income, tax-aware withdrawals, and the decisions that decide whether the money lasts. He writes one question at a time, shows the math, and links the government source for every figure. He is currently working toward the Enrolled Agent credential.

Book a 15-minute call

How I am paid: through LPL Financial, by planning fees, advisory fees, and commissions on insurance products, all disclosed in writing before any engagement. Nothing on this page is a recommendation for you.

Ten Years Out is the free newsletter, one issue every Tuesday. Or take the free Retirement Reality Report: 14 questions, a written diagnosis.

Subscribe to Ten Years Out

Free. Signup opens on Substack. Unsubscribe there with one click.

Securities and advisory services are offered through LPL Financial (LPL), a registered investment advisor and broker-dealer (member FINRA/SIPC). Insurance products are offered through LPL or its licensed affiliates.

The LPL Financial registered representative associated with this site may discuss and transact securities business only with residents of the states in which they are properly registered or licensed. No offer may be made or accepted from any resident of any other state.

This material is for general information only and is not intended to provide specific advice or recommendations for any individual. Neither LPL Financial nor its representatives provide legal or tax advice; please consult your attorney or tax advisor regarding your specific situation. No strategy assures success or protects against loss. Examples are hypothetical and for illustration only.

Book a 15-minute call