Individual Tax

Written and reviewed by Christopher Meeker, EA · Last reviewed:

Spending or Saving Your HSA

Should I use my HSA for medical bills now or save it for future expenses?

It usually comes down to two questions. Can you pay the bill from other money without borrowing, and will your medical costs over the years be large enough to use up what you leave in the HSA? A health savings account, or HSA, has no deadline for paying yourself back for a qualified medical expense. That is a medical bill for you, your spouse or your dependents that no insurance or other source has paid. You can wait as long as you received the care after the account was established and you keep the records. State law sets that date, and in most states the account must have money in it before it counts as established. So if you can pay from savings today, you can leave the HSA invested, where the growth is free of federal income tax, and reimburse yourself tax free in any later year. If your only way to pay is a credit card that charges more than the HSA would have earned, spending the HSA now usually costs less.

In the examples below, Couple A pays a $3,000 bill from savings and leaves the HSA invested for 25 years. That leaves Couple A $1,481.34 ahead of spending the HSA, which is the tax they would otherwise owe on the growth of a regular investment account. That advantage holds only if their medical costs over the years are large enough to use the whole account. Couple B has no savings and would carry the same bill on a credit card for a year, so spending the HSA now leaves Couple B $514.32 better off than waiting. Saving an HSA is a bet on future medical costs, because money taken out for anything else is taxed as income, and an account left to a child instead of a spouse becomes taxable income to the child.

Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76

U.S. federal income tax for 2026, checked October 24, 2026. The examples assume married couples filing jointly with family health plans that have a high deductible, a $3,000 bill, 2026 tax rates in every year, and example assumptions for the growth rate, the card rate and the years ahead. California is explained and other states are noted, but state taxes are not calculated. Contribution limits are covered in the companion article. The 2025 federal law changed which plans qualify for an HSA and, starting in 2026, lets an HSA reimburse otherwise qualifying direct primary care fees you pay, but it did not change the deadline and timing rules explained here.

THE HSA SPEND OR SAVE WORKFLOW

The same bill, paid from the HSA or from other money

Confirm that the bill qualifies and can wait, compare the two ways of paying in after-tax dollars on the same date, test the limits of saving the HSA, then decide and record the choice. Both couples receive the same bill. They differ in whether they have savings and in what the HSA competes with.

Select A or B to update only the overview. Both examples remain visible in every detailed step.

Two continuing examples, what changes and what stays the same
FactExample AExample B
The accountHSA established in 2022, held by one spouse for the familySame
The bill$3,000 in 2026 for care the plan does not paySame
Other money$3,000 of savings, taxable income $150,000 before any sale of investmentsNo savings, so a card at 21% a year is the alternative
Growth6% a year before tax in the HSA and in a regular investment account, all of it price growth, meaning the investment only rises in value, with nothing sold until the end6% a year in the HSA
Time looked ahead25 years, to 2051 when both spouses are 65One year, with no card payments until the end
Medical costsLifetime medical costs at least as large as what the HSA pays outNot needed for a one year comparison

Meet two married couples, Couple A and Couple B. Both spouses in each couple are 40, and the couples file jointly and have the same family health plan with a high deductible, which is the amount a family pays before the plan starts paying. In 2022 each couple established an HSA. For them that meant opening it and making the first deposit. An HSA belongs to one person, so in each couple one spouse holds it and uses it for the whole family. In 2026 each couple receives the same $3,000 bill for care the plan does not pay, because they have not yet met the plan’s deductible.

Couple A has $3,000 of savings and taxable income of $150,000 before any sale of investments. Taxable income is what is left after deductions, and this amount puts them in the 22% bracket, where each extra dollar of income is taxed at 22%. They are assumed to have medical costs over their lifetimes at least as large as what they withdraw from the HSA. Couple B has no savings, so their alternative to using the HSA is a credit card.

The table lists the rest of the example assumptions. They are made up for teaching and are not forecasts. 2026 tax rates are used for every year, and state taxes are left out.

Explore an example

THE FOUR-STEP OVERVIEW
01 / Step 1Confirm the bill qualifies and can wait

Check the bill, the account date and your records.

02 / Step 2Compare the two ways to pay

Compare after-tax dollars on the same date.

03 / Step 3Test the limits of saving

See what happens at 65, at death and in your state.

04 / Step 4Decide and record the choice

Choose how to pay and what to keep.

01 / Step 1

Confirm the bill qualifies and can wait

