529 Plans Explained: Tax Rules, State Deductions and Limits

Money in a 529 plan grows free of federal income tax and comes out tax free when it pays for qualified education costs, many states (New York, Illinois and Pennsylvania among them) also cut your state income tax for contributing, and the catch is a 10% federal penalty plus tax on earnings you spend on anything else.

Run your own numbers: Investment calculator and Savings calculator

Every state runs its own plan and gives it a name that sounds like a breakfast cereal. Bright Start. NY 529. my529. Same federal rules underneath.

The SEC sorts them in one line: "There are two types of 529 plans: education savings plans and prepaid tuition plans." Savings plans are the common kind: you pick investments and the value moves with the market. Prepaid plans lock in tuition credits, usually at in-state public schools. And you are not stuck with your own state's plan: "Most education savings plans are available to everyone, but a few have residency requirements for the saver and/or beneficiary."

Worked example: the state deduction, and a withdrawal that goes wrong

A made-up married couple in New York puts $10,000 a year into the NY 529 plan. They deduct the full $10,000 on their New York return. At an example 6% state rate that is about $600 less state tax every year they do it, before the federal tax-free growth even starts.

Years later their kid gets a full scholarship and they pull out $20,000 to fix the roof. $6,000 of it is earnings. Those earnings are taxed as income (about $1,320 at an example 22% federal rate) and get the 10% penalty ($600), so about $1,920 federal. The contributions come back tax free. Scholarships are one of the exceptions where the penalty is waived up to the scholarship amount, so they should check that before paying it.

NY deduction, joint (yearly) $10,000
State tax saved (example 6%) $600
Non-school withdrawal, of which earnings $20,000, $6,000
Federal tax on earnings (example 22%) $1,320
10% penalty on earnings $600

State tax breaks, from each state's own page

Tax year 2026. Sources at the bottom.

Plan people search forState tax break for contributionsSource
NY 529 (New York)Deduction up to $5,000, $10,000 married filing jointlyNY program page via NYC OPA
Bright Start, Bright Directions (Illinois)Subtraction up to $10,000 single, $20,000 jointIllinois Department of Revenue
PA 529 (Pennsylvania)Deduction up to $19,000 per beneficiary, double for joint filers if each spouse has the incomePA Treasury
Maryland 529, my529 (Utah), Indiana, Virginia529Each state sets its own deduction or creditCheck the state plan's own site

State rules change; read your own state revenue department's page for the current year. Some states give the break for any state's plan, most only for their own.

What counts as a qualified expense

College and other post-secondary costs: tuition, fees, books, supplies, required equipment, and room and board for students enrolled at least half time.

K-12 tuition and related costs too, within a cap. The IRS: K-12 expenses "are limited up to a total amount of $20,000 per year ($10,000 limit before Dec. 31, 2025) from all of the designated beneficiary's QTPs."

Leftover money and the Roth rollover

You can switch the beneficiary to another family member, keep it for grad school, or roll part of it into the beneficiary's Roth IRA. The SEC lists the limits: "the total rollover amount is limited to $35,000, annual Roth IRA contribution limits apply, the 529 account has to have been open for at least 15 years, and the funds you rollover must have been in the 529 account for at least five years."

If none of that works, the earnings part of a withdrawal pays tax and the penalty. The SEC wording: "they will be subject to state and federal income taxes and an additional 10% federal tax penalty on earnings."

Gift tax and big deposits

Deposits are gifts to the beneficiary. 529 plans have a special five-year election, and PA 529's page puts it in numbers: "You can contribute up to $95,000 in a single year ($190,000 for a married couple filing jointly) for each beneficiary without incurring federal gift tax." You report the election on a gift tax return.

If you live in a state with a deduction, check whether it only counts deposits to the home-state plan. A cheaper out-of-state plan can still win if your state gives no break at all.

FAQ

Do I have to use my own state's 529 plan?

No. Most savings plans accept anyone from any state, and the money can be used at schools anywhere. The reason to pick your home plan is a state tax deduction or credit that only applies to it. If your state gives no break, compare fees and investment options across states.

How much can I deduct for NY 529 contributions?

New York allows a state income tax deduction of up to $5,000 a year, or $10,000 for married couples filing jointly, for contributions by the account owner to the New York plan. There is no federal deduction for 529 contributions, only tax-free growth and tax-free qualified withdrawals.

Can a 529 pay for private school?

Yes, for K-12 tuition up to $20,000 per year per student across all of that student's 529 accounts. Check your state's rules, because a few states do not follow the federal K-12 change for state tax, and may add back the deduction or tax the withdrawal.

What happens to a 529 if my child does not go to college?

You have options. Change the beneficiary to a sibling, cousin or yourself, keep the money for later study or apprenticeships, or roll up to $35,000 over a lifetime into the beneficiary's Roth IRA if the account is old enough. Cashing out means tax and a 10% penalty on the earnings.

Does a 529 hurt financial aid?

A 529 owned by a parent counts as a parent asset on federal aid forms, which weighs less than money in the student's own name. That is one reason families often prefer a 529 to a custodial account. Plans owned by grandparents and other relatives are treated differently, so check the current FAFSA rules.

Sources

More on more guides