HSA Shop logoHSA Shop

HSA Guide

Can I Withdraw from My 401k and Deposit into HSA?

Published October 5, 2022

Check eligibility on the gobrowse 7,000+ HSA-eligible products in the free app.

Get the app
Short answer: You can’t directly transfer funds from a 401k to an HSA because the IRS doesn’t allow transfers from a 401k to an HSA, but you can use both accounts strategically.

Why direct 401k-to-HSA transfers aren’t allowed

Many people wonder if they can transfer funds from their 401k to an HSA, the answer is no. The IRS does not allow transfers directly from a 401k to an HSA account. However, there are ways to utilize both accounts for your benefit without the need for transferring funds between them.

While it's understandable to seek ways to streamline your finances, the IRS regulations clearly state that transferring funds directly from a 401k to an HSA isn't permitted. Yet, the smart management of both accounts can enhance your financial security.

How 401k and HSA differ in tax treatment

401k and HSA are both valuable retirement savings tools, but they serve different purposes:

  • 401k: Contributions are made pre-tax, and withdrawals in retirement are taxed as income.
  • HSA: Contributions are tax-deductible, withdrawals for qualified medical expenses are tax-free.

Strategies to maximize both account benefits

Here are some ways to maximize the benefits of both accounts:

  • Max out contributions to both accounts if possible.
  • Use 401k for long-term retirement savings and HSA for medical expenses.
  • Consider using HSA funds for retirement healthcare costs.
  • Be mindful of the contribution limits and eligibility criteria for both accounts.

It's important to consult with a financial advisor or tax professional to understand the rules and benefits of each account fully. While you can't directly transfer funds from a 401k to an HSA, leveraging both accounts strategically can help you optimize your financial planning for the future.

Free App

Browse 7,000+ HSA-Eligible Products

Search by symptom, get price alerts, and build your HSA shopping list — all in the free app.

← Back to all articles