Start with the bill and not the investment. A withdrawal is tax free only if it pays or reimburses a qualified medical expense that you incurred, meaning care you received, after the HSA was established, and the rules set no deadline for taking it.

What the rules let you do with a bill

A health savings account, or HSA, is an account you can use when you are covered by a qualifying high deductible health plan. The deductible is the amount you pay before the plan starts paying. You may take money out, which the tax rules call a distribution, without tax to pay or reimburse a qualified medical expense. A qualified medical expense is care that counts as medical care for the medical expense deduction, for you, your spouse or your dependents, to the extent insurance or another source has not paid for it. Interest on a credit card is the cost of borrowing and not medical care, so it is not a qualified medical expense.

The rules do not set a deadline. IRS Notice 2004-50 says a withdrawal in the current year can pay or reimburse an expense from any earlier year, as long as the expense was incurred, meaning the care was received, after the HSA was established. It concludes that there is no time limit on when the withdrawal must occur. This rule comes from IRS guidance and not from the tax law itself.

Two conditions control the choice. First, the care must come after the account was established. State law decides when that happened, and in most states it means the account must have been funded, so ask your HSA provider to confirm the date in writing. An account funded by a rollover or transfer from another HSA takes the earlier account’s date. A new HSA also takes the earlier date if you had an HSA with money in it at any time in the 18 months before you established the new one. So if you are saving receipts, keep the money in an HSA or move it by direct transfer rather than closing the account and starting a new one later. Second, one bill cannot be used twice. If the HSA reimburses it, you cannot also deduct it as a medical expense on Schedule A, the itemized deductions part of your return, and insurance or another source cannot also have paid it.

You must keep records that show three things. The withdrawals were only to pay or reimburse qualified medical expenses, the expenses were not already paid or reimbursed from another source, and the expenses were not taken as an itemized deduction in any year. Keep them with your tax records and do not send them in with your return. A tax-free reimbursement is reported on the return for the year you take it, so that is the return the records must support. Keep each bill and reimbursement record until you reimburse yourself and the IRS assessment period for that return has ended. That is generally three years after the later of the filing date or the return’s due date. Longer periods can apply, including six years for certain substantial omissions of income. Do not discard a saved receipt merely because three years have passed since the care. Keep the itemized bill, the explanation of benefits showing what the plan paid, and your reimbursement log. Also keep the return for the year of care, which shows that you did not deduct the bill.

Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · 26 USC 223, health savings accounts · IRS Notice 2008-59, questions and answers 29, 30, 34, 37, 38, 39, 40 and 41 · Instructions for Form 8889 (2025), health savings accounts · IRS, how long should I keep records · 26 USC 213(d)(1), medical care · IRC 6501(a), (b)(1) and (e), assessment periods

EXAMPLE A

The bill qualifies and can wait for as long as Couple A keeps the records

Couple A established an HSA in 2022, so care received in 2026 comes after the account was established. Their plan paid nothing on the $3,000 because they have not met their deductible, and no one else has reimbursed it. They may take the reimbursement this year or in any later year.

Couple A saves the itemized bill and the explanation of benefits showing that nothing was paid, and starts a reimbursement log, which is a simple list of each bill and each time the HSA pays it back. The log notes that the bill was not taken as an itemized deduction. They plan to keep these papers until the assessment period for the reimbursement return has ended, including any longer period described above, and to keep their 2026 return. Couple A does not have to take the reimbursement. The log only keeps the choice open, and if they never use it, they have simply paid a bill from savings.

Records to keep

Couple A keeps the itemized bill, the explanation of benefits, the HSA provider’s written confirmation of the date the account was established, and the reimbursement log.

Result and next action

The bill qualifies and may be reimbursed at any time, so Couple A can choose. Step 2 compares the two ways of paying.

EXAMPLE B

The same bill qualifies, but Couple B has no savings to pay it

Couple B established an HSA in 2022 as well, so the same $3,000 bill qualifies for the same reasons, and they need the same itemized bill and explanation of benefits. The difference is cash. Couple B has no savings to pay the provider now, so waiting would mean carrying the bill on a credit card.

Records to keep

Couple B keeps the itemized bill, the explanation of benefits and the HSA provider’s confirmation of the account date.

Result and next action

Couple B has the same right to wait as Couple A, but waiting would cost them interest. Step 2 puts a number on that.

Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · 26 USC 223, health savings accounts · Instructions for Form 8889 (2025), health savings accounts · IRC 6501(a), (b)(1) and (e), assessment periods

