Skip to content

529 vs a Taxable Account: The Real Math

Same $300 a month, same 6% return: the 529 ends up about $12,000 ahead after 18 years. Here is where that number comes from, and what can erase it.

By the Ledger & Cents editorial team How we check our guides 9 min read
A kitchen table with a college savings statement, a calculator, a coffee mug and a child's pencil case
A kitchen table with a college savings statement, a calculator, a coffee mug and a child's pencil case

The pitch for a 529 plan is simple: invest for education, pay no tax on the growth. The catch is equally simple and rarely stated in the same breath: the money is only tax-free if it is spent on qualified education expenses, the plan charges fees you did not choose, and the state tax benefit that makes the account attractive depends on where you live. Compared with an ordinary brokerage account, the 529 wins by a margin that is real but smaller than most marketing suggests - and that margin can be erased entirely by a bad plan choice or an overfunded account.

Below is the arithmetic, with every assumption written down. Change the numbers to match your own situation; the method is what matters, not the specific result.

The Two Accounts, Side by Side

A 529 is a state-sponsored investment account. You contribute after-tax dollars, the investments grow, and withdrawals for tuition, fees, books, required equipment, and room and board (at least half-time enrollment) are free of federal tax and usually state tax. A taxable brokerage account uses the same after-tax dollars but taxes you along the way: dividends and interest every year, capital gains when you sell.

Feature529 planTaxable brokerage
ContributionsAfter-tax; no federal deductionAfter-tax
GrowthTax-deferred; tax-free if used for qualified expensesDividends taxed annually; gains taxed on sale
State tax benefitDeduction or credit in about 30 states, typically $1,000-$10,000 of contributions per yearNone
Use for non-educationEarnings taxed as income plus a 10% federal penalty, with exceptionsNo restriction
Investment choiceMenus of 5-40 funds, often age-based portfoliosAny security your broker offers
Contribution limitAggregate caps set by state, commonly $235,000-$575,000None

The right comparison is not "tax-free versus taxed". It is "how much tax do I avoid, and what does that cost me in fees, flexibility, and state rules".

Worked Example: $300 a Month for 18 Years

Assume a household investing $300 a month from a child's birth until age 18 - $64,800 of contributions - with a 6% annual return before fees in both accounts, compounded monthly. Three adjustments make the comparison honest:

  • The 529 carries a 0.15% annual asset-based fee, which is typical of a low-cost index-based plan. Net return: 5.85%.
  • The taxable account holds a similar index fund yielding about 2% a year in dividends, taxed at 15% federal plus 5% state - a 20% rate, or 0.4% of the balance each year. Net return: 5.6%.
  • At the end, the taxable account is liquidated and the gain is taxed at the same 20% combined rate. The 529 is spent on qualified expenses and taxed at zero.
Line529 planTaxable account
Total contributions$64,800$64,800
Balance at 18 years$114,395$111,452
Tax on dividends along the way$0included above
Tax due at liquidation$0$9,330
Spendable for college$114,395$102,122

The 529 comes out $12,273 ahead, about 12% more spending power on identical contributions and identical gross returns. That is the core of the case: roughly one year of community college tuition, or a semester at many state schools, earned by choosing the account wrapper rather than the investments.

Add the State Deduction, but Check the Recapture Rule

Most states with an income tax offer something for contributing: a deduction, a credit, or a matching grant. A common design is a deduction for up to $5,000 of contributions per year at a 5% state rate, worth $250 annually - $4,500 over eighteen years, on top of the tax-free growth.

Watch the recapture. Several states claw back the deduction if you roll the account to another state's plan or withdraw non-qualified. If your state offers a deduction but its plan charges 0.6% instead of 0.15%, do the fee comparison before chasing the tax break: on this example the fee difference alone is $5,230, more than the deduction is worth in many states. Some states let you keep the deduction while investing in any plan; those are the best of both.

The Fee Line Decides More Than the Tax Line

Fee drag on a 529 is not a rounding error. Run the same $300 monthly contribution and 6% gross return through a plan charging 0.60% instead of 0.15%, and the ending balance falls from $114,395 to $109,165 - a $5,230 loss for the same investment result. Add a 1.0% advisor-sold share class and the gap widens past $9,000.

Two practical rules follow. First, compare the plan's total asset-based fee, not just its expense ratios; program management fees, distribution fees, and underlying fund expenses all count. Second, check whether your own state's plan is competitive. In roughly two-thirds of states the in-state plan is good enough to justify the deduction; in the rest, a low-cost national plan bought directly - and the deduction forgone - wins.

