A 529 plan is funded with after-tax dollars at the federal level. The IRS does not let you deduct contributions on your federal return, so putting money into a 529 does not lower your current-year federal taxable income the way a traditional 401(k) or traditional IRA contribution does. The tax advantage shows up later: investment earnings grow tax-free inside the account and stay tax-free when withdrawn for qualified education expenses. Many states then layer their own deduction or credit on top for residents who use an in-state plan.
Why 529 Contributions Are After-Tax Federally
Federal law classifies 529 plans as “qualified tuition programs” under Internal Revenue Code Section 529. Contributions do not reduce the gross income you report on your federal return.1Internal Revenue Service. 529 Plans: Questions and Answers If you earn $60,000 and put $5,000 into a 529, your federal taxable income is still $60,000.
That is a real difference from pretax retirement accounts. A traditional 401(k) contribution lowers your taxable wages the year you make it, so you feel the benefit immediately on your paycheck or your April return. A 529 plan gives you nothing upfront on the federal side. In exchange, the principal you put in has already been taxed once and is never taxed again, whether it sits in the account for twenty years or comes back out tomorrow.
Where the Tax Benefit Actually Sits
The payoff for accepting after-tax funding is on the growth side. Dividends, interest, and capital gains generated inside the account are not subject to annual federal or state income tax. When you withdraw the earnings to pay qualified education expenses, they come out completely tax-free.1Internal Revenue Service. 529 Plans: Questions and Answers Over a decade or more of compounding, that tax-free growth can be worth substantially more than a one-time deduction on the original contribution.
Qualified expenses include tuition and fees at eligible postsecondary institutions, required books, supplies, and equipment, and room and board for students enrolled at least half-time in a degree or certificate program.2Internal Revenue Service. Publication 970 – Tax Benefits for Education Computers, peripheral equipment, internet access, and educational software used by the beneficiary while enrolled also qualify.1Internal Revenue Service. 529 Plans: Questions and Answers K–12 tuition qualifies up to $10,000 per student per year, and registered apprenticeship costs and up to $10,000 in student loan repayment per borrower are also on the list.3Internal Revenue Service. Topic No. 313 – Qualified Tuition Programs (QTPs)
State Deductions and Credits Are a Separate Question
The federal “no deduction” rule is only half the picture. Many states with an income tax offer a deduction or credit for 529 contributions, so the same dollar can be after-tax federally and pretax (or partly pretax) for state purposes. Some states cap the deduction at a few thousand dollars per filer; others let you deduct the full amount you contribute. States without an income tax, including Texas and Florida, offer no deduction because there is no state tax to reduce, and a handful of income-tax states also decline to provide a 529 benefit.
Most states that offer a break require you to use their own plan. Pick an out-of-state 529 and you may lose the deduction entirely. A smaller group of “tax parity” states will let you claim the benefit no matter which state sponsors your plan. Rules change often, so check your state’s revenue department before choosing where to open the account.
One catch on the state side: if you take a deduction now and later withdraw the money for something other than education, most states that gave you the deduction will require you to add that amount back to your state taxable income. The state recaptures the benefit it originally allowed.
Gift Tax Rules on Contributions
Because you fund a 529 with money that is already yours after tax, the IRS treats each contribution as a completed gift to the beneficiary. That gift falls under the annual gift tax exclusion, which is $19,000 per recipient for 2026.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 As long as your total gifts to that beneficiary stay at or below $19,000 in a calendar year, you owe no gift tax and file no gift tax return for them.
A special election lets you front-load a 529 with up to five years of exclusions at once: $95,000 per beneficiary as an individual, or $190,000 for a married couple, treated as if spread evenly across five tax years.5Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs You report the superfunding election on IRS Form 709 for the contribution year and again for each of the following four years. Additional gifts to the same beneficiary during that five-year window can push you over the exclusion and create gift tax consequences.
What Happens If You Withdraw for Something Other Than Education
Because the money went in after tax, the principal always comes back to you free of tax and penalty, no matter what you spend it on. Only the earnings portion of a non-qualified withdrawal is affected. Those earnings are taxed as ordinary income at the recipient’s federal rate, which for 2026 ranges from 10% to 37%, and a 10% additional federal tax applies on top.5Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs
The 10% additional tax is waived in a few situations: the beneficiary received a tax-free scholarship (up to the scholarship amount), the beneficiary died or became disabled, the beneficiary attends a U.S. military academy (up to the attendance costs), or the earnings are taxable only because the same expenses were used to claim the American Opportunity or Lifetime Learning Credit.2Internal Revenue Service. Publication 970 – Tax Benefits for Education Ordinary income tax on the earnings still applies even when the additional tax is waived. The plan administrator reports every distribution on Form 1099-Q, and you calculate the taxable portion on your return.
The Short Version
For federal purposes, treat a 529 contribution the way you would treat a deposit into a Roth account: you are using money that has already been taxed, and you are trading the lack of an upfront deduction for tax-free growth and tax-free qualified withdrawals later. For state purposes, check your own state’s rules, because that is where an actual deduction against current income may be available. And because the IRS views the contribution as a gift to the beneficiary rather than an investment for yourself, the annual gift tax exclusion, not an income tax contribution limit, is what usually shapes how much you put in during any single year.