02 / Step 2

Compare the two ways to pay

Now compare the two ways of paying on the same date, counting only dollars each couple could spend after tax. Paying from the HSA leaves the other money where it is, and paying from other money leaves the HSA invested.

What the money does in each place

Inside an HSA, earnings are exempt from federal income tax while they stay in the account, apart from a narrow tax on income from an unrelated business, and money taken out for qualified medical expenses is not included in income. Putting money in also gets a tax benefit. Eligible personal HSA contributions are deductible even if you do not itemize. Contributions through an eligible employee’s section 125 cafeteria plan generally also avoid Social Security and Medicare tax. Those cafeteria-plan rules do not apply to sole proprietors, partners or more-than-2% S corporation shareholders. A cafeteria plan lets eligible employees set aside pay before tax. That benefit is the same whichever way you pay the bill, so it does not decide this question.

What does change is the tax on growth. Suppose you keep the same money in a regular investment account instead. The profit when you sell an investment you held more than one year is a long-term capital gain. For a married couple filing jointly in 2026 it is taxed at 0% on the part of taxable income up to $98,900 and at 15% on the part up to $613,700, with a higher rate above that. Interest and dividends in a regular account are income along the way too, which the examples leave out. Whether your HSA can hold investments, what it charges and what balance it requires before you can invest are set by your HSA provider and not by federal tax law.

Apart from one rollover a year back into an HSA within 60 days, and the repayment of a mistaken withdrawal described below, taking money out of an HSA does not give you room to put it back, because the yearly limit counts only what goes in. For 2026 that limit is $8,750 with family coverage and $4,400 with self-only coverage, plus $1,000 for someone who is 55 or older.

26 USC 223, health savings accounts · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · IRS Publication 15 (2026), employment taxes, health savings accounts · Revenue Procedure 2025-19, sections 2.01 and 3 · Revenue Procedure 2025-32, sections 4.01, 4.03 and 4.14 · 26 USC 1(h), maximum rates on capital gains · 26 USC 1222, long-term capital gain · 26 USC 61(a), gross income · Notice 2005-8, owner HSA contributions

EXAMPLE A

Couple A ends 2051 with $1,481.34 more by paying from savings

If Couple A pays the bill from the HSA, their $3,000 of savings stays and is invested in a regular account. At the example 6% a year, the $3,000 grows to $12,875.61 by 2051, so selling it produces a long-term gain of $9,875.61. Couple A’s taxable income of $150,000 before the sale is above the $98,900 limit for the 0% rate, so the gain is taxed at 15%, which is $1,481.34 of tax. The 3.8% tax on investment income does not apply, because their modified adjusted gross income, the income figure that tax is measured on, is below the $250,000 level where it starts for a joint return. After the tax, the regular account is worth $11,394.27.

If Couple A pays the bill from savings, the savings go to the provider and the $3,000 stays in the HSA, where it grows to the same $12,875.61. It can come out tax free to reimburse the 2026 bill and to pay later medical costs, so it is worth the full $12,875.61. That is $1,481.34 more than the regular account, which is exactly the tax on the growth, and it is the advantage of leaving the HSA invested. Both accounts hold the same investment and earn the same example return, so tax is the only difference. Treating all the growth as price growth means the regular account owes no tax on dividends along the way, which is its best case, so with yearly dividends the advantage would be somewhat larger.

Records to keep

Couple A keeps the HSA statement showing the investment, the regular account’s statement and the reimbursement log.

Result and next action

Under these assumptions, leaving the HSA invested adds $1,481.34 on a $3,000 bill over 25 years, provided Couple A’s medical costs over the years are large enough to use the whole account.

EXAMPLE B

Waiting would cost Couple B a net $514.32

Couple B’s comparison covers one year. If they pay from the HSA, the bill is gone and nothing is owed. If they charge the bill and leave the HSA invested, the $3,000 would grow by $180.00 in a year at the example 6%, tax free.

The card charges 21% a year, added to the balance each month. After a year the balance would be $3,694.32, which is $694.32 of interest on top of the bill. If the card charged 21% once at the end of the year, the interest would be $630.00. It is higher because the interest is added every month and then earns interest itself.

