Home › Guides › Markets & the economy
Does the HSA limit include employer contributions?
Yes. Money your employer puts in your HSA counts toward the HSA limit. There is one limit, and your deposits and your employer's share it. For 2027 that is $4,500 for self-only coverage and $9,000 for family coverage.
The short answer
Yes, employer money counts. The HSA limit is one number for the whole account. Your deposits use it up. Your employer's deposits use it up too. If your employer puts in $1,000, you have $1,000 less room.
For 2027 the limit is $4,500 with self-only coverage and $9,000 with family coverage, plus $1,000 if you are 55 or older. The year-by-year numbers are on the HSA limits by year page.
What the IRS says
Publication 969 is the IRS guide to HSAs. Under "Employer contributions" it says:
You must reduce the amount you or any other person can contribute to your HSA by the amount of any contributions made by your employer that are excludable from your income. This includes amounts contributed to your account by your employer through a cafeteria plan.
Source: irs.gov
Three parts of that line matter:
- "you or any other person." The limit covers the whole account, not only your own deposits. Publication 969 also says an HSA can get money from "an eligible individual or any other person, including an employer or a family member."
- "excludable from your income." This means employer money that is left out of your gross income. Publication 969 says employer HSA contributions may be left out that way.
- "through a cafeteria plan." A cafeteria plan lets you pick benefits from your pay before tax. Money you choose to send to your HSA this way is treated as employer money. The IRS says so again in another place:
Contributions to an employee's account by an employer using the amount of an employee's salary reduction through a cafeteria plan are treated as employer contributions.
Source: irs.gov
So payroll deposits taken from your paycheck before tax count as employer deposits, against the same limit.
Hypothetical: self-only coverage
Say a worker has self-only coverage in 2027. These numbers are made up.
| Step | Amount |
|---|---|
| 2027 self-only limit | $4,500 |
| Employer puts in | −$1,200 |
| Room left for everyone else | $3,300 |
| Worker deposits $200 a month for 12 months | −$2,400 |
| Room still left | $900 |
If the worker is 55 or older, the limit is $5,500 ($4,500 plus $1,000), and the room left in the last row is $1,900.
Hypothetical: family coverage
Say a family has family coverage in 2027, and the employer puts in $2,000.
| Step | Amount |
|---|---|
| 2027 family limit | $9,000 |
| Employer puts in | −$2,000 |
| Room left | $7,000 |
| A relative adds a $500 gift | −$500 |
| Room still left | $6,500 |
Publication 969 says an HSA can take money from "any other person," and the limit covers all of it.
Two spouses, one family limit
Married couples have their own rule in Publication 969:
If either spouse has family HDHP coverage, both spouses are treated as having family HDHP coverage. If each spouse has family coverage under a separate plan, the contribution limit for 2025 is $8,550. [...] After that reduction, the contribution limit is split equally between the spouses unless you agree on a different division.
Source: irs.gov
The "[...]" marks a sentence we left out, about another kind of account. The $8,550 is the 2025 family limit. For 2027 it is $9,000. The rule works the same way each year.
Say both spouses have family plans and each has an HSA in 2027. The limit for the two of them together is $9,000, not $9,000 each. If the spouses do not agree on a different split, each can put in $4,500. If one spouse's employer puts in $2,000, that comes out of the pair's $9,000, so $7,000 is left to share.
The age 55 extra works differently. The IRS says:
If both spouses are 55 or older and not enrolled in Medicare, each spouse's contribution limit is increased by the additional contribution. [...] Each spouse must make the additional contribution to their own HSA.
Source: irs.gov
So if both spouses are 55 or older, each can add $1,000 to their own HSA, for a pair total of $11,000 in 2027 ($9,000 plus $1,000 plus $1,000). The $1,000 is not shared. It has to go into that person's own account.
When your employer deposits after the year ends
An employer can put money in for a year after the year is over. Publication 969 says:
Your employer can make contributions to your HSA from January 1, 2026, through April 15, 2026, that are allocated to 2025. Your employer must notify you and the trustee of your HSA that the contribution is for 2025.
Source: irs.gov
Money allocated to the earlier year is part of that year's total.
Where to see how much your employer put in
Your employer reports its HSA contributions on your Form W-2, box 12, code W. The IRS says:
You must report the contributions (including amounts the employee elected to contribute through a cafeteria plan) on Form W-2, box 12, code W.
Source: irs.gov
Code W includes the money you sent through the cafeteria plan. A deposit made after year end is reported on the W-2 for the year it is paid, so the code W total for a year may not match that year's limit exactly.
What happens if the total is too high
Money above the limit is called an excess contribution. Publication 969 says:
Generally, you must pay a 6% excise tax on excess contributions. See Form 5329, Additional Taxes on Qualified Plans (Including IRAs) and Other Tax-Favored Accounts, to figure the excise tax. The excise tax applies to each tax year the excess contribution remains in the account.
Source: irs.gov
For employer money, there is one more rule:
Excess contributions aren't deductible. Excess contributions made by your employer are included in your gross income. If the excess contribution isn't included in Form W-2, box 1 you must report the excess as "Other income" on your tax return.
Source: irs.gov
The IRS also describes a way to take an excess out:
You may withdraw some or all of the excess contributions and avoid paying the excise tax on the amount withdrawn if you meet the following conditions. You withdraw the excess contributions by the due date, including extensions, of your tax return for the year the contributions were made. You withdraw any income earned on the withdrawn contributions and include the earnings in "Other income" on your tax return for the year you withdraw the contributions and earnings.
Source: irs.gov
The limit goes to zero on Medicare
One more rule from the IRS:
Beginning with the first month you are enrolled in Medicare, your contribution limit is zero.
Source: irs.gov
Where the numbers come from
The 2027 numbers are from Rev. Proc. 2026-24 (2027 HSA limits). Every year since 2004 is on the HSA limits by year page. For the 401(k), where the match sits outside your own limit, see the 401(k) match page. Dates are on the US investor tax calendar 2027.
Questions
Does employer money count toward the HSA contribution limit?
Yes. IRS Publication 969 says you must reduce what you or any other person can contribute by the employer contributions that are excludable from your income.
Do payroll deductions through a cafeteria plan count as employer money?
Yes. The IRS treats money sent to your HSA from your pay through a cafeteria plan as employer contributions. They count toward the same limit.
What is the HSA limit for 2027 with an employer deposit?
The limit is the same: $4,500 self-only or $9,000 family. The employer's deposit uses part of it. If the employer puts in $1,200 on a self-only plan, $3,300 of room is left.
Do my spouse and I each get a full family limit?
No. If either spouse has family coverage, both are treated as having family coverage, and the pair shares one family limit. Each spouse 55 or older can add their own $1,000.
Does an employer deposit made in January count for last year?
It can. The IRS says an employer can make contributions through April 15 that are allocated to the prior year, if the employer tells you and the trustee.
What if the employer and I put in more than the limit?
The extra is an excess contribution. The IRS says it is not deductible and generally carries a 6% excise tax for each year it stays in the account. Taking it out by the filing deadline, with its earnings, avoids the excise tax.
Follow along