Many American retirees arrive in Spain with a 529 plan they opened years earlier for a child or grandchild. In the United States, the logic is familiar: after-tax money goes in, the account grows, and withdrawals for qualified education expenses can come out free of US federal income tax. Some states add their own deduction or credit, and unused money may be redirected to another beneficiary or, under newer rules, rolled in limited amounts to the beneficiary's Roth IRA.
That US story is useful, but it is not the Spanish story. Once you become a Spanish tax resident on the non-lucrative visa, Spain looks at worldwide income and worldwide assets. It does not have to accept a US "qualified tuition program" label as if it were a Spanish exemption. The account may still be perfectly sensible, but it needs a cross-border review before you contribute more, change beneficiaries, take distributions, or assume the balance is outside Modelo 720 and wealth-tax reporting. If the narrower question is whether the 529 balance itself can support the visa, use the separate guide to 529 plans as proof of means.
On this page
What a 529 plan is under US rules Why Spain may not recognise the wrapper The owner matters more than the beneficiary Qualified education withdrawals Grandchildren, gifts and beneficiary changes Modelo 720, wealth tax and PFIC review The 529-to-Roth IRA rollover rule Frequently asked questions
"529 plans are often treated as family paperwork, not relocation paperwork. But for a Spanish resident, ownership and control matter. Before a retiree moves, I want the 529 plans listed next to the Roth, HSA, brokerage accounts and trusts, because Spain will not simply accept every US tax label at face value."
— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)
What a 529 plan is under US rules
A 529 plan is a US qualified tuition program. It is usually sponsored by a state and set up either as a savings plan, with investment options, or as a prepaid tuition plan. The account owner keeps control: they can normally decide when to take withdrawals, change the beneficiary within the family, or move the account subject to plan rules. The beneficiary is the student for whom the money is intended, but the student does not automatically control the account.
For US federal tax purposes, the account's core benefit is simple. Contributions are not federally deductible, but earnings can grow tax-deferred, and distributions used for qualified education expenses are generally excluded from federal income tax. Current IRS materials describe qualified uses broadly: higher education, certain post-secondary training, and some elementary and secondary school tuition or related costs within statutory limits. Non-qualified withdrawals normally expose the earnings portion to income tax and an additional penalty.
Why Spain may not recognise the wrapper
Spain generally taxes residents on worldwide income. That means the analysis starts with Spanish categories, not US account names. A Spanish adviser will ask what the 529 legally is, who owns it, what assets it holds, whether the owner has control, whether income has arisen inside or on withdrawal, and whether a distribution is being made to the owner, to a school, or to another family member.
This is the same mismatch that appears with other US tax-favoured accounts. A Roth IRA is not automatically tax-free in Spain just because it is tax-free in the United States. An HSA is not automatically invisible just because US law treats qualified medical withdrawals favourably. A 529 sits in that same family of problems: it may be excellent US planning, but Spain may classify the assets and cash flows in its own way.
The practical result is not "close the 529 before moving." It is more nuanced. If the account is modest, used only for a US grandchild's tuition, and all transactions happen directly with the school, the Spanish exposure may be manageable. If the account is large, invested in US funds, controlled by a Spanish resident grandparent, and used for complex beneficiary changes or Roth rollovers, it deserves careful review.
The owner matters more than the beneficiary
For Spanish tax purposes, the most important first question is usually not "who is the child?" but "who owns and controls the account?" Many grandparents forget this because the US marketing focuses on the beneficiary. Yet a grandparent-owned 529 is still a foreign account or investment arrangement controlled by the grandparent. If that grandparent becomes resident in Spain, the value and activity of the account may belong in the resident's Spanish tax and reporting file.
That distinction matters for several decisions. A parent-owned 529 where the parent remains in the United States is a different fact pattern from a Spain-resident grandparent-owned 529. A 529 owned by a US trust is different again, especially given the Spanish complexity around trusts. A plan owned by the student is different from a plan owned by a donor who can change beneficiaries. Do not assume that "the money is for my grandchild" means Spain treats it as your grandchild's asset.
Qualified education withdrawals
Under US rules, the cleanest 529 withdrawal is a direct payment for qualified education expenses. The distribution is matched to tuition, fees, books, room and board within the applicable rules, and the earnings escape US federal tax. But a US-qualified withdrawal does not automatically become a Spanish-exempt withdrawal.
If the Spanish resident account owner receives the distribution personally and then pays the school, Spain may ask whether the owner realised investment income. If the payment goes directly from the plan to a US university for a US-resident grandchild, the Spanish question may be narrower, but it is still not solved by the US label alone. If the beneficiary is also resident in Spain, there may be another layer: whether the payment is a gift, support payment, taxable income, or simply a direct education expense paid by a relative.
For planning purposes, keep clean records: plan statements, Form 1099-Q if issued, invoices from the school, proof of direct payment, the relationship between owner and beneficiary, and a note explaining the Spanish-residence year. The more the payment looks like a traceable education payment rather than a cash transfer between family members, the easier the file is to explain.
Grandchildren, gifts and beneficiary changes
529 plans are popular with grandparents because they allow control and flexibility. A grandparent can fund a plan for one grandchild, change the beneficiary to a sibling or cousin, or keep unused money in the family education pool. In the United States, that flexibility is part of the appeal. In Spain, each change should be checked before it is treated as harmless.
A large contribution to a 529 can be a completed gift for US gift-tax purposes, with special five-year election rules available under US law. Spain, however, taxes gifts under a different system: the recipient is normally the taxpayer, regional rules matter, and reporting deadlines can be short. If the donor is Spanish resident, the beneficiary is Spanish resident, or the gift has a Spanish connection, the 529 contribution or beneficiary change may need a Spanish gift-tax analysis. This is especially important for families using 529 plans as part of broader estate planning alongside Spanish wills, lifetime gifts, or US trusts.
| 529 action | US reading | Spanish review point |
|---|---|---|
| Contribute to a grandchild's 529 | Education savings, possible gift-tax reporting | Who is donor, owner and beneficiary? Any Spanish gift-tax exposure? |
| Change beneficiary | Often allowed within family | Could Spain view value as shifting between people? |
| Pay tuition directly | Usually cleanest qualified distribution route | Keep evidence that it was education payment, not cash gift |
| Withdraw excess funds | Earnings taxable and penalty may apply if non-qualified | Spanish income-tax classification may differ from US reporting |
| Roll to beneficiary Roth IRA | Limited tax-free rollover under US rules | Spain may not honour Roth status; check before using as a fix |
Modelo 720, wealth tax and PFIC review
A 529 plan should be reviewed for Modelo 720, because Spain requires residents to report certain foreign assets above the relevant thresholds. The hard part is classification. A 529 may contain securities, mutual funds or rights against a foreign financial institution; it is not a Spanish product with a ready-made box. That means the account needs to be analysed by what it legally holds, not by the marketing name "college plan."
The value may also matter for Spanish wealth tax and, for larger estates, the solidarity tax on large fortunes. A grandparent who has spent 20 years funding several 529 plans may be surprised by the aggregate balance. Even if income-tax exposure is limited because the money is not being withdrawn yet, the annual value may still need to be counted in a worldwide-assets review.
Finally, look through the investment menu. Many 529 savings plans invest through US mutual fund-style options. For US tax purposes that is normal. For a Spanish resident, the fund composition can affect reporting and classification. For a non-US person it can also raise PFIC concerns, though US citizens already live with a separate PFIC regime for non-US funds. The point is not to overstate the issue; it is to make sure the 529 is not left outside the same investment-account review you would apply to brokerage accounts, Roth IRAs and HSAs.
The 529-to-Roth IRA rollover rule
US law now allows certain unused 529 funds to be rolled to the beneficiary's Roth IRA, subject to strict limits: the account must generally be long-standing, recent contributions are excluded, annual IRA contribution limits still apply, and the lifetime transfer limit is capped. The rule is useful because it reduces the fear of overfunding a 529.
For a family moving to Spain, however, the rollover is not a magic solution. If the beneficiary is or becomes Spanish tax resident, the Roth label has the same cross-border weakness discussed in our backdoor Roth timing guide. Spain may tax the Roth differently from the United States, may count its value for wealth-tax purposes, and may require foreign-asset reporting. Rolling unused education money into a Roth can be smart US planning, but it should not be presented as "now Spain cannot tax it." That is exactly the assumption that causes problems.
Frequently asked questions
Is a 529 plan tax-free after I move to Spain?
Not automatically. A 529 plan is tax-favoured under US law for qualified education expenses, but Spain is not obliged to treat it as an exempt education wrapper. A Spanish tax resident should review whether account growth, withdrawals, beneficiary changes and account value create Spanish income-tax, gift-tax, wealth-tax or reporting consequences.
Does a 529 plan count for Modelo 720?
It should be reviewed. Modelo 720 covers several categories of foreign assets, including accounts, securities, rights, insurance and other reportable foreign holdings above the relevant thresholds. A 529 is not labelled the same way in Spain, so the account must be classified by its legal and investment features rather than by the US name alone.
Can I keep a grandchild's 529 if I retire in Spain?
Usually the account can remain in the United States, but the Spanish consequences depend on who owns it, who can control it, where the beneficiary lives, and whether distributions or beneficiary changes are treated as gifts. Grandparent-owned 529 accounts require careful review because they combine US education planning with Spanish worldwide tax and wealth reporting.
Will Spain tax a qualified 529 withdrawal for college?
A US-qualified withdrawal is not necessarily exempt in Spain. The US rule protects the distribution from US federal income tax when used for qualified education expenses, but Spain may analyse the withdrawal under its own categories, especially if the Spanish resident account owner receives, directs or controls the funds.
Should I roll unused 529 money to a Roth IRA before moving to Spain?
The 529-to-Roth IRA rollover rule can be useful under US law, but Spain's treatment needs separate review. Spain generally does not honour the Roth label in the same way as the IRS, so converting unused 529 money into a Roth does not automatically solve the Spanish problem and may simply move the issue into another US wrapper Spain taxes differently.
Sources reviewed July 2026: IRS Topic No. 313 and IRS Publication 970 on qualified tuition programs and 529 plans; IRS 529 plan questions and answers; Internal Revenue Code section 529; current summaries of the 529-to-Roth IRA rollover rule under SECURE 2.0, including the long-standing account requirement, annual IRA limit interaction and $35,000 lifetime cap; Spanish Agencia Tributaria guidance on individual tax residence and Modelo 720 foreign-asset reporting. General information only, not legal, tax, investment or immigration advice; Spanish classification of a 529 plan depends on the exact owner, plan terms, assets, beneficiary, payments and residence year, and should be checked with a Spanish asesor fiscal and US tax adviser before acting.