Whether to max out your HSA depends on your actual medical costs, your job stability, and how soon you might need the money
Maxing out your HSA—putting in the full amount allowed each year—makes sense if you have predictable medical expenses, stable income, and no when ready need for that money elsewhere. It does not make sense if you are job-hunting, carrying high-interest debt, or have no medical costs to cover. The decision is about your specific situation, not about HSAs being universally good or bad.
The math is straightforward: you get a tax deduction on the money you put in, the money grows tax-free, and you withdraw it tax-free when you spend it on medical care. That triple tax advantage is real. But it only works if you actually use the account for medical expenses, and only if you can afford to leave the money there long enough to grow.
Key Takeaways
- Max out your HSA if you have steady income, medical expenses you know are coming, and money in savings you do not need for living expenses.
- Do not max out if you are carrying credit card debt, have less than three months of emergency savings, or are between jobs.
- The contribution limits vary by year and by whether your plan covers one person or a family—check your plan documents for the current year.
- Money you do not spend stays in the account and grows year to year, so maxing out early in your career can build a significant medical fund by retirement.
- If you withdraw money for non-medical expenses before age 65, you pay income tax plus a 20 percent penalty, so treat the account as long-term unless you are certain about your medical costs.
The actual tax advantage and how much it saves you
When you contribute to an HSA, the money comes out before federal income tax is calculated. If you earn $60,000 a year and put $4,150 into an HSA (the 2024 individual limit), you only pay federal income tax on $55,850. At a 22 percent federal tax rate, that saves you about $913 in federal tax alone. Add state income tax if your state has it, and the savings grow.
That tax savings is not a rebate you get back—it is money you never owe in the first place. The money also grows tax-free inside the account. If you invest the HSA balance in a low-cost index fund and do not touch it for 20 years, you pay no tax on the growth. When you withdraw it for medical expenses, you pay no tax on the withdrawal either.
The catch is that this advantage only exists if you spend the money on medical care. If you withdraw it for anything else before age 65, you owe income tax on the withdrawal plus a 20 percent penalty. After 65, you can withdraw for any reason and only pay income tax—the penalty goes away—but you lose the medical-expense advantage.
When maxing out makes sense
Max out your HSA if you have predictable medical costs and the money to cover them without touching your HSA. This includes people with chronic conditions who know they will spend money on prescriptions, copays, and specialist visits; people with planned procedures coming up; and people with families where medical expenses are regular and substantial.
It also makes sense if you have stable employment, at least three months of emergency savings in a separate account, and no high-interest debt. The HSA should be additional savings, not a replacement for an emergency fund. If you need to raid the account for rent or a car repair, you lose the tax advantage and pay a penalty.
Maxing out early in your career—even if you do not have when ready medical costs—can build significant wealth by retirement. A 30-year-old who maxes out a family HSA every year until 65 and invests the balance will have over $300,000 in the account (assuming 7 percent annual growth), all of which can be spent tax-free on medical care in retirement. That is a powerful tool for covering costs Medicare does not pay.
When to contribute less or not at all
Do not max out if you are carrying credit card debt or other high-interest debt. The interest you pay on that debt is real and when ready, while the tax savings from the HSA are spread over years. Pay off the debt first, then max out the HSA.
Do not max out if you have less than three months of expenses in a separate emergency fund. Your HSA is not an emergency fund—withdrawing for non-medical emergencies costs you 20 percent in penalties plus income tax. Keep your emergency money separate and accessible.
Do not max out if you are job-hunting, recently unemployed, or in a contract position where your income is uncertain. You can only contribute to an HSA if you are enrolled in a high-deductible health plan, and you lose that coverage when you leave a job. If you contribute and then lose coverage mid-year, you may owe back taxes and penalties. Contribute what you can afford to lose if your situation changes.
How much you can actually contribute each year
The contribution limits change annually and depend on whether your plan covers one person or a family. For 2024, the individual limit is $4,150 and the family limit is $8,300. These limits are set by the IRS and typically increase by $50 to $100 each year to account for inflation.
If you turn 55 during the year, you can contribute an additional $1,000 as a catch-up contribution. This is a one-time-per-year boost available only to people 55 and older, and it continues until you enroll in Medicare.
You can only contribute if you are enrolled in a high-deductible health plan on the first day of the month you contribute. If you switch to a different type of plan mid-year, you can only contribute for the months you were enrolled in the high-deductible plan. Check your plan documents or call your benefits administrator to confirm the current year limits and your enrollment dates.
What happens to money you do not spend
Unlike a flexible spending account (FSA), which has a "use it or lose it" rule, HSA money rolls over year to year. If you contribute $4,150 and spend $1,000 on medical care, the remaining $3,150 stays in the account and grows. You can spend it next year, in 10 years, or in retirement.
This is why maxing out early matters. The longer the money sits in the account, the more time it has to grow through investment returns. If you never spend it, you can pass it to your heirs when you die, though they will owe income tax on the balance.
Keep records of what you spend on medical care, even if you do not withdraw the money when ready. You can reimburse yourself from the HSA years later, as long as you have documentation that the expense was medical and that you did not deduct it on your taxes. Some people use the HSA as a long-term investment vehicle and pay for medical expenses out of pocket, then reimburse themselves in retirement when they are in a lower tax bracket.
The investment question: should you invest HSA money
Most HSAs allow you to invest the balance in mutual funds or index funds, similar to a 401(k). If you are maxing out and do not plan to spend the money for several years, investing makes sense. The growth compounds tax-free, and you come out ahead compared to leaving the money in a cash account earning minimal interest.
If you might need the money within the next two years for medical expenses, keep it in cash or a money market fund. The stock market can drop 20 percent or more in a year, and you do not want to be forced to sell at a loss when you need the money for a medical bill.
Check your HSA provider's investment options. Some offer only high-fee mutual funds, which eat into your returns. Others offer low-cost index funds. If your provider's options are expensive, you may be better off contributing less and investing the money elsewhere, or switching to a provider with better options.
Frequently Asked Questions
Can I max out my HSA if I have a spouse with their own health plan?
Only if both of you are enrolled in high-deductible health plans. If you are both covered, you can each contribute to your own HSA up to the individual limit, or you can elect family coverage and contribute up to the family limit total. You cannot contribute to both an individual and a family HSA in the same year. Coordinate with your spouse and your benefits administrator to decide which approach saves more in taxes.
What counts as a medical expense I can withdraw for tax-free?
Copays, deductibles, prescriptions, dental work, vision care, mental health treatment, and medical equipment all count. Cosmetic procedures do not unless they are medically necessary. Over-the-counter medications count only if you have a prescription. Check IRS Publication 502 for a detailed list, or ask your HSA provider if you are unsure about a specific expense.
What happens to my HSA if I switch jobs?
Your HSA stays yours. It is not tied to your employer. You can take it with you, keep the same provider, or move it to a new provider. You can only contribute if you are enrolled in a high-deductible plan, so if your new job offers a different type of plan, you cannot contribute until you switch back to a high-deductible plan. The money you already contributed stays in the account.
Is it ever too late to max out my HSA?
You can contribute until the tax filing important date the following year—usually April 15. If you turn 55 during the year, you can make catch-up contributions until you enroll in Medicare. After you enroll in Medicare, you can no longer contribute, though you can still withdraw for medical expenses. If you are close to Medicare age and have not maxed out, ask your benefits administrator about the important date for your specific situation.
Should I max out if I have a very low deductible?
A low deductible usually means you will spend money on medical care regularly, which makes maxing out more attractive. You know the money will be used. However, low-deductible plans are often more expensive in monthly premiums, so compare the total cost—premiums plus deductible—against a high-deductible plan with an HSA. Sometimes the HSA tax savings and lower premiums of a high-deductible plan come out ahead even if you have more out-of-pocket costs.