Most people treat a health savings account like a checking account for doctor visits. Money goes in through payroll, and it goes right back out at the pharmacy counter. That is a fine way to use it, but it wastes the best part. An HSA is the only account in the tax code that hands you three tax breaks at once. The money goes in before tax, it grows without tax, and it comes out without tax when you spend it on care. No retirement account can match all three of those at the same time.

You cannot open one on a whim. An HSA has to be paired with a high deductible health plan, the kind of coverage with a low premium and a bigger deductible up front. If your plan qualifies, you or your employer can add money each year up to a limit the IRS sets. For 2025 that cap was $4,300 for one person and $8,550 for a family. Once you turn 55 you can put in another $1,000 on top of that. Your employer can chip in too, and their share counts toward the same yearly total.

Here is where it splits from the flexible spending account a lot of people confuse it with. An FSA follows a use it or lose it rule, so the balance can vanish at the end of the year. An HSA does the opposite. Whatever you do not spend stays yours and rolls forward for life. It follows you when you change jobs or switch health plans. There is no deadline pushing you to drain it, which means the balance can sit and build for decades.

The part almost nobody uses is the investment side. Once your balance clears a small threshold, most providers let you move the cash into mutual funds or index funds, the same way a retirement account works. From that point the money is not just sitting in savings. It can grow with the market year after year, and the growth is never taxed as long as it eventually pays for care. A dollar you invest at 30 has decades to compound before you need it. That is the whole difference between a spending account and a wealth account.

Now the move that makes tax planners quietly smile. The IRS does not require you to reimburse yourself in the same year you had the expense. If you pay a medical bill out of pocket today and keep the receipt, you can pull that same amount out of the HSA tax free years later. So you let the account grow untouched while you cover small bills with regular cash. Then in retirement, that stack of old receipts becomes a pile of tax free withdrawals you already earned. Keep clean records and the whole strategy is completely legal.

The account also changes character when you turn 65. Before that age, if you pull money out for something other than care, you owe income tax plus a steep 20 percent penalty. After 65 the penalty disappears. You can take money out for any reason and simply pay ordinary income tax on it, exactly like a traditional retirement account. So in the worst case, where you stay healthy and never need the funds for medicine, the HSA still works as a backup retirement fund. That safety net is why some savers max it out before they touch a regular plan.

None of this means the account is a free ride with no rules. Once you enroll in Medicare, you can no longer add new money to an HSA, so the window to contribute closes. You also have to keep honest records, because tax free withdrawals only cover real qualified expenses. Things like doctor visits, prescriptions, dental work, and vision care count, and the list is broad. If you spend the money on something that does not qualify before 65, the tax and penalty land hard. The rules reward people who plan and punish people who guess.

So why call this the thing the IRS will not tell you. The agency is not hiding anything at all. Every rule here sits in plain language in Publication 969, free to read online. But the IRS does not send a letter urging you to invest the balance or save your receipts for later. Nobody markets the strategy the way a bank markets a credit card. The information is public, yet the smart way to use it stays quiet, which is exactly why so few people ever put it to work. Learn the rules once, set the account up right, and it can do more for you than almost any other line on your return.