The Health Savings Account is easy to overlook in a Spain move because it sits in a mental drawer labelled "medical", not "retirement" or "investment". For many Americans, though, the HSA has quietly become a second retirement account: old receipts are saved, the balance is invested, and the plan is to reimburse medical costs years later or use the account for healthcare spending in retirement. That works under US rules when the details are right. It does not mean Spain sees the same thing.
This page is for US retirees and financially independent applicants using the non-lucrative visa. It sits beside our guides on Roth IRA taxation in Spain, PFIC and US funds, Modelo 720 reporting and Spanish wealth tax. The point here is narrower: what should you do with an HSA before Spanish tax residency begins, and what questions should your Spanish and US advisers answer together? If your question is instead whether the balance can back the visa itself, see using your own HSA as proof of means. If the HSA has passed to someone other than the spouse, use the separate note on a non-spouse inherited HSA as proof of means, because the account stops being an HSA at death.
On this page
What makes an HSA special under US rules Why Spain may not treat it as tax-free Qualified medical withdrawals abroad Investment growth, funds and account structure Modelo 720, Form 8938 and wealth tax Timing moves before Spanish residence Frequently asked questions
"The HSA is easy to miss because clients think of it as healthcare, not tax planning. Before a US retiree becomes Spanish resident, we want to know the balance, the investments, whether there are old medical receipts, and how the account will be reported. It is a small page in the file, but it can change the timing."
— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)
What makes an HSA special under US rules
In the United States, a Health Savings Account is powerful because the tax benefit can be triple: contributions may be deductible or excluded from wages, investment growth is not taxed while it stays in the account, and distributions used for qualified medical expenses are not taxed. The account also belongs to the individual, so unused funds can roll forward and may be invested. For someone who built a large HSA during working years, that creates a flexible healthcare reserve for retirement.
The US result depends on US requirements. You normally need to have been eligible through a high-deductible health plan when contributions were made, you need records showing qualified medical expenses, and non-medical withdrawals are treated differently. After age 65, a non-medical HSA withdrawal generally avoids the additional penalty but is still taxable for US income-tax purposes. For US planning, that makes the HSA a hybrid: best used for medical expenses, but still available as a taxable reserve later in life.
Why Spain may not treat it as tax-free
Once you become a Spanish tax resident, Spain taxes worldwide income under Spanish categories. Spain does not have a domestic HSA wrapper that mirrors the US system, and Spanish law is not required to respect the US rule that qualified medical distributions are tax-free. The practical question is not "is it an HSA in America?" but "what is Spain looking at?" Cash, securities, accumulated gains, reimbursements, medical expenses, pension-like rights and investment income can each be analysed differently.
That is why a large HSA should not be handled with a casual assumption. If the account is a simple cash HSA used immediately for current medical bills, the Spanish issue may be limited. If it is an invested HSA holding mutual funds or ETFs, the analysis is closer to a foreign investment account with medical-account features under US law. Spain may ask whether dividends, interest, fund gains or withdrawals should appear in the IRPF return, and whether the value belongs in asset reporting and wealth-tax calculations.
There is another reason to be cautious: foreign tax credit mechanics may not rescue you neatly. If the United States treats a qualified HSA distribution as tax-free, there may be no US tax on that same distribution to credit. That is the same structural problem discussed in our Roth IRA guide: a US tax-free result can leave Spain as the only country actually charging tax.
Qualified medical withdrawals abroad
For US purposes, an HSA distribution can be tax-free when used for qualified medical expenses, and those expenses are not limited to US soil. A retiree may therefore be able to use HSA funds for eligible healthcare costs incurred in Spain, provided the expense qualifies under IRS rules and the documentation is kept. That recordkeeping matters: invoices, prescriptions, proof of payment, exchange-rate records and the connection between the expense and the HSA reimbursement all become part of the file.
The Spanish side is separate. Paying a Spanish clinic with HSA money does not automatically make the distribution invisible in Spain. A Spanish adviser needs to decide whether the withdrawal is taxable income, a return of your own funds, investment income, or something else under Spanish rules. The answer may depend on how the HSA is documented and how much of the account represents contributions, investment growth and prior reimbursements. That is not a question to leave until after the first Spanish IRPF return is due.
| HSA use | US view | Spanish review needed |
|---|---|---|
| Current qualified medical expense | Usually tax-free if properly documented | Whether Spain treats the withdrawal as taxable or non-taxable |
| Old receipts reimbursed years later | Can be tax-free if the expense was qualified and records are kept | Timing, proof and classification of the reimbursement |
| Non-medical withdrawal after 65 | Taxable in the US, generally no extra HSA penalty | Likely income-tax review in Spain, plus treaty/credit coordination |
| Investment income inside HSA | Tax-free/deferred under US HSA rules | Whether Spain taxes dividends, interest or gains currently |
Investment growth, funds and account structure
Many HSAs are no longer just checking accounts. They may hold a sweep cash balance plus a brokerage window invested in mutual funds or ETFs. For Spain, that structure matters more than the marketing label. A cash HSA may look like a foreign account. An invested HSA may look like a securities account. If it holds US mutual funds or ETFs, it also needs to be checked against the same fund-level issues covered in our PFIC and US funds guide: US-domiciled funds may be clean for the IRS but do not receive Spain's domestic fund-transfer deferral, while European funds can create US PFIC problems.
One practical point follows: before you move, download a full HSA statement history and a current holdings report. Your Spanish adviser will need to know whether the HSA is cash only, brokerage-style, invested through funds, or held through an administrator that restricts access after a foreign address change. Your US adviser will need to know whether spending down, preserving receipts, changing investments or leaving the account untouched makes sense under IRS rules. The two conversations should happen together.
Modelo 720, Form 8938 and wealth tax
A Spanish resident with foreign assets must review Modelo 720 reporting when the relevant category exceeds the threshold, generally EUR 50,000. The HSA should be included in that review instead of ignored because it is medical savings in the US. The exact reporting bucket can depend on the account: foreign bank account, securities, funds, insurance-like rights or another category. If the HSA holds investments, the end-of-year value and the type of underlying asset become important.
The same caution applies to Spanish wealth tax and, for very large estates, the solidarity tax on large fortunes. Spanish tax residents are generally assessed on worldwide net assets, subject to regional rules, exemptions and allowances. The fact that the HSA has a restricted medical purpose in the United States may not remove its market value from the Spanish net-worth analysis. In Andalucía the regional wealth-tax position can be more favourable than in many other regions, but high-net-worth US retirees should still model the HSA together with IRAs, Roth accounts, brokerage accounts, real estate and trusts.
On the US side, the normal US filing layer continues. US citizens still file a US return, and foreign-account forms such as FBAR and Form 8938 have their own tests. Do not use Spain's Modelo 720 threshold as a shortcut for US reporting or the other way around; the systems are different and both may matter in the same year.
Timing moves before Spanish residence
The useful planning window is before Spanish tax residency starts. If you have substantial unreimbursed qualified medical expenses from prior years, it may be worth asking your US adviser whether reimbursement before becoming Spanish resident preserves a cleaner result. If you expect near-term medical spending in Spain, decide whether the HSA should pay it directly, reimburse it later, or be left untouched while another account funds the expense. If the HSA is heavily invested, review whether the holdings are still appropriate for a Spanish-resident US person.
None of this means every HSA should be emptied before moving. Sometimes the best answer is to keep it for future qualified medical expenses and simply document it properly. Sometimes the balance is small enough that the administrative issue is minimal. Sometimes a large invested HSA belongs in the same pre-arrival modelling as the Roth IRA and taxable brokerage account. The mistake is treating it as invisible. For a retiree moving to Spain, the HSA is not just a healthcare wallet; it is a foreign financial asset with a US tax wrapper that Spain may not recognise.
Frequently asked questions
Is a US HSA tax-free in Spain?
Not automatically. The HSA is tax-favoured under US law, but Spain is not required to copy that treatment for a Spanish tax resident. Withdrawals, investment income and account value should be reviewed under Spanish IRPF, reporting and wealth-tax rules.
Can I use my HSA for medical expenses in Spain?
For US purposes, HSA funds can be used tax-free for qualified medical expenses if the IRS requirements are met and the records are kept. The Spanish treatment is a separate question, so keep invoices, receipts and exchange-rate records and have the withdrawal classified before filing in Spain.
Does an HSA have to be reported on Modelo 720?
It may. Modelo 720 applies to categories of foreign accounts, securities, insurance and real estate when the relevant threshold is exceeded, generally EUR 50,000. A cash or invested HSA should be included in the reporting review instead of ignored because the US calls it a medical account.
Does my HSA count for Spanish wealth tax?
The value should normally be reviewed as part of worldwide net assets once you are a Spanish tax resident. The result depends on region, allowances, total net worth and account structure, but the US tax wrapper does not by itself remove the account from Spanish net-worth analysis.
Should I reimburse old medical receipts before moving?
It can be worth modelling. If the US distribution is cleanly tax-free before Spanish residence begins, you may avoid later Spanish classification questions. But the answer depends on your records, the HSA balance, future medical needs, investment holdings and broader withdrawal plan.
Sources reviewed July 2026: IRS Publication 969 and IRS HSA guidance on qualified medical distributions, eligibility and non-medical withdrawals; Spanish AEAT guidance on Modelo 720 thresholds and calculation mechanics; current Spanish wealth-tax summaries for worldwide assets of residents; and cross-border tax-practitioner commentary on US tax-favoured accounts in Spain. General information only, not legal, tax or immigration advice, and not US tax advice. HSA classification is fact-specific and should be confirmed with a qualified Spanish asesor fiscal and a US tax adviser before you rely on it.