At the end of the year Couple B would take $3,000 from the HSA to repay the card, but they would still owe the $694.32 of interest out of their paychecks. Interest on a card is a cost of borrowing and not medical care, so the HSA cannot pay it back. The only gain from waiting is the $180.00 of HSA growth, so waiting leaves Couple B $694.32 minus $180.00, or $514.32, worse off. The example assumes no payments during the year, which is the costliest way to carry a card.

Records to keep

Couple B keeps the card’s interest rate and statements, and the HSA statement showing the growth they would have earned.

Result and next action

Spending the HSA now leaves Couple B $514.32 better off than waiting. Step 3 asks what that choice gives up.

26 USC 223, health savings accounts · Revenue Procedure 2025-32, sections 4.01, 4.03 and 4.14 · 26 USC 1(h), maximum rates on capital gains · 26 USC 1222, long-term capital gain · IRS Publication 15 (2026), employment taxes, health savings accounts · 26 USC 1411, net investment income tax · Notice 2005-8, owner HSA contributions

03 / Step 3

Test the limits of saving

Saving the HSA is a long commitment, so test what it depends on. The extra money is tax free only when it is spent on qualified medical expenses, and what happens at 65, at death and in your state decides whether the plan works.

What can go wrong with saving it

A withdrawal that is not used for qualified medical expenses is included in income. Before age 65, and unless you are disabled, it also carries an additional tax of 20% of that amount. At 65 or older, after disability or after death, the 20% tax does not apply, but the amount is still income. You may take withdrawals even when you can no longer contribute. Medicare ends HSA contribution eligibility from the first month your coverage takes effect, including any retroactive months. If you apply after 65, premium-free Part A can start up to six months before you apply, but never before your first month of eligibility. To avoid funding months that may later be covered by Medicare, plan to stop your own and your employer’s HSA contributions six months before applying for Medicare or Social Security. Have payroll confirm the effective date. You may still complete contributions for earlier eligible months by the contribution deadline. Medicare does not stop qualified withdrawals. Once the account holder is 65, premiums for Medicare, including Part D drug coverage, and for other health coverage such as employer retiree coverage are qualified expenses. Premiums for a Medigap policy, which is extra insurance bought to fill gaps in Medicare, are not. Before 65, an HSA can also pay premiums for COBRA continuation coverage, health coverage while you receive unemployment compensation, and qualified long-term care insurance up to the annual limit for your age.

The question about medical costs is about the whole account and not about one bill. Each bill you pay from other money is a saved receipt you can reimburse later, so what matters is whether your qualified medical expenses over your lifetime, including Medicare premiums after 65, will be at least as large as everything the account will ever hold. If the account is likely to outgrow your medical costs, the extra growth from saving is the part most likely to be spent on other things or left to heirs, and the advantage of saving shrinks or reverses.

What happens at death depends on who inherits. If your spouse is the designated beneficiary, the person you named to receive the account, it is treated as your spouse’s HSA, so the same rules then apply to your spouse. If anyone else inherits it, the account stops being an HSA and what it is worth becomes taxable income to that person in the year of death. That amount is reduced by qualified medical expenses of yours that the person pays within one year after your death, so a pile of saved receipts does not reduce it by itself. If your estate is the beneficiary, the value is included on your final return. A regular investment account works the other way. Whoever inherits investments generally takes them at their value on the date of death, so the growth is never taxed as a gain.

You cannot borrow from your HSA and pay it back. Any loan or other extension of credit between you and your HSA is a prohibited transaction. The account then stops being an HSA as of January 1 of that year, and its whole value is treated as taken out, which is taxable income and, before 65, also carries the 20% additional tax. If you take money out by a mistake of fact that you had reasonable cause to make, you may be able to put it back by April 15 of the year after you first knew or should have known of the mistake. You need clear and convincing evidence, and your HSA provider does not have to accept the repayment.

Starting in 2026, an HSA can reimburse fees you pay for a qualifying direct primary care arrangement. Fees your employer pays, including through salary reduction, cannot also be reimbursed from your HSA. The $150 monthly limit, or $300 for an arrangement covering more than one person, affects whether that coverage lets you keep contributing to an HSA. It does not cap reimbursement of otherwise qualifying fees. HSA Contributions explains the coverage and contribution-eligibility tests.

26 USC 223, health savings accounts · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · Instructions for Form 8889 (2025), health savings accounts · Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Notice 2008-59, questions and answers 29, 30, 34, 37, 38, 39, 40 and 41 · 26 USC 1014(a), basis of property acquired from a decedent · Medicare, working past 65 · Medicare, when coverage starts · IRS INFO 2016-0082, Medicare and HSA contributions · Notice 2026-5, Q&As 18 through 20, direct primary care reimbursements

