Skip to main content

The Once-in-a-Lifetime IRA-to-HSA Rollover: How the Qualified HSA Funding Distribution Works

Published 12 min readMike ThriftMike Thrift
The Once-in-a-Lifetime IRA-to-HSA Rollover: How the Qualified HSA Funding Distribution Works
On this page

You get exactly one chance to move money directly from your IRA into your health savings account without paying a dime of tax on it — and if you touch the money in transit, switch health plans within a year, or enroll in Medicare a few months too early, the entire transfer becomes taxable income plus a 10 percent penalty. The qualified HSA funding distribution is one of the best little-known moves in the tax code, and also one of the easiest to fumble. Here is how it works, when it pays off, and how to execute it without breaking it.

What a Qualified HSA Funding Distribution Actually Is​

A qualified HSA funding distribution — QHFD for short — is a direct, trustee-to-trustee transfer from your individual retirement account into your health savings account. Congress created it as a once-per-lifetime exception to the normal rule that pulling money out of a traditional IRA triggers taxable income.

The appeal is straightforward. Dollars sitting in a traditional IRA are pre-tax: you will eventually pay ordinary income tax when you withdraw them, whether that happens at 60 or through required minimum distributions in your 70s. Dollars in an HSA, by contrast, enjoy the famous triple tax advantage — deductible going in, tax-free growth, and tax-free withdrawals for qualified medical expenses. A QHFD lets you convert up to one year's worth of HSA contributions from the first bucket into the second without the conversion itself costing you anything in tax.

That last point is worth stressing because it surprises people. This is not a withdrawal followed by a contribution. It is a single qualified transfer that never hits your taxable income at all — not even the pre-tax earnings inside a traditional IRA. But every word in the previous paragraph carries a condition, and the conditions are where QHFDs go wrong.

The Five Rules That Gate the Transfer​

1. You must be HSA-eligible on transfer day​

Only an eligible individual can receive a QHFD, which means you must be enrolled in a qualifying high-deductible health plan on the date of the transfer, with no disqualifying coverage such as a general-purpose flexible spending account or a spouse's non-HDHP plan that covers you. The coverage type you hold on the first day of the transfer month — self-only or family — also sets your maximum transfer amount, as explained below.

If you are not sure your plan qualifies, check the IRS HDHP definitions for the year: for 2026, a qualifying plan must carry a minimum deductible of $1,700 for self-only coverage or $3,400 for family coverage, with out-of-pocket maximums capped at $8,500 and $17,000 respectively. Not every high-deductible plan is an HSA-eligible HDHP, so verify before you move money.

2. The money must go trustee to trustee​

The transfer has to move directly from your IRA custodian to your HSA custodian. You cannot take a distribution, hold the check for three weeks, and then deposit it into your HSA within 60 days the way a normal IRA rollover works. Personal receipt of the funds disqualifies the transfer entirely — it becomes an ordinary taxable IRA distribution, and any HSA deposit you make afterward is just a regular (cash) contribution subject to the normal limits.

In practice this means paperwork on both ends: your IRA custodian needs transfer instructions naming the receiving HSA, and your HSA custodian needs to code the incoming money as a qualified funding distribution rather than a regular contribution. Start the process with the IRA custodian and confirm in writing that the transfer will be coded correctly before anything moves.

3. Only certain IRAs qualify​

Traditional IRAs and Roth IRAs are eligible sources. SEP IRAs and SIMPLE IRAs qualify only if they are not ongoing — meaning no employer contributions are being made to the plan for the plan year in which the transfer occurs. A SEP IRA from a former side business that no longer receives contributions is fine; the SIMPLE IRA your current employer funds every payday is not.

Employer plans are out entirely. You cannot move money directly from a 401(k), 403(b), or pension into an HSA under this rule. And if you hold multiple IRAs and want to draw from more than one, consolidate first: the transfer must come out of a single IRA.

4. The amount is capped at that year's HSA contribution limit​

Your QHFD cannot exceed the annual HSA contribution limit for your coverage type in the year of the transfer. For 2026, that means up to $4,400 with self-only HDHP coverage or up to $8,750 with family coverage. If you are 55 or older at year-end, the $1,000 catch-up contribution amount is included in your cap as well.

Two consequences follow that people routinely miss. First, the transfer eats your contribution room dollar for dollar: move $4,400 from your IRA into a self-only HSA and you have contributed your entire 2026 allowance — no further cash contributions, including employer contributions, are allowed that year without creating an excess. Second, the transfer is not deductible. You already got the tax benefit through the income exclusion, so there is no second benefit on top. Plan your payroll HSA deductions accordingly and tell your employer's benefits administrator the transfer happened.

5. You get one — with one narrow exception​

The statute allows a single qualified HSA funding distribution in your lifetime. Use it at 40 and it is gone forever; there is no reset, no second bite because you only transferred a small amount, and no do-over if the first one failed the testing period.

The one exception covers a coverage upgrade. If your first QHFD was limited by self-only coverage and you later move to family HDHP coverage, you may make one additional transfer in that same year for the difference between the two limits. That is the only second transfer the rules permit, and the combined total still cannot exceed the family-coverage limit.

The 12-Month Testing Period: The Part That Claws It Back​

The testing period is the trapdoor under the whole strategy. It runs from the month of the transfer through the last day of the 12th month after that month — transfer on August 10, and your testing period ends August 31 of the following year. Throughout that window you must remain an eligible individual: continuously enrolled in a qualifying HDHP with no disqualifying coverage.

