Yes, but only under specific conditions and with tax consequences
You can use money from a 529 account to pay student loans, but not the way you might use it for tuition. The rules changed in 2024 under the SECURE Act 2.0, and they are narrower than they sound. You cannot simply withdraw money and send it to your loan servicer. Instead, you can roll over up to $35,000 from a 529 account into a Roth IRA in the account owner's name — and that money can then be used for any purpose, including loan repayment.
The catch: this rollover is only available if the 529 account has been open for at least 18 years, and the $35,000 limit is a lifetime cap per person, not per year. If you have a 529 that has been sitting for decades, this route may work. If you opened one recently to save for college, it will not.
There is also a direct payment option for federal student loans, but it applies only to the account owner, not to a parent or grandparent paying on behalf of a child. The rules are strict, and most families will find the Roth conversion route more useful — or simply use the 529 for what it was designed for.
Key Takeaways
- The SECURE Act 2.0 allows you to roll up to $35,000 from a 529 account into a Roth IRA, which can then be used for any purpose including student loan repayment.
- The 529 account must have been open for at least 18 years before you can roll money over; recent accounts do not may have access to.
- The $35,000 limit is a lifetime maximum per person, not per year, and applies across all 529 accounts you own.
- If you use 529 money directly to pay loans outside of a Roth rollover, the withdrawal is treated as non-may have access to and you will owe income tax plus a 10 percent penalty on the earnings portion.
- Direct loan repayment from a 529 account (up to $35,000 lifetime) is available only if you are the account owner and the beneficiary, not if a parent or grandparent is paying on your behalf.
The Roth IRA rollover route: how it works
Starting in 2024, you can roll money from a 529 account directly into a Roth IRA without triggering the usual 10 percent penalty on earnings. The money goes into the Roth in the name of the 529 account owner — typically a parent or grandparent — not the student. Once the money is in the Roth, you can withdraw it for any reason, including paying off student loans.
The requirements are strict. The 529 account must have been open for at least 18 years. The annual rollover amount is limited to the lesser of $35,000 or the amount you could normally contribute to a Roth that year (which is $7,000 in 2024, or $8,000 if you are 50 or older). The $35,000 is a lifetime cap across all your 529 accounts combined, so if you have multiple 529s, you cannot roll $35,000 from each one.
The rollover counts as a contribution to the Roth, so it uses up your annual contribution room for that year. If you normally contribute $7,000 to a Roth and you roll over $7,000 from a 529, you cannot contribute an additional $7,000 to the Roth that year. The money also must sit in the Roth for at least five years before you can withdraw it tax-free, though you can withdraw contributions (not earnings) at any time without penalty.
Direct 529-to-loan payments: the narrow path
There is a second option: paying federal student loans directly from a 529 account without rolling the money into a Roth first. This option allows up to $35,000 in lifetime payments, with no annual cap. However, the rules are tighter than the Roth route.
You can only use this option if you are both the 529 account owner and the loan beneficiary. If your parents opened the 529 for you and you are now paying your own loans, you can use this method. If your parents opened the 529 for you and they are paying your loans, they cannot — the account owner and the person repaying the loan must be the same person.
The payment goes directly to your federal loan servicer. You cannot use this method for private student loans. The $35,000 limit is lifetime and applies across all 529 accounts you own, just as with the Roth rollover. If you use both methods — rolling some money into a Roth and paying some loans directly — the $35,000 limit applies to the combined total.
Tax consequences of withdrawing 529 money for loans outside these routes
If you withdraw money from a 529 account for student loan repayment and you do not use the Roth rollover or direct payment methods, the withdrawal is treated as non-may have access to. This means you will owe income tax on the earnings portion of the withdrawal, plus a 10 percent penalty on those earnings.
The earnings are the growth your 529 account generated over time. If you contributed $50,000 and the account grew to $60,000, the $10,000 in earnings is subject to tax and penalty. The $50,000 in contributions comes out tax-free. The tax rate depends on your income and tax bracket; the 10 percent penalty is flat.
This is why the Roth rollover is attractive: it lets you move money out of the 529 without triggering the penalty, as long as the account has been open 18 years. If your 529 is newer, or if you have already used up your $35,000 rollover allowance, withdrawing for loans will cost you.
When a 529 account is too new to use for loans
If you opened a 529 account recently — within the last 18 years — you cannot use the Roth rollover method. You are left with either using the direct payment option (if you are the owner and beneficiary) or accepting the tax and penalty hit.
In this situation, it often makes more sense to leave the 529 money in the account for its original purpose: paying for college or graduate school tuition, room and board, books, and other may have access to education expenses. These withdrawals are tax-free and penalty-free, so the money goes much further.
If you have already finished school and have no more education expenses coming, and you do not want to pay the penalty, you can change the beneficiary of the 529 to another family member — a sibling, cousin, or even your own child — and use the money for their education instead. This keeps the money in the tax-advantaged account without triggering a penalty.
How the $35,000 lifetime limit works across accounts
The $35,000 cap is per person, not per account. If you have a 529 account from your parents and another one you opened yourself, the limit applies to the total you can roll over or pay toward loans across both accounts combined. Once you have rolled or paid $35,000 total, you cannot use either method again.
The limit resets only if you are using different people's accounts. If your parents have a 529 for you and your grandparents have a separate 529 for you, your parents can roll $35,000 from their account and your grandparents can roll $35,000 from theirs — but only if each account has been open 18 years. The limit is tied to the account owner, not the beneficiary.
Keep track of any rollovers or direct payments you make, because the IRS will track them too. If you exceed $35,000 across all your 529 accounts in a year, the excess is treated as a non-may have access to withdrawal and you will owe tax and penalty on the earnings portion.
Comparing 529 loan payments to other options
Before you use a 529 account for student loans, consider whether the money might be better used elsewhere. If you have younger siblings or children who will attend college, keeping the money in the 529 for their education is usually the best move — the tax-free growth and withdrawals are hard to beat.
If you have federal loans, you might also be may be able to access for income-driven repayment plans, which can lower your monthly payment based on your income. Public Service Loan Forgiveness (PSLF) can erase remaining balances after 120 may have access to payments if you work for a government agency or nonprofit. These options do not require you to spend down savings.
If you have private loans, refinancing to a lower interest rate might save you more money over time than using a 529 account. Compare the interest rate on your loans to the expected return of keeping money in the 529 — if the 529 is likely to grow faster than your loan interest costs, leaving the money invested may be the better choice.
Frequently Asked Questions
Can I use a 529 account to pay my parent's student loans?
No. The direct payment method requires that you be both the account owner and the person repaying the loan. If your parents own the 529 and you want to pay your own loans, you can use the direct payment method. If you own the 529 and want to pay your parents' loans, you cannot. The Roth rollover also requires that the account owner be the person whose name the Roth is opened in — so you could roll money into your own Roth, but not your parents'.
What happens if my 529 account has been open for less than 18 years?
You cannot use the Roth rollover method. You can still use the direct payment option if you are the account owner and beneficiary, or you can withdraw the money and pay the tax and 10 percent penalty on earnings. If you have no immediate loan repayment need, you can change the beneficiary to a family member and use the money for their education instead, which avoids the penalty.
Does the $35,000 limit include money I already withdrew for college?
No. The $35,000 limit applies only to money withdrawn for student loan repayment under the new rules. Money you already withdrew for tuition, room and board, or other may have access to education expenses does not count against the limit. Only future loan payments count.
Can I roll 529 money into a Roth IRA if I am not the account owner?
No. The Roth IRA must be opened in the name of the 529 account owner. If your parents own the 529, the Roth is opened for them, not for you. Once the money is in their Roth, they can withdraw it for any reason, but the account belongs to them. You cannot force a rollover into your own Roth using your parents' 529.
What if I have already used up my $35,000 limit?
Once you have rolled or paid $35,000 toward loans, you cannot use either method again. Any additional 529 withdrawals for loan repayment will be treated as non-may have access to and subject to income tax and the 10 percent penalty on earnings. At that point, your options are to leave the remaining 529 money for education expenses, change the beneficiary to another family member, or accept the tax hit.