HSA for Retirement: Rules, Benefits, and Getting Started

By MP Dunleavey · February 14, 2024 · 13 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. Read more We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right. Read less

HSA for Retirement: Rules, Benefits, and Getting Started

A health savings account, or HSA, not only provides a tax-free way to pay for medical expenses now, those tax savings can extend to retirement as well.

An HSA provides triple tax benefits to the account holder. You set aside money pre-tax (similar to a 401(k) or IRA), it grows tax free, and withdrawals for qualified medical expenses are also tax free.

HSAs can be a boon in retirement because you always have access to the account, even if you change jobs, and you never have to “use it or lose it,” so your savings can grow over time. Thus, you can use HSA funds to pay for qualified medical expenses at any time, tax free, now or when you retire.

The other good news is that after age 65 you can use the funds for non-qualified expenses, too; you just have to pay income tax on the funds you withdraw.

What Is an HSA?

A Health Savings Account is a type of tax-advantaged savings account for individuals with a high-deductible health care plan (HDHP) — defined by the IRS as any plan with a deductible of at least $1,600 for an individual or $3,200 for a family.

That said, not all high-deductible plans are eligible for a health-savings account. When selecting a plan, make sure it says “HSA eligible.”

Anyone who fits the criteria is eligible to open an HSA and save pre-tax dollars: up to $4,150 a year for individuals and up to $8,300 for families for the 2024 tax year — a 7% increase over the 2023 contribution limits. If you’re 55 or older at the end of the tax year, you can contribute an additional $1,000 — similar to the catch-up contributions allowed with an IRA.

An employer can also make a matching contribution into your HSA, though it’s important to note that total employer and employee contributions can’t exceed the annual limits. So if you’re single, and your employer contributes $1,500 to your HSA each year, you can’t contribute more than $2,650 for 2024.

Rules and Restrictions on HSA Contributions

You have until the tax-filing deadline to make your annual HSA contribution.

•   For tax year 2023, you have until April 15, 2024.

•   For tax year 2024, you have until April 15, 2025.

It’s important to know the amount you can contribute to your account, both so you can take advantage of your HSA and to make sure you’re not penalized for excess contributions. If the amount you deposit for the year in your HSA is over the defined limit, including any employer contributions and catch-up contributions, you’ll owe ordinary income tax on that amount, plus a 6% penalty.

Another caveat: Once you enroll in or become eligible for Medicare Part A benefits, you can no longer contribute money to an HSA.

What Are HSA Withdrawals?

You can withdraw funds from your HSA to pay for qualified medical and dental health care expenses, including copays for office visits, diagnostic tests, supplies and equipment, over-the-counter medications and menstrual care products. Health insurance premiums are not included as qualified expenses, however.

One significant benefit of HSA accounts is that, unlike flexible spending accounts (FSA), the money in an HSA doesn’t have to be used by the end of the year. Any money in that account remains yours to access, year after year. Even if you change jobs, the account comes with you.

Before age 65, there is a 20% penalty for withdrawing funds from an HSA for non-medical expenses, on top of ordinary income tax. After age 65, HSA holders can also make non-medical withdrawals on their account, though ordinary income tax applies.

How Do Health Savings Accounts Work?

HSAs are designed to help consumers play for medical expenses when they have a high-deductible health plan (HDHP). That’s because typically an HDHP only covers preventive care before the deductible, so most types of medical care would have to be paid out of pocket as they’re applied to the deductible amount.

Having a tax-advantaged plan like an HSA gives people a bit of a break on medical expenses because they can save the money pre-tax (meaning any money you save in an HSA lowers your taxable income), and it grows tax free, and you withdraw the money tax free as well, as long as you’re paying for qualified expenses.

As noted above, you can withdraw your HSA funds at any time. But if you’re under age 65 and paying for non-qualified expenses, you’ll owe taxes and a 20% penalty on the amount you withdraw.

After age 65, you simply owe taxes on non-qualified withdrawals, similar to withdrawal rules for a 401(k) or traditional IRA.