EXAMPLE A

Couple A’s full advantage needs medical costs that use the account

Couple A turns 65 in 2051. From then on, a withdrawal for anything other than medical costs is income but no longer carries the 20% additional tax, and Medicare premiums become qualified expenses, which gives them a likely use for the money. Medicare ends contribution eligibility from the first effective month of coverage, including retroactive months, but does not stop withdrawals. They can still reimburse the 2026 bill in 2051. What matters most is the whole account, so the question is whether their medical costs over their lifetimes will be at least as large as everything the account will ever hold.

If the account holder dies, the answer depends on who inherits, as the section above explains. A surviving spouse who is the designated beneficiary treats the account as their own HSA, so the same test applies to them. If Couple A’s money were left to a child in 2051, the child would keep all $12,875.61 from the regular account. From the HSA the child would keep only $10,042.98, which is $2,832.63 less, if the child’s tax rate were 22%, no estate tax were owed and the saved 2026 receipt had never been reimbursed. The main examples assume the regular account is sold in 2051, so they do not model this case.

Records to keep

Couple A keeps the beneficiary designation on file with the HSA provider and the reimbursement log.

Result and next action

Couple A gets the full advantage only if the money is eventually used for medical costs, by them or by a surviving spouse who inherits the account. Under these assumptions saving loses to the regular account if more than about two thirds of the growth is spent on other things, or if the account is left to a child.

EXAMPLE B

Couple B’s choice leaves nothing waiting, so the limits matter less

Couple B takes the $3,000 from the HSA now, so there is no saved receipt for a later year and no growth on that $3,000 to protect. They pay the provider directly with the withdrawal so that the money is used only for the bill, because money used for anything else would be income and, before 65, would carry the 20% additional tax. They still keep the itemized bill and the explanation of benefits to show that the withdrawal paid this bill and that no one else had paid it.

In a future year when they have spare cash, Couple B can pay a bill from that cash and reimburse themselves from the HSA at any time.

Result and next action

Couple B’s choice is simpler and has fewer ways to go wrong.

26 USC 223, health savings accounts · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · Instructions for Form 8889 (2025), health savings accounts · Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Notice 2008-59, questions and answers 29, 30, 34, 37, 38, 39, 40 and 41 · 26 USC 1014(a), basis of property acquired from a decedent · Medicare, working past 65 · Medicare, when coverage starts · IRS INFO 2016-0082, Medicare and HSA contributions · Notice 2026-5, Q&As 18 through 20, direct primary care reimbursements

04 / Step 4

Decide and record the choice

Before you pay a medical bill, confirm that the care came after your HSA was established. In most states that cannot be before money was first put in, so ask your HSA provider for the date in writing. Then ask whether you could pay the bill from other money without borrowing at a cost above what the HSA would earn. If you can, consider paying from other money and entering the bill in a reimbursement log with the itemized bill and the explanation of benefits. Leave the HSA invested only if your HSA provider lets you invest and you expect your medical costs over the years to use the account. If you cannot, pay from the HSA and keep the same papers. If you live in California, check your state’s rules first, because California taxes HSA growth.

Put the results side by side and decide what each couple should do and what to keep. The two couples reach different answers, and the reason is cash and what waiting costs.

When spending now wins, and where you live

Leaving money in the HSA wins only when the growth is worth more than what waiting costs you. If waiting means carrying the bill on a credit card, the interest is a real cost, and the HSA cannot pay it back. The HSA rules test when you received the care, which must be after the account was established, and not how or when you paid. The IRS has not addressed paying a medical bill by credit card for HSA purposes. For the medical expense deduction, it treats a bill charged to a card as paid in the year of the charge. Neither rule suggests a problem for a bill for care received after the account was established, but if the bill is large, ask a tax professional before you rely on it.

Where you live matters. California does not recognize HSAs. It gives no deduction for contributions, adds employer contributions to California wages and taxes HSA interest and earnings in the year earned. It also lists gains from selling investments inside an HSA for its own treatment. So the tax-free growth that makes saving attractive applies to the federal return only. Some other states follow the federal rules and some do not, so check yours.

Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Publication 502 (2025), medical and dental expenses · 26 USC 213(d)(1), medical care · California Franchise Tax Board, 2025 instructions for Schedule CA (540) · California Franchise Tax Board, Publication 1005 (2025), health savings accounts · Notice 2026-5, Q&As 18 through 20, direct primary care reimbursements · Public Law 119-21, sections 71306, 71307 and 71308

