You cannot use 529 money to buy a house as a qualified expense. A home purchase, a down payment, a mortgage payment, and a renovation are all outside the IRS list of approved 529 uses, so pulling funds for any of these triggers ordinary federal income tax on the earnings portion of the withdrawal plus an additional 10% federal penalty on those same earnings.1Internal Revenue Service. 529 Plans: Questions and Answers Your original contributions come back to you tax-free because you already paid tax on that money, but years of growth take a real hit. There is one indirect legal route, running through a Roth IRA rollover, and it works only if you started planning more than a decade ahead.
What a Non-Qualified Withdrawal Actually Costs
When you take money out of a 529 for something outside the qualified list, the IRS splits the distribution into two pieces: your contributions (the basis) and the investment growth (the earnings). Only the earnings are taxed, but they get hit twice.
The earnings first get added to your taxable income and taxed at your ordinary federal rate, which ranges from 10% to 37% depending on income and filing status.2Internal Revenue Service. Federal Income Tax Rates and Brackets On top of that, the IRS applies a 10% additional tax on the same earnings, reported on Form 5329 with your return.3Internal Revenue Service. 2025 Instructions for Form 5329 Your plan administrator issues a Form 1099-Q showing how much of the distribution is basis versus earnings, so the taxable share is spelled out for you.
On a large withdrawal aimed at a down payment, the combined federal cost on the earnings can easily exceed 30% before the state weighs in. And the state usually does weigh in. Most states that give a deduction or credit for 529 contributions recapture that benefit when you take a non-qualified withdrawal: whatever you deducted in prior years gets added back to state taxable income in the year of the withdrawal. Some states go further and add a separate penalty on top. Rules and percentages vary widely, but if you claimed years of state deductions, the recapture alone can amount to thousands of dollars stacked on the federal bill.
Rent Counts, a Mortgage Does Not
This is where many families get tripped up. If your college student rents an apartment off campus, that rent qualifies as room and board up to the school’s official cost-of-attendance allowance, as long as the student is enrolled at least half-time.4Office of the Law Revision Counsel. 26 U.S. Code 529 – Qualified Tuition Programs If you instead buy a condo for the same student, the mortgage payments do not qualify, even when the monthly amount matches what rent would have been. The rule targets room and board, not real estate investment, and a mortgage builds equity in a way rent does not.
Some families try to bridge this by buying a property and charging the student rent. The rent the student pays can count as qualified room and board within the school’s allowance, but the parent’s mortgage payment on that property is a separate transaction and cannot be paid from 529 funds. The 529 pays the student’s living costs, not the family’s real estate obligations.
The Penalty Waivers That Do Not Apply Here
The extra 10% penalty is waived in a handful of situations: a tax-free scholarship (up to the scholarship amount), death or permanent disability of the beneficiary, attendance at a U.S. military academy, and distributions taxed because the same expenses were used to claim the American Opportunity or Lifetime Learning credit. In each of these cases the earnings are still taxable as ordinary income; only the penalty falls away. None of these exceptions relate to buying a home, so a home purchase gets no relief on either the tax or the penalty.
The 529 to Roth IRA to Home Purchase Route
The closest thing to a legal path from a 529 to a house came out of the SECURE 2.0 Act, passed in December 2022. It lets 529 funds be rolled over into a Roth IRA for the same beneficiary. Separately, Roth IRA rules let a first-time homebuyer withdraw up to $10,000 in earnings without the early-distribution penalty. Chained together, these provisions can move education savings toward a home purchase without the 529 tax and penalty.
The Rollover Limits
The 529-to-Roth rollover comes with four hard rules:4Office of the Law Revision Counsel. 26 U.S. Code 529 – Qualified Tuition Programs
- The 529 account must have been open at least 15 years before the rollover.
- Only contributions made more than five years before the rollover date are eligible. Recent deposits are frozen out.
- Each year’s rollover cannot exceed the beneficiary’s Roth IRA contribution limit for that year, minus any Roth contributions they already made directly. For 2026, the base limit is $7,500, or $8,600 for account holders age 50 or older.5Internal Revenue Service. Retirement Topics – IRA Contribution Limits
- Lifetime rollovers for any single beneficiary cannot exceed $35,000.
The beneficiary also needs earned income at least equal to the rollover amount that year, and the transfer must move directly from the 529 trustee to the Roth IRA trustee. Taking a check and redepositing it will not work.
Pulling the Roth Money for a Home
Once the money sits in the Roth IRA, Roth rules take over. Contributions can come out anytime tax-free and penalty-free. On top of that, a first-time homebuyer can withdraw up to $10,000 in Roth IRA earnings without the 10% early-distribution penalty.6Internal Revenue Service. Topic No. 557, Additional Tax on Early Distributions From Traditional and Roth IRAs That $10,000 is a lifetime cap, not an annual one, and it has not been indexed for inflation. “First-time homebuyer” is more generous than the phrase sounds: it covers anyone who has not held an ownership interest in a principal residence during the two years before the purchase, so a former owner who has been renting for two years qualifies again.7Legal Information Institute. 26 U.S. Code 72(t) – First-Time Homebuyer Definition
The Practical Math
At $7,500 a year, reaching the $35,000 lifetime rollover cap takes about five years of transfers. The 529 has to have been open 15 years before you begin. And the Roth homebuyer exception only shelters $10,000 in earnings from the penalty. The rest of the rolled-over balance is contribution basis inside the Roth, which can be withdrawn anytime without tax or penalty, so that portion is more flexible. Still, this is a decade-plus plan, not a workaround for a purchase you want to make soon.
Better Uses of 529 Money if Homeownership Is the Goal
If the person the account was built for is already out of school and looking at buying, two moves usually beat cashing out.
The first is paying down student loans. A 529 can pay up to $10,000 in qualified student loan principal and interest for the beneficiary, tax-free and without the 10% penalty. That $10,000 is a lifetime cap per person, and a separate $10,000 cap applies to each of the beneficiary’s siblings.1Internal Revenue Service. 529 Plans: Questions and Answers Knocking out student debt improves your debt-to-income ratio, one of the numbers mortgage lenders lean on hardest, and can translate into a larger loan or a better rate. One trade-off: if 529 money pays student loan interest, you cannot also deduct that interest on your return.
The second is changing the beneficiary. You can switch a 529 to any member of the current beneficiary’s family, including a sibling, parent, cousin, niece, or nephew, without any tax consequences.1Internal Revenue Service. 529 Plans: Questions and Answers You can also roll funds into another 529 for a different family member, limited to one such rollover per beneficiary in any 12-month period.4Office of the Law Revision Counsel. 26 U.S. Code 529 – Qualified Tuition Programs There is no deadline for using 529 money, so the account can keep growing tax-free until a sibling, a future grandchild, or the account owner going back to school actually needs it. Cashing out to buy a house when someone else in the family will eventually use those funds for tuition is one of the more expensive mistakes people make with these accounts.