💡 Quick Tip: It’s smart to invest in a range of assets so that you’re not overly reliant on any one company or market to do well. For example, by investing in different sectors you can add diversification to your portfolio, which may help mitigate some risk factors over time.

Boost your retirement contributions with a 1% match.

SoFi IRAs now get a 1% match on every dollar you deposit, up to the annual contribution limits. Open an account today and get started.


Only offers made via ACH are eligible for the match. ACATs, wires, and rollovers are not included.

Can an HSA Be Used for Retirement?

HSAs are not specifically designed to be a retirement planning vehicle, but you can use HSA funds in retirement, since the money accumulates in your account until you withdraw it tax-free for qualified medical expenses.

There’s no “use it or lose it” clause with an HSA account, so any unused funds simply rollover to the following year. This offers some potential for growth over time.

That said, the investment options in an HSA account, unlike other designated retirement accounts, tend to be limited. And the contribution caps are lower with an HSA.

You could also use your HSA funds to pay for other retirement expenses after age 65 — you’ll just have to pay income tax on those withdrawals.

Recommended: How to Set Up a Health Savings Account

3 Reasons to Use an HSA for Retirement

Though they aren’t specifically designed to be used in retirement planning, it’s possible to use an HSA for retirement as a supplement to other income or assets. Because you can leave the money you contribute in your account until you need it for qualified medical expenses, the funds could be used for long-term care, for example.

Or, if you remain healthy, you could tap your HSA in retirement to pay for everyday living expenses.

There are several advantages to including an HSA alongside a 401(k), Individual Retirement Account (IRA), and other retirement savings vehicles. An HSA can yield a triple tax benefit since contributions are tax-deductible, they grow tax-deferred, and assuming you withdraw those funds for qualified medical expenses, distributions are tax-free.

If you’re focused on minimizing your tax liability as much as possible prior to and during retirement, an HSA can help with that.

Using an HSA for retirement could make sense if you’ve maxed out contributions to other retirement plans and you’re also investing money in a taxable brokerage account. An HSA can help create a well-rounded, diversified financial plan for building wealth over the long term. Here’s a closer look at the top three reasons to consider using HSA for retirement.

1. It Can Lower Your Taxable Income

You may not be able to make contributions to an HSA in retirement, but you can score a tax break by doing so during your working years. The money an individual contributes to an HSA is deposited pre-tax, thus lowering their taxable income.

Furthermore, any employer contributions to an HSA are also excluded from a person’s gross income. Meaning: You aren’t taxed on your employer’s contributions.

The money you’ve deposited in an HSA earns interest and contributions are withdrawn tax-free, provided the funds are used for qualified medical expenses. In comparison, with a Roth IRA or 401(k), account holders are taxed either when they contribute (to a Roth IRA) or when they take a distribution (from a tax-deferred account like a traditional IRA or 401(k)).

Using HSA for retirement could help you manage your tax liability.

2. You Can Save Extra Money for Health Care in Retirement

Unlike Flexible Spending Accounts that allow individuals to save pre-tax money for health care costs but require them to use it the same calendar year, there is no “use it or lose it” rule with an HSA. If you don’t use the money in your HSA, the funds will be available the following year. There is no time limit on spending the money.

Because the money is allowed to accumulate, using an HSA for retirement can be a good way to stockpile money to pay for health care, nursing care, and long-term costs (all of which are qualified expenses) if needed.

While Americans can enroll in Medicare starting at age 65, most long-term chronic health care needs and services aren’t covered under Medicare. Having an HSA to tap into during retirement can be a good way to pay for those unexpected out-of-pocket medical expenses.

3. You Can Boost Your Retirement Savings

Beyond paying for medical expenses, HSAs can be used to save for retirement. Unlike a Roth IRA, there are no income limits on saving money in an HSA.

Some plans even allow you to invest your HSA savings, much like you would invest the funds in a 401(k).

The investments available in any given HSA account depend on the HSA provider. And the rate of return you might see from those investments, similar to the return on a 401(k), depends on many factors.