EXAMPLE A

Pay from savings, leave the HSA invested and keep the log

Couple A pays the $3,000 from savings, leaves the HSA invested and enters the bill in the reimbursement log with the itemized bill and the explanation of benefits. The advantage grows with time. After only three years, the advantage would be $85.96, because what the HSA saves is the tax on growth and growth takes time.

Couple A should also confirm that their HSA provider lets them invest and what that costs, and that their savings are truly spare. A couple that would have to borrow or drain an emergency fund to pay the bill is closer to Couple B.

Result and next action

For Couple A, saving the HSA is worth doing if the wait is long and their lifetime medical costs are likely to use up the whole account.

EXAMPLE B

Spend the HSA now and avoid the interest

Couple B pays the provider $3,000 from the HSA and files the itemized bill and the explanation of benefits with their tax records. That avoids the card interest and gives up only the HSA growth, which is much smaller. This choice does not depend on whether a card payment counts as paying the bill, because Couple B pays from the HSA now.

Couple B’s HSA is $3,000 lower, but the yearly contribution limit still lets them keep funding the account, and they can pay later bills from other money when their finances improve.

Result and next action

For Couple B, spending the HSA now is the better choice.

Under these example facts the same bill leads to two different choices. Couple A can pay from savings and leave the HSA invested, ending 2051 $1,481.34 ahead if their medical costs over the years use the whole account. Couple B has no savings and a card at 21% a year as the alternative, so spending the HSA now leaves them $514.32 better off.

Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76 · IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts · IRS Publication 502 (2025), medical and dental expenses · California Franchise Tax Board, 2025 instructions for Schedule CA (540)

What to gather

  • Keep the itemized bill for each medical expense and the explanation of benefits showing what your plan paid.
  • Keep the HSA provider’s written confirmation of the date your account was established.
  • Keep a reimbursement log with the date of care, the amount, who received the care, and whether and when the HSA reimbursed it.
  • Keep Form 1099-SA, the form your HSA provider sends showing what you took out, for each year with withdrawals, and keep Form 8889, the form you file with your return to report HSA activity, for each year with HSA activity.
  • Keep statements showing the HSA’s investments and its fees.
  • Keep the beneficiary designation on file with your HSA provider.

Questions readers ask

Is there a deadline for reimbursing myself from my HSA for a medical bill?

No. IRS Notice 2004-50 says there is no time limit on when you must take the withdrawal, and the tax law sets none. The care must have come after the HSA was established, and you need records showing the bill was not paid or deducted anywhere else. The rule comes from IRS guidance and not from the tax law itself.

Can my HSA reimburse a medical bill from before I established the HSA?

No. Care received before the account was established is not a qualified medical expense, even if you fund the account later. State law decides the date, and in most states it means the account must have been funded, so ask your HSA provider to confirm it in writing. An account funded by a rollover or transfer from another HSA takes the earlier account’s date, and so does a new HSA if you had an HSA with money in it in the 18 months before.

What records do I need if I save a bill and reimburse my HSA later?

Keep the bill, proof of what insurance paid, and a log showing that the expense was neither reimbursed elsewhere nor deducted. Keep them until after you reimburse yourself and the tax-review period for that reimbursement year has ended. Step 1 explains the records and timing.

What tax applies if I take money out of my HSA for something that is not medical?

The amount is included in your income. Before age 65, and unless you are disabled, it also carries an additional tax of 20% of the amount. At 65 or older, after disability or after death, there is no additional tax, but the amount is still income. If you took the money out by a mistake of fact that you had reasonable cause to make, you may be able to put it back by April 15 of the year after you first knew or should have known, with clear and convincing evidence, but your HSA provider does not have to accept the repayment.

What happens to my HSA when I die if I have saved it for later?

A spouse named as beneficiary keeps the account as an HSA. For other beneficiaries, the account generally becomes taxable in the year of death, with separate rules for medical expenses paid after death and for an estate. Step 3 explains those rules.

Can I use my HSA to pay Medicare premiums after I turn 65?

