529 vs. Roth IRA: Contributions, College Use, and Leftover Funds

A 529 plan and a Roth IRA both offer tax benefits, but they are built for different goals. A 529 plan is a college savings account that helps you save for education costs; a Roth IRA helps you save for your own retirement. Families who save for both accounts can compare the contribution limits, withdrawals, and financial aid rules below.

For the Roth label after a workplace move, see what is a Rollover IRA. Withdrawal detail stays on Roth IRA withdrawal rules and IRA early withdrawal exceptions.

IRAInvesting.com may earn a referral fee from some companies we review. That does not change these rules. See our affiliate disclosure.

A small unpainted wooden schoolhouse model beside a cream leather folder, suggesting a 529 plan compared with a Roth IRA.
A 529 is a qualified tuition program; a Roth IRA is a retirement account. Households sometimes use both.

Contributions: who can contribute and how much

Two wooden trays of different sizes, one with a schoolhouse model and one with a cream folder, suggesting different contribution rules.
Roth contributions share a 2026 cap and MAGI tests; 529 contributions are not federally deductible and are limited by qualified-expense and gift-tax rules.

529 plan contributions

You can’t deduct 529 plan contributions on your federal income tax return, per Publication 970, Tax Benefits for Education. The 529 tax benefits come later, when funds are used for qualified higher education expenses. Some states offer a state income tax break; those rules vary.

The IRS 529 questions and answers page says there are “no income restrictions” on the contributor or the beneficiary, and that contributions “can not exceed the amount necessary to provide for the qualified education expenses of the beneficiary.” There is no IRS annual contribution cap, but a 529 contribution is a gift for federal gift-tax purposes.

For calendar year 2026, Rev. Proc. 2025-32 section 4.42(1) says the first $19,000 of gifts to any person (other than gifts of future interests) are not taxable gifts. Section 529(c)(2)(B) of the Internal Revenue Code lets a donor whose gifts exceed that limit elect to treat a 529 contribution as made ratably over five years for gift-tax purposes; the Form 709 instructions cover the election.

Roth IRA contributions

Contributions to a Roth IRA are never deductible, and only individuals with taxable compensation, such as earned income, can contribute (a spouse’s compensation can count for a spousal IRA). For 2026, the annual contribution limits for all traditional and Roth IRAs combined are $7,500, or $8,600 at age 50 or older, or your compensation if less, per IR-2025-111 and the IRS contribution limits page.

Roth contributions are also subject to income limits based on modified adjusted gross income. For the 2026 tax year, the phase-out is $153,000–$168,000 for single filers and heads of household, $242,000–$252,000 for married couples filing jointly (married filing jointly or a qualifying surviving spouse), and $0–$10,000 for married filing separately if you lived with your spouse. Below the range, a full contribution is allowed; within it, the annual limit shrinks; above it, you cannot contribute. Use $252,000, not the “$252,0000” typo in Publication 590-A.

More on these annual limits is on IRA contribution limits and traditional IRA vs. Roth IRA. To save in a Roth for a working child, see custodial IRA and how to open a Roth IRA. Money you save in a 529 plan does not reduce the Roth IRA contribution limits.

Using the money for college expenses

A wooden schoolhouse model in front of an open cream folder, suggesting using either account for college expenses.
529 qualified distributions follow Pub. 970; a Roth distribution for college still follows IRA ordering and exception rules.

529 plan withdrawals

A 529 plan names a designated beneficiary, and funds used for qualified higher education expenses come out tax free. Publication 970 says: “No tax is due on a distribution from a QTP unless the amount distributed is greater than the beneficiary’s adjusted qualified education expenses.” Those qualified expenses include tuition, fees, books, supplies, and equipment, plus other costs the publication lists.

If 529 funds withdrawn exceed qualified education expenses, the earnings portion is subject to income tax and, generally, a 10% additional tax, with exceptions Publication 970 describes.

Roth IRA withdrawals

Roth IRA funds come out in a set order. Regular contributions come out first and are generally tax free and penalty free at any age, because you pay income tax on that money before you contribute it.

Earnings are tax free only in qualified distributions: generally after the five-year period and at age 59½, death, disability, or a first-home purchase within certain limits. Using funds to pay college expenses is not a qualifying event. Under certain conditions, higher education costs can make early earnings penalty free (no 10% additional tax), but those earnings can still face income tax.

That gives Roth IRA contributions more flexibility, but every dollar you take for college is no longer there to save for retirement. For cash held outside both accounts, see Roth IRA vs. high-yield savings.

Investment options and risk

Both accounts hold investments, and growth can be tax free if each account’s rules are met. A 529 plan offers the investment options its plan provides, and a Roth IRA offers the investment options its custodian allows. Either way, investing means what you save can fall with market volatility, and fees vary by plan and provider.

Leftover 529 money

A path of wooden cubes from a schoolhouse model toward a cream folder, suggesting a limited leftover 529-to-Roth transfer.
The Code allows a limited leftover-529-to-Roth transfer; the tests belong on the live 529-to-Roth page.

Leftover 529 plan funds not needed for college can stay for the same beneficiary, go to a member of the beneficiary’s family, or be withdrawn, with tax and possibly the additional tax on earnings. A limited 529-to-Roth rollover in the designated beneficiary’s name also exists under section 529(c)(3)(E), with a $35,000 lifetime cap. The full rules are on 529 to Roth IRA.

Financial aid impact

A wooden schoolhouse model and a cream folder sharing one tray, suggesting households that use both a 529 and a Roth IRA.
The 2026–27 FAFSA form treats 529s as investments and generally excludes non-education IRAs from that investments definition.

The financial aid impact differs between the accounts. The 2026–27 Free Application for Federal Student Aid (FAFSA) says investments include “529 college savings plans,” and those plans “must be reported as an asset of the parent if the student is required to report parent information.” So the FAFSA treats a 529 plan as an investment account, reported as a parent asset or a student asset, which can affect financial aid eligibility.

The same form says investments do not include retirement plans, including “non-education IRAs.” Roth IRA assets are not reported as FAFSA investments or assets, but the form can still ask about untaxed IRA distributions as income, so later withdrawals can feed financial aid eligibility. This page does not invent an aid formula or percentage.

When families use both

Some families save in both accounts: a 529 plan for college savings and a Roth IRA for retirement. Contributing to one does not change the other’s contribution limits, and each account has its own tax advantages and education expenses rules. Families who can save for only one may weigh their own retirement, the child’s education savings needs, and each account’s withdrawal rules.

Frequently asked questions

Is a 529 contribution tax deductible?

Not on a federal return; Publication 970 says you can’t deduct contributions to a 529 account. State tax savings may apply, and state rules vary.

Can a Roth IRA be used for college?

Yes. Regular contributions can generally come out tax free at any age, but earnings withdrawn to pay college costs may still be subject to income tax. See Roth IRA withdrawal rules.

What is the 2026 gift-tax annual exclusion?

$19,000 per recipient for 2026 for federal gift tax, per Rev. Proc. 2025-32.

Does a Roth IRA require earned income?

Yes. You need taxable compensation (or a spouse’s, for a spousal IRA) to contribute, and the contribution can’t exceed it or the Roth annual contribution limits.

Can leftover 529 money go to a Roth IRA?

Yes, within limits; see 529 to Roth IRA.

Which should I pay into first?

This page does not pick one. Compare your goals, income, and how you plan to pay for college and save for retirement.

Written by Tim Schmidt and reviewed for tax and account accuracy by Sean Webster, CPA. Last reviewed November 19, 2026 (America/New_York). Tax figures and form-box labels reflect IRS guidance for 2026 as of that date; forms, codes, and dollar limits can change by year, so use the current IRS form and instructions. This guide is for general education. It is not tax, legal, or investment advice, and it is not a recommendation to take a distribution or to open or close any account. IRAInvesting.com is not a custodian, dealer, broker-dealer, or investment adviser. Before you act, talk with a licensed tax professional or adviser who can review your situation. Investing involves risk, including the possible loss of principal, and account values can go down as well as up. Past performance does not guarantee future results.