Investing can further augment your retirement savings because any interest, dividends, or capital gains you earn from an HSA are nontaxable. Plus, in retirement, there are no required minimum distributions (RMDs) from an HSA account — you can withdraw money when you want or need to.

Some specialists warn that saving for retirement with an HSA really only works if you’re currently young and healthy, rarely have to pay health care costs, or can easily pay for them out of your own pocket. This would allow the funds to build up over time.

If that’s the case, come retirement (or after age 65) you’ll be able to use HSA savings to pay for both medical and non-medical expenses. While funds withdrawn to cover medical fees won’t be taxed, you can expect to pay ordinary income tax on non-medical withdrawals, as noted earlier.

HSA Contribution Limits

If you are planning to contribute to an HSA — whether for immediate and short-term medical expenses, or to help supplement retirement savings — it’s important to take note of HSA contribution limits. If your employer makes a contribution to your account on your behalf, your total contributions for the year can’t exceed the annual contribution limit.

2023 Tax Year HSA Contribution Limits: Remember that you can contribute to your HSA for tax year 2023 until April 15, 2024.

•   $3,850 for individual coverage

•   $7,750 for family coverage

•   Individuals over age 55 can contribute an additional $1,000 over the annual limit

As with opening an IRA, you have until the tax filing deadline to make a contribution for the current tax year. So if you wanted to contribute money to an HSA for tax year 2023, you’d have until April 15, 2024 to do so.

2024 Tax Year HSA Contribution Limits: Remember that you can contribute to your HSA for tax year 2024 until April 15, 2025.

•   $4,150 for individual coverage

•   $8,300 for family coverage

•   Individuals over age 55 can contribute an additional $1,000 over the annual limit

How to Invest Your HSA for Retirement

An HSA is more than just a savings account. It’s also an opportunity to invest your contributions in the market to grow them over time. Similar to a 401(k) or IRA, it’s important to invest your HSA assets in a way that reflects your goals and risk tolerance.

That said, one of the downsides of investing your HSA funds is that these accounts may not have the wide range of investment options that are typically available in other types of retirement plans. Investment fees are another factor to keep in mind.

It’s also helpful to consider the other ways you’re investing money to make sure you’re keeping your portfolio diversified. Diversification is important for managing risk. From an investment perspective, an HSA is just one part of the puzzle and they all need to fit together so you can make your overall financial plan work.

HSA for Retirement vs Other Retirement Accounts

Although you can use an HSA as part of your retirement plan, it’s not officially a retirement vehicle. Here are some of the differences between HSAs and other common types of retirement accounts. Note: All amounts reflect rules/ limits for the 2024 tax year.

HSA

Traditional IRA

401(k)

2024 annual contribution limit $4,150 (individual)
$8,300 (family)
$7,000 $23,000
Catch up contribution + $1,000 for those 55 and older + $1,000 for those 50 and older (total: $8,000) + $7,500 for those over 50 (total: $30,500)
Contributions & tax Pre-tax Pre-tax Pre-tax
Withdrawals Can withdraw funds at any age, tax free, for qualified medical expenses. After age 59 ½ withdrawals are taxed as income. After age 59 ½ withdrawals are taxed as income.
Penalties/taxes Withdrawals before age 65 for non-qualified expenses incur a 20% penalty and taxes.

Withdrawals after age 65 for non-qualified expenses are only taxed as income.

Before age 59 ½ withdrawals are taxed, and may incur an additional 10% penalty.

Some exceptions apply.

Before age 59 ½ withdrawals are taxed, and may incur an additional 10% penalty.

Some exceptions apply.

RMDs No Yes Yes

As you can see, an HSA is fairly similar to other common types of retirement accounts, like traditional IRAs and 401(k)s, with some key differences. For example, you can generally contribute more to an IRA and to a 401(k) than you can to an HSA, as an individual.

While contributions are made pre-tax in all three cases, an HSA offers the benefit of tax-free withdrawals, at any time, for qualified medical expenses.