Yes. Once you are 65 or older, premiums for Medicare, including Part D, and for other health coverage such as employer retiree coverage are qualified expenses, but Medigap premiums are not. Medicare ends HSA contribution eligibility from the first effective month, including retroactive months. If you apply after 65, use the six-month planning guidance in Step 3 and have payroll confirm the effective date. You can still make contributions for earlier eligible months by the contribution deadline and keep taking qualified withdrawals. Before 65, Medicare premiums generally do not qualify. Before 65, an HSA can also pay premiums for COBRA continuation coverage, health coverage while you receive unemployment compensation, and qualified long-term care insurance up to the annual limit for your age.

Can I pay a medical bill with a credit card and have my HSA reimburse me later?

The HSA rules test when you received the care, which must be after the account was established, and not how you paid. The IRS has not addressed card payments for HSA purposes. For the medical expense deduction, it treats a bill charged to a card as paid in the year of the charge. Interest on the card is a cost of borrowing and not medical care, so the HSA cannot reimburse it. For example, a card at 21% a year added monthly would add $694.32 of interest to a $3,000 bill carried for a year. If the bill is large, ask a tax professional before relying on a card payment.

Does my state tax HSA contributions and earnings?

It depends on the state. California does not recognize HSAs, so contributions are not deductible there, employer contributions are added to California wages, and HSA interest and earnings are taxed in the year earned. Some other states follow the federal rules and some do not, so check your state tax agency before relying on tax-free growth.

Should I keep my HSA in cash or invest it?

It depends on when you will need the money and on what your HSA provider offers. Your provider sets what you can invest in, what it costs and what balance you need first. The tax-free growth only matters if there is growth. For example, $3,000 earning an assumed 1% a year for 25 years grows to $3,847.30, while $3,000 earning an assumed 6% a year grows to $12,875.61.

