Yes, you can contribute to an HSA for a previous year. The deposit has to reach your account by the federal tax filing deadline for that year, which for 2025 contributions is April 15, 2026. That gives you roughly three and a half months after the calendar year closes to top off your account and still claim the deduction on that year’s return.
The rule comes from a cross-reference in the tax code: Section 223(d)(4)(B) points to the IRA timing rule in Section 219(f)(3), which treats any contribution made before the original filing deadline as if it were made on December 31 of the prior year.1Office of the Law Revision Counsel. 26 U.S. Code 219 – Retirement Savings2Office of the Law Revision Counsel. 26 U.S.C. 223 Health Savings Accounts
The Deadline and What Can Move It
For the 2025 tax year, the deadline to make a prior-year HSA contribution is Wednesday, April 15, 2026.3Internal Revenue Service. IRS Announces First Day of 2026 Filing Season The statute is specific: the deadline is the return’s due date “not including extensions.” Filing an extension gives you more time to submit your return, but it does not give you more time to fund your HSA.
The money has to actually clear and post by that date. Filing your return in January doesn’t cut off your contribution window; you still have until April 15 to add more. The reverse trap is worth noting too: if you file early and deduct a contribution you haven’t yet made, you need to actually deposit it before the deadline or you’ll owe tax on the amount you claimed.
Were You Eligible That Year?
A prior-year contribution only works if you were HSA-eligible during the months you’re contributing for. To be eligible for a given month, you needed High Deductible Health Plan coverage on the first day of that month and no disqualifying coverage.4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If you had HDHP coverage for only part of the year, your limit is pro-rated: divide the annual maximum by twelve and multiply by the number of qualifying months.
For 2025, a qualifying HDHP had to carry a minimum annual deductible of $1,650 for self-only coverage or $3,300 for family coverage, with out-of-pocket costs capped at $8,300 or $16,600 respectively.5Internal Revenue Service. Revenue Procedure 2024-25
Several things disqualify you even if you also carry an HDHP. The most common are:
- Enrollment in any part of Medicare.
- Coverage under a general-purpose health care flexible spending account.
- Being claimed as a dependent on someone else’s tax return.
- Being covered by a spouse’s non-HDHP family plan (a spouse’s plan only disqualifies you if it actually covers you).4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
How Much You Can Still Put In
The limits for the years most people are looking at right now:
- 2025 tax year: $4,300 for self-only HDHP coverage, $8,550 for family coverage.4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
- 2026 tax year: $4,400 for self-only coverage, $8,750 for family coverage.6Internal Revenue Service. Revenue Procedure 2025-19
- Catch-up contributions: If you were 55 or older by the end of the tax year, add $1,000 on top of the standard limit.
These caps are the total from all sources. Every dollar your employer put in during the year — through matching, automatic contributions, or a cafeteria plan — counts against the same limit and reduces what you can add personally.7Internal Revenue Service. HSA Contributions – IRS Courseware If you have self-only coverage for 2025 and your employer deposited $1,500 during the year, your personal maximum is $2,800.
Before you write a check, add up what already went in: payroll contributions, employer deposits, and anything you sent directly. The difference is the room you still have.
Making the Deposit
The single most important step is telling your HSA custodian which tax year the contribution applies to. Every custodian’s deposit form or online portal will ask you to designate the year. If you leave it blank, the deposit gets applied to the current calendar year by default, and fixing that later means extra paperwork.
Most custodians accept electronic ACH transfers from a linked bank account, which usually post within two to three business days. Mailed checks are accepted too, but if you’re close to April 15, an electronic transfer is safer. The deadline is when the money posts, not when the envelope is postmarked. Some custodians accept mobile deposits and wires, though wires can carry fees.
Keep your own record of the deposit: a confirmation email, a screenshot, or a bank statement showing the transfer date. You’ll need that information when you file, and it’s your evidence if the IRS ever asks about the timing.
Claiming It on Your Return
To take the deduction, file Form 8889 with your Form 1040.8Internal Revenue Service. About Form 8889, Health Savings Accounts (HSAs) Part I walks through your contribution limit based on your months of eligibility and coverage type, then calculates the deduction. The deduction flows to Schedule 1, Part II, so you get it whether or not you itemize.9Internal Revenue Service. Instructions for Form 8889 (2025)
Your HSA custodian will eventually send you Form 5498-SA reporting your total contributions, but custodians have until May 31 to issue it, which is after the April 15 filing deadline.10Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026) Don’t wait for it. Use your own deposit records to complete Form 8889. The 5498-SA is a confirmation document, not a prerequisite.
If You Contribute Too Much
If your total contributions for the year exceed your limit, the excess is hit with a 6% excise tax for every year it stays in the account.9Internal Revenue Service. Instructions for Form 8889 (2025) The penalty compounds: leave the excess in place for three years and you pay it three times. Prior-year contributions are a common trigger because people forget to account for what their employer already deposited during the year.
To avoid the penalty, withdraw the excess plus any earnings on it before your tax return deadline, including extensions. You don’t claim a deduction for the amount you pull out, and the earnings on the withdrawn portion count as income in the year you take them out.9Internal Revenue Service. Instructions for Form 8889 (2025) There’s also a backup route: if you already filed on time without catching the excess, you can still remove it within six months of the original deadline by filing an amended return with “Filed pursuant to section 301.9100-2” written at the top.11Internal Revenue Service. Instructions for Form 5329
Miss both windows and you report the excess on Form 5329, Part VII, and pay the 6% tax. Future-year contribution room can absorb the excess, but you still owe the penalty for each year it sat in the account.11Internal Revenue Service. Instructions for Form 5329
Medicare Shuts the Door
Once you enroll in any part of Medicare, your HSA contribution limit drops to zero for that month and every month after.12Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts You can keep using the money already in the account for qualified medical expenses; you just can’t add more.
The trap for anyone considering a prior-year contribution around age 65 is Medicare’s retroactive coverage. Sign up for Medicare Part A after turning 65 and coverage backdates up to six months (though never earlier than your 65th birthday). The IRS treats those retroactive months as months of disqualifying coverage, which turns any contributions you made during that window into excess contributions subject to the 6% tax. If you’re 65 or older and still contributing, stop contributions at least six months before you plan to enroll. Claiming Social Security also triggers automatic Medicare Part A enrollment, so the two decisions are linked.