Note that Roth IRAs also have a tax-free withdrawal structure for contributions, but not earnings, unless the account holder has had the Roth for at least 5 years and is over 59 ½. The rules governing Roth accounts, including Roth IRAs and Roth 401(k)s can be complicated, so be sure you understand the details.

In addition, HSA rules allow the account holder to maintain the account even if they leave their job. There is no need to do a rollover IRA, as there is when you leave a company and have to move your 401(k).

💡 Quick Tip: Before opening an investment account, know your investment objectives, time horizon, and risk tolerance. These fundamentals will help keep your strategy on track and with the aim of meeting your goals.

What Happens to an HSA When You Retire?

An HSA doesn’t go away when you retire; instead, the money remains available to you until you need to use it. As long as withdrawals pay for qualified medical expenses, you’ll pay no taxes or penalties on the withdrawals. And your invested contributions can continue to grow as long as they remain in the account.

One advantage of using an HSA for retirement versus an IRA or 401(k) is that there are no required minimum distributions. In other words, you won’t be penalized for leaving money in your HSA.

How Much Should I Have in an HSA at Retirement?

The answer to this question ultimately depends on how much you expect to spend on healthcare in retirement, how much you contribute each year, and how many years you have to contribute money to your plan.

Say, for example, that you’re 35 years old and making contributions to an HSA for retirement for the first time. You plan to make the full $4,150 contribution allowed for individual coverage for the next 30 years.

Assuming a 5% rate of return and $50 per month in HSA medical expenses, you’d have just over $242,000 saved in your HSA at age 65. Using an HSA calculator to play around with the numbers can give you a better idea of how much you could have in your HSA for retirement if you’re saving consistently.

When Can I Use My HSA Funds?

Technically your HSA funds are available to you at any time. So if you have to pick up a prescription or make an unscheduled visit to the doctor, you could tap into your HSA to pay for any out-of-pocket costs not covered by insurance.

If you’re interested in using an HSA in retirement, though, it’s better to leave the money alone if you can, so that it has more opportunity to grow over time.

The Takeaway

A health savings account can be a valuable tool to help pay for qualified out-of-pocket medical costs, tax-free right now. But an HSA can also be used to accumulate savings (and interest) tax-free, to be used on medical and non-medical expenses in retirement.

While an HSA can be useful for retirement, especially given the rising cost of long-term care and other medical needs, note that the annual contribution limit for individuals is much lower than other retirement accounts. Also, the investment options in an HSA may be limited compared with other retirement plans.

Ready to invest for your retirement? It’s easy to get started when you open a traditional or Roth IRA with SoFi. SoFi doesn’t charge commissions, but other fees apply (full fee disclosure here).

Help grow your nest egg with a SoFi IRA.


SoFi Invest®
INVESTMENTS ARE NOT FDIC INSURED • ARE NOT BANK GUARANTEED • MAY LOSE VALUE
SoFi Invest encompasses two distinct companies, with various products and services offered to investors as described below: Individual customer accounts may be subject to the terms applicable to one or more of these platforms.
1) Automated Investing and advisory services are provided by SoFi Wealth LLC, an SEC-registered investment adviser (“SoFi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC.
2) Active Investing and brokerage services are provided by SoFi Securities LLC, Member FINRA (www.finra.org)/SIPC(www.sipc.org). Clearing and custody of all securities are provided by APEX Clearing Corporation.
For additional disclosures related to the SoFi Invest platforms described above please visit SoFi.com/legal.
Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform.

Tax Information: This article provides general background information only and is not intended to serve as legal or tax advice or as a substitute for legal counsel. You should consult your own attorney and/or tax advisor if you have a question requiring legal or tax advice.

Investment Risk: Diversification can help reduce some investment risk. It cannot guarantee profit, or fully protect in a down market.

Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

SOIN0224017

All your finances.
All in one app.

SoFi QR code, Download now, scan this with your phone’s camera

All your finances.
All in one app.

App Store rating

SoFi iOS App, Download on the App Store
SoFi Android App, Get it on Google Play

TLS 1.2 Encrypted
Equal Housing Lender