Official sources
  • Notice 2004-50, Q&As 37, 38, 39, 43, 44, 45 and 76

    Q&A 39 permits later reimbursement of eligible earlier expenses and sets the records requirement. Q&A 37 covers repayment of mistaken distributions, Q&A 76 allows the provider to decline repayment, and Q&A 38 bars duplicate reimbursement between spouses. Q&A 43 permits an account holder age 65 or older to pay for employer retiree health coverage. Q&A 44 explains that disability or end-stage renal disease does not, by itself, qualify someone under 65 for that age-based exception. Separate exceptions cover COBRA, coverage while receiving unemployment compensation, and eligible long-term care premiums. Q&A 45 addresses Medicare premiums. The notice’s former 10% additional tax is now 20% under the statute.

  • IRS Publication 969 (2025 edition, for use in preparing 2025 returns), health savings accounts

    Tax-free withdrawals for qualified expenses incurred after the HSA is established, no required yearly withdrawal, state law sets the establishment date, a rollover keeps the earlier account’s date, an HSA belongs to one person, the records the holder must keep, no additional tax after 65, disability or death, earnings not taxed in the account, Medicare premiums at 65 (not Medigap), contribution limit zero from Medicare enrollment, treatment at death for a spouse or any other beneficiary, and the 2026 limits of $4,400 and $8,750. The 2025 edition is the latest posted.

  • 26 USC 223, health savings accounts

    Definition of qualified medical expenses, exempt status of the account, tax-free distributions for qualified expenses, income inclusion and the 20% additional tax with its exceptions at 65, disability and death, no itemized deduction for a reimbursed expense, the $1,000 catch-up at 55, and the death rules for a spouse and other beneficiaries.

  • Instructions for Form 8889 (2025), health savings accounts

    Expenses incurred before the HSA is established are not qualified, no Schedule A deduction for amounts reported as qualified distributions, distributions are allowed when contributions are no longer allowed, and the 20% tax does not apply after death, disability or age 65.

  • IRS Notice 2008-59, questions and answers 29, 30, 34, 37, 38, 39, 40 and 41

    State trust law decides when an HSA is established and most states require the trust to be funded, a trustee may not backdate the date, a rollover or transfer carries the earlier account’s date, a later HSA takes the earlier date if the holder had an HSA with a balance in the 18 months before, Part D and other Medicare premiums are qualified after 65 but generally not before, and any extension of credit between the holder and the HSA is a prohibited transaction.

  • Revenue Procedure 2025-19, sections 2.01 and 3

    The 2026 contribution limits of $4,400 for self-only coverage and $8,750 for family coverage, and the high deductible health plan thresholds.

  • Notice 2026-5, Q&As 18 through 20, direct primary care reimbursements

    Q&A 18 prevents HSA reimbursement of employer-paid fees, including salary reductions. Q&A 20 places no specific fee limit on otherwise qualifying reimbursements. The $150 and $300 monthly fee limits concern contribution eligibility instead.

  • IRS Publication 15 (2026), employment taxes, health savings accounts

    HSA contributions made through a salary reduction arrangement in a section 125 cafeteria plan are not wages and are not subject to employment taxes or withholding.

  • Revenue Procedure 2025-32, sections 4.01, 4.03 and 4.14

    2026 joint-return brackets, including the 22% bracket from $100,800 to $211,400, and the joint capital gain breakpoints of $98,900 for the 0% rate and $613,700 for the 15% rate.

  • 26 USC 1(h), maximum rates on capital gains

    Adjusted net capital gain is taxed at 0%, 15% or 20% depending on taxable income, and qualified dividends are included.

  • 26 USC 1222, long-term capital gain

    A gain on a capital asset held for more than one year is a long-term capital gain.

  • 26 USC 1411, net investment income tax

    A 3.8% tax applies to the lesser of net investment income or the amount of modified adjusted gross income above $250,000 for a joint return, and interest, dividends and gains are net investment income.

  • 26 USC 61(a), gross income

    Interest, dividends and gains from dealings in property are items of gross income.

  • 26 USC 213(d)(1), medical care

    Medical care means amounts paid for the diagnosis, cure, mitigation, treatment or prevention of disease, for transportation primarily for and essential to that care, for qualified long-term care services and for insurance. Interest paid to borrow money is not on the list. Section 223(d)(2)(A) uses this definition for qualified medical expenses.

  • 26 USC 1014(a), basis of property acquired from a decedent

    Property acquired from a decedent generally takes a basis equal to its fair market value at the date of death, so unrealized gain in a regular investment account is not taxed to the heir.

  • IRS Publication 502 (2025), medical and dental expenses

    For the medical expense deduction, a medical expense charged to a credit card is included in the year of the charge and not when the card is paid. This is a deduction rule and the closest IRS statement on card payments. It is not an HSA rule.

  • IRS, how long should I keep records

    Records must support the return reporting the reimbursement until its assessment period ends. The general rule and longer-period exceptions are explained alongside IRC 6501. There is no separate HSA-specific record-retention period on this page.

  • California Franchise Tax Board, 2025 instructions for Schedule CA (540)

    California does not conform to the federal HSA deduction, adds employer HSA contributions from W-2 box 12 code W to California wages, taxes HSA interest and earnings in the year earned, and lists gain or loss from the sale of investments inside an HSA for California treatment.

  • California Franchise Tax Board, Publication 1005 (2025), health savings accounts

    California does not conform to federal HSA law, so contributions are not deductible and interest and other earnings are not tax deferred.

  • Public Law 119-21, sections 71306, 71307 and 71308

    The 2025 law made the telehealth safe harbor permanent, treated Exchange bronze and catastrophic plans as high deductible plans and allowed direct primary care arrangements for months after 2025. Section 71308 also added direct primary care service arrangements to the arrangements an HSA may pay for without being treated as paying for insurance, for months after 2025. It did not change the contribution limits, the 20% additional tax or the timing rules for reimbursements.

  • IRC 6501(a), (b)(1) and (e), assessment periods

    The general period is three years after filing, with an early return treated as filed on its due date. Six years can apply to certain substantial income omissions, and other exceptions can extend the period.

  • Medicare, working past 65

    Practical guidance to stop the individual’s and employer’s HSA contributions six months before applying for benefits, to account for possible retroactive coverage. Earlier eligible months may still be funded by the contribution deadline.

  • Medicare, when coverage starts

    Premium-free Part A can begin up to six months before an application after 65, but not before the first month of eligibility. The page also explains the first-of-month birthday rule.

  • IRS INFO 2016-0082, Medicare and HSA contributions

    Corroborates the HSA consequences of retroactive Medicare coverage. This information letter is explanatory and is not a precedential ruling.

  • Notice 2005-8, owner HSA contributions

    Partner and more-than-2% S corporation shareholder rules differ from the eligible-employee cafeteria-plan treatment. Income inclusion and employment-tax treatment are separate questions.

Where to go next

How BackForty can help

BackForty can help you decide how to pay a large medical bill, set up the reimbursement log, check your HSA provider’s establishment date and investment terms against these rules, and review the HSA reporting on your return, including Form 8889. We can also check how your state treats HSAs.

Discuss this questionIndividual tax preparation