Fail the test for any reason other than death or disability, and the transferred amount is added back to your gross income in the year you failed — plus a 10 percent additional tax. A $8,750 transfer that fails in the 22 percent bracket therefore costs roughly $1,925 in income tax plus an $875 penalty, turning a clever tax move into an expensive mistake.

The most common accidental failure is Medicare. Enrolling in Medicare ends your HSA eligibility the moment coverage begins, and Medicare Part A is retroactive by up to six months when you enroll after age 65. That lookback can reach into your testing period even when the enrollment date itself sits outside it. As a practical rule, do not execute a QHFD if you plan to enroll in Medicare within roughly 18 months, and be equally cautious if a job change, a spouse's open enrollment, or any other coverage change could push you off your HDHP before the testing clock runs out.

When the Move Makes Sense — and When It Does Not​

A QHFD is a niche tool, not a default. It shines in a handful of specific situations:

A big medical bill is coming and your HSA is empty. If you are facing surgery, orthodontics, or another large qualified expense, have little cash to fund the HSA, but hold a sizable IRA, the transfer puts tax-free medical spending money in place immediately.

You are under 59½. Normally, pulling traditional IRA dollars out before 59½ costs income tax plus a 10 percent early-withdrawal penalty. A QHFD sidesteps both — the transfer itself is excluded from income and carries no early-distribution penalty — making it one of the few ways to access IRA money early without a toll.

You want to shrink future required minimum distributions. Every dollar moved out of a traditional IRA is a dollar that will never be part of an RMD calculation. Better still, a QHFD taken in an RMD year can itself count toward satisfying that year's required minimum distribution, letting you meet the requirement with dollars that escape income tax entirely.

But just as often, plain cash is the better funding source:

If you can afford to contribute cash, do that instead. A cash HSA contribution gives you a tax deduction while leaving your IRA balance compounding untouched. The QHFD gives up IRA dollars to buy HSA room you could have purchased with after-tax cash and a deduction. Cash first, QHFD only when cash is tight.

A Roth IRA is usually the wrong source. Moving Roth dollars into an HSA trades one form of tax-free treatment for another while spending your once-per-lifetime transfer. Roth contributions are already withdrawable tax- and penalty-free at any time, so little is gained. Keep the QHFD for pre-tax traditional IRA dollars, where the income exclusion has real value.

Unstable coverage or approaching Medicare kills the deal. If there is any realistic chance you leave your HDHP within the next year — a planned job switch, a spouse's better plan, retirement health coverage — the testing-period risk outweighs the benefit. Wait until your coverage is settled.

An already-maxed HSA leaves no room. Because the transfer counts against the annual limit, funding your HSA to the max through payroll first leaves nothing for a QHFD. Coordinate timing: decide early in the year which funding path you are taking.

How to Execute It Without Breaking It​

Treat this as a checklist, in order:

  1. Confirm eligibility and coverage type. Verify your HDHP qualifies for the current year and note whether you hold self-only or family coverage on the first day of the transfer month.
  2. Compute your remaining room. Take the annual limit for your coverage type (plus catch-up if 55 or older) and subtract everything already contributed or scheduled for the year, including employer contributions. That remainder is your maximum transfer.
  3. Call the IRA custodian first. Request a trustee-to-trustee qualified HSA funding distribution to your HSA custodian — use those exact words — and get written confirmation of how the distribution will be coded. Never accept a check made out to you.
  4. Confirm receipt coding with the HSA custodian. Verify the incoming funds land as a qualified funding distribution, not a regular contribution, so year-end reporting matches reality.
  5. Calendar your testing period. Mark the end date — the last day of the 12th month after the transfer month — and protect your HDHP enrollment until it passes. Keep proof of continuous coverage.
  6. Report it correctly. Your IRA custodian will issue a Form 1099-R for the distribution; you report the QHFD on Form 8889 with your tax return, where the exclusion is computed, and your HSA custodian reports the contribution on Form 5498-SA. Keep all three forms plus both custodians' transfer confirmations with your tax records.

One timing subtlety: unlike regular HSA contributions, which you can make for the prior year up until the tax filing deadline, a QHFD counts for the calendar year in which the transfer actually occurs. A January transfer is a current-year event, full stop.

Track It Like the Tax Event It Is​

Self-employed readers should note where this lands in the books: HSA contributions are an above-the-line personal deduction claimed on Form 8889 and carried to your individual return — not a business expense on Schedule C. A QHFD is not deductible at all, but because it consumes contribution room, it still needs tracking alongside any payroll or cash contributions so you never overfund. Over-contributions face a 6 percent excise tax every year they sit in the account, which is an avoidable way to donate to the Treasury.

The same discipline applies on the spending side. HSA dollars used for qualified medical expenses are tax-free with no deadline — you can pay out of pocket today, keep the receipt, and reimburse yourself years later. That strategy only works if the receipts survive, so keep a dedicated folder (physical or digital) pairing every out-of-pocket medical receipt with the year it was incurred. If you keep your books in plain text, an HSA is just another account to reconcile: the documentation walks through account setup patterns that handle tax-advantaged accounts cleanly, and the Fava dashboard makes it easy to confirm your HSA funding and medical spending tie out at year-end.

Keep Your Health and Retirement Money Organized​

Moving IRA dollars into an HSA is a once-per-lifetime decision, and decisions like it deserve records you can trust years later — which custodian sent what, how the transfer was coded, and when your testing period ended. Beancount.io provides plain-text accounting that gives you complete transparency and control over your financial data, so every tax-advantaged move stays traceable. Get started for free and see why developers and finance professionals are switching to plain-text accounting.

Source: https://beancount.io/blog/2026/10/05/ira-to-hsa-rollover-qualified-funding-distribution-guide

Published: October 5, 2026