What Happens If the Money Is Not Used for College

This is where the 529's tax advantage turns conditional. Non-qualified withdrawals are taxed on the earnings portion as ordinary income plus a 10% federal penalty. On a $30,000 withdrawal containing $18,000 of contributions and $12,000 of earnings, at a 22% marginal rate, that is $2,640 of income tax and $1,200 of penalty - $3,840, leaving $26,160.

Four escape routes soften that outcome, and they are why overfunding is less catastrophic than it sounds:

  • Change the beneficiary. The account can move to a sibling, a cousin, a niece, a parent, or eventually the beneficiary's own child. No tax, no penalty.
  • Use it for more than tuition. Qualified expenses include fees, books, required supplies and equipment, computers, and room and board for at least half-time students. Apprenticeship programs registered with the Department of Labor, and up to $10,000 of student loan repayment per beneficiary, also qualify.
  • Scholarship exception. If the beneficiary receives a tax-free scholarship, you can withdraw up to the scholarship amount and the 10% penalty is waived on that portion - though income tax on the earnings still applies.
  • Roll to a Roth IRA. Under the SECURE 2.0 rules, unused 529 money can move to the beneficiary's Roth IRA, subject to a $35,000 lifetime cap, a 15-year account age requirement, contributions made in the last five years being excluded, and the annual Roth contribution limit. It is a useful release valve, not a way to shelter unlimited money.

The FAFSA Detail That Surprises People

Parent-owned 529 assets are reported on the FAFSA as parental investments and count toward the Student Aid Index at up to 5.64% of value - $5,640 per $100,000. Qualified distributions are not counted as student income, which is why parent ownership is the standard recommendation. Grandparent-owned 529s stopped being counted as student income under the FAFSA simplification, removing what used to be a significant penalty. A custodial account in the child's name is treated far worse: assets owned by the student are assessed at 20%, roughly four times the parental rate, which is a strong argument against using a UTMA for college savings.

If You Started Late: Superfunding and the Age-Based Glide Path

Starting at birth is the ideal case and not the common one. A family that begins at the child's tenth birthday has eight years, not eighteen, and two levers change the arithmetic. The first is the five-year gift-tax election: a single donor can put five years' worth of the annual gift exclusion into one beneficiary's 529 in a single year without using lifetime exemption - $95,000 per donor in 2025, $190,000 for a married couple splitting gifts - provided no further gifts are made to that beneficiary for five years. Invested at 6% for ten years, $95,000 becomes roughly $170,000.

The second lever is the plan's glide path. Age-based portfolios shift from stock-heavy to bond-heavy as enrollment approaches, which is appropriate for money that will be spent in two years and painful for money that will be spent in ten. If you start late, check whether the enrollment-year portfolio is already at 50% bonds, and consider a portfolio matched to the spending year rather than the child's age - most plan menus offer both.

Two Documentation Traps

The tax-free status of a 529 is claimed on your return, and the matching is mechanical: the plan issues Form 1099-Q for the distribution, the school issues Form 1098-T for tuition billed, and the two rarely agree in the same calendar year because spring tuition is often billed in December and paid in January. Keep receipts for books, computers, and housing, and remember that room and board is only qualified up to the school's published cost-of-attendance allowance for housing and food. The most common expensive mistake is withdrawing more than the qualified expenses in a year, then discovering the excess in an audit two years later when the receipts are gone.

How to Decide in Fifteen Minutes

Answer four questions in order. If the child is likely to attend an eligible program, if you can afford to lock the money up for a decade, if your state offers a deduction on a plan whose fees are under about 0.3%, and if you have already funded an emergency reserve, a 529 is the better wrapper. If any of those fails, a taxable account is the sane choice - you give up roughly 12% of the ending balance in exchange for unlimited flexibility, and for many families that is a fair trade.

One sequencing note: retirement accounts come before college accounts. You cannot borrow for retirement, and there is no penalty-free route out of an underfunded 401(k). The break-even arithmetic for pre-tax versus Roth contributions is in this 401(k) comparison, and if the emergency fund is not yet at three months of expenses, the reserve sizing guide comes first. Families who want to keep the college money in cash instead should compare the yield math in this savings account breakdown - at 4% to 5% on cash, the taxable-versus-529 gap narrows to a rounding error over a short horizon.

Finally, run your own numbers with your own state's rules and your own fee schedule. The conclusion in this example - $12,273 over eighteen years - is arithmetic, not a recommendation, and it moves with every assumption you change.