Home > Resources > HSA early withdrawal penalty calculator
First published: September 15, 2023 / Last updated: February 6, 2026
HSAs are a powerful way to save for healthcare. Contributions are typically made with pre-tax dollars, growth can be tax-free, and withdrawals are tax-free when used for qualified medical expenses.
But if you take money out of your HSA before age 65 for non-medical reasons, the distribution is taxable as ordinary income and is generally subject to an additional 20% penalty.
Use this calculator to estimate the total cost (taxes + penalty) of an early, non-qualified HSA withdrawal.
If you withdraw money from an HSA before age 65 for anything other than qualified medical expenses, the IRS generally treats the distribution as:
This is why HSAs are usually not a good source of cash for non-medical spending before retirement, even if you have a large balance.
After age 65, you can withdraw HSA funds for any reason without the 20% penalty. Withdrawals used for qualified medical expenses remain tax-free. Non-medical withdrawals are still taxable as ordinary income, which makes an HSA behave similarly to a traditional IRA for non-medical spending after age 65.
If you can afford to pay medical expenses out of pocket and let your HSA grow, investing an HSA can be a meaningful long-term strategy. For a broader comparison, see our HSA vs 401(k) vs Roth IRA investment calculator.
This page is for educational purposes only and is not tax or legal advice. Check with your HSA administrator or a qualified tax or legal professional if you have questions about your specific situation.
As seen in
HSA Eligibility Guides
Are you accidentally using your HSA for items the IRS doesn't cover? Avoid penalties with our 2026 guide to commonly confused expenses like mattresses and hygiene products.
Apple Watches get more HSA questions than almost any other item. Learn the specific rules for using your HSA and when you might need a Letter of Medical Necessity.
Oura Rings are a popular fitness tracker, but their HSA eligibility is tricky. We break down the medical requirements for reimbursement.
HSA Essentials
Financial Planning
Compare how an investment grows in an HSA vs traditional retirement accounts like a 401(k) and Roth IRA to maximize your long-term savings.
Using HSA funds for non-medical expenses before age 65 triggers a steep 20% IRS penalty plus income tax. Use this tool to calculate the true cost of an early withdrawal before you tap into your savings.