Back to the blog

Saving

What Is a 529 Plan? How It Works, What It Covers and the 2026 Rules

A 529 plan grows tax-free and pays out tax-free for qualified education costs. In 2026: K-12 tuition up to $20,000 a year, $10,000 lifetime for student loans, up to $35,000 rollable to a Roth IRA, and a $19,000 gift exclusion. Plus a monthly savings table.

Despezzas TeamPublished on Dec 2, 2026 at 3:15 PM · 15 min read
Rows of old, worn books stacked on wooden library shelves
Rows of old, worn books stacked on wooden library shelves

Updated on December 2, 2026. Sources checked on Dec 2, 2026: IRS Topic 313 — Qualified tuition programs, IRS Publication 970, IRS 529 plans Q&A, IRS gift tax FAQ, IRS 2026 inflation adjustments, Form 709 instructions, IRS IRA contribution limits and the 2026–27 Federal Student Aid Handbook.

What is a 529 plan?

A 529 plan, which the tax code calls a "qualified tuition program" (QTP), is an account set up and run by a state, or by a state agency, to pay for someone's education. Some colleges and universities can also run one, but only the prepaid kind (IRS Topic 313, (accessed Dec 2, 2026)).

The two types of 529 plans

The IRS puts it simply: "There are two basic types: prepaid tuition plans and savings plans" (IRS 529 Q&A, (accessed Dec 2, 2026)).

  • Savings plans. You put money in and pick from the plan's investment options. The balance moves with the markets, so it can go down as well as up. Almost everyone who says "529" means this kind, and so does most of this guide.
  • Prepaid tuition plans. You prepay the beneficiary's future higher education expenses (IRS Topic 313, (accessed Dec 2, 2026)). Each prepaid plan sets its own rules on which schools and residents it covers, so read its terms carefully.

Who can open, contribute and be the beneficiary

In the IRS's words, "You can set one up and name anyone as a beneficiary — a relative, a friend, even yourself. There are no income restrictions" (IRS 529 Q&A, (accessed Dec 2, 2026)). The owner controls the account and can change the beneficiary later. Many plans also accept gifts from relatives.

How does a 529 plan work for taxes?

Federal tax treatment

The rules come in three parts (IRS Topic 313, (accessed Dec 2, 2026)):

  1. Contributions aren't deductible on your federal return. You put in money you've already paid tax on.
  2. Earnings accumulate tax-free while they stay in the account.
  3. Withdrawals aren't taxable when they pay for qualified expenses. Publication 970 adds that no tax is due unless the amount you take out is more than the beneficiary's adjusted qualified education expenses (IRS Publication 970, (accessed Dec 2, 2026)).

The longer the money stays invested, the more of the balance is untaxed growth. For how growth builds on itself, see our guide to compound interest.

State tax benefits vary, so check your plan

Many states offer a deduction or credit for contributions, but the rules differ: some only count the in-state plan, some cap the benefit, and some take it back after a nonqualified withdrawal. Check your state plan's official page or disclosure document before you choose.

What can a 529 plan pay for? Qualified expenses in 2026

College and other higher education

The core use is qualified higher education expenses at an eligible postsecondary school (IRS Publication 970, (accessed Dec 2, 2026)):

  • tuition, fees, books, supplies and equipment required for enrollment
  • room and board, but only for students enrolled at least half-time, and only up to the school's cost-of-attendance allowance (or the actual charge for school-owned housing)
  • computers, software and internet access used mainly by the beneficiary while enrolled
  • special needs services for a special needs beneficiary

K-12 tuition: now $20,000 a year

For elementary and secondary school, 529 money can pay tuition up to $20,000 per year from all of the beneficiary's 529 accounts combined. The limit was $10,000 before Dec. 31, 2025 (IRS Topic 313, (accessed Dec 2, 2026)).

The K-12 list is also longer now. Topic 313 includes curriculum and curricular materials, books and other instructional materials, tutoring or educational classes outside the home, fees for standardized achievement tests and Advanced Placement exams, fees for dual enrollment at a college, and educational therapies for students with disabilities (IRS Topic 313, (accessed Dec 2, 2026)). Publication 970 has some conditions, for example that the tutor can't be related to the student, so check it before you pay. The IRS's older Q&A page still cites $10,000; Topic 313 has the current figure.

Apprenticeships and credentialing programs

Fees, books, supplies and equipment for a registered apprenticeship program count as qualified expenses (IRS Publication 970, (accessed Dec 2, 2026)). Topic 313 also lists "certain qualified postsecondary credentialing expenses". Publication 970 explains them: tuition, fees, books, supplies and equipment for recognized credential programs, plus testing fees when a test is required to get or keep the credential (IRS Topic 313; IRS Publication 970, (accessed Dec 2, 2026)).

Student loan repayment: $10,000 lifetime

A 529 can pay principal and interest on qualified student loans, but "the amount of distributions for loan repayments of any individual is limited to $10,000 lifetime" (IRS Topic 313, (accessed Dec 2, 2026)). Publication 970 says the payments can also cover loans of the beneficiary's sibling (IRS Publication 970, (accessed Dec 2, 2026)).

ExpenseQualified?Federal limit
College tuition, fees, books, supplies, required equipmentYesUp to adjusted qualified expenses
Room and board (at least half-time student)YesWithin IRS allowance rules
K-12 tuitionYes$20,000 per year per beneficiary (from 2026)
Expanded K-12 costs (curriculum, tutoring, tests, dual enrollment, therapies)YesCounted together with the K-12 limit; check Pub 970
Registered apprenticeship costsYesRequired fees, books, supplies, equipment
Postsecondary credentialing costsYesRecognized credential programs
Student loan repaymentYes$10,000 lifetime per individual

529 plan contribution rules: is there a limit?

No federal annual cap, but there is a ceiling

Federal law doesn't set a yearly contribution limit the way it does for IRAs. Instead, contributions for a beneficiary "can't be more than the amount necessary to provide for the qualified higher education expenses of the beneficiary" (IRS Topic 313, (accessed Dec 2, 2026)). In practice, each state plan sets a total cap per beneficiary, and the plan stops taking contributions once the balance reaches it. Your plan's disclosure document lists the cap.

Gift tax: the $19,000 annual exclusion

A 529 contribution counts as a gift to the beneficiary. For 2026, the annual gift tax exclusion "remains at $19,000" (IRS 2026 inflation adjustments, (accessed Dec 2, 2026)). Two spouses can each give that much, which makes $38,000 per beneficiary (IRS gift tax FAQ, (accessed Dec 2, 2026)). The IRS's 529 Q&A says there "may be gift tax consequences" if your contributions plus other gifts to one beneficiary go over $19,000 in a year (IRS 529 Q&A, (accessed Dec 2, 2026)).

The 5-year election (superfunding)

You can front-load a large contribution and treat it, for gift tax, as spread over five years. The 2025 Form 709 instructions let you "treat up to $95,000 of the contribution for that person as if you had made it ratably over a 5-year period." You make the election by checking the box on line B of Schedule A, for the year you contribute (Form 709 instructions, (accessed Dec 2, 2026)). That's five times $19,000, which is still the exclusion in 2026, but confirm the figure in the instructions for the year you file. Other gifts to the same person during those five years can trigger a filing requirement.

What happens to a 529 if your child doesn't go to college?

You can also simply leave the money invested for a gap year, a later trade program or graduate school. Beyond that:

1. Change the beneficiary

"There are no income tax consequences if the designated beneficiary of an account is changed to a member of the beneficiary's family" (IRS Publication 970, (accessed Dec 2, 2026)). Family is defined broadly. It includes siblings, parents, spouses, in-laws and first cousins. The money can go to a younger child, a niece or nephew, or even you, if you go back to school.

2. Roll up to $35,000 into a Roth IRA

Starting with distributions after Dec. 31, 2023, a 529 beneficiary can move money into their own Roth IRA, under strict rules (IRS Topic 313, (accessed Dec 2, 2026)):

  • It must be a direct trustee-to-trustee transfer.
  • The 529 account must have been open for at least 15 years.
  • Contributions made in the last 5 years, and their earnings, can't be rolled over.
  • There's a $35,000 lifetime limit per beneficiary.
  • Each year's rollover is subject to the annual Roth IRA contribution limit.

For 2026, the IRA limit is $7,500 ($8,600 if you're 50 or older), and it covers all of your traditional and Roth IRA contributions combined (IRS IRA contribution limits, (accessed Dec 2, 2026)).

Hypothetical example: say a 22-year-old beneficiary has an 18-year-old 529, makes no other IRA contributions, and the IRA limit stays at $7,500. Reaching $35,000 would take 4 years × $7,500 = $30,000, then $5,000 in year five. A higher limit shortens that; other IRA contributions stretch it. For how a Roth compares with a traditional IRA, see Roth IRA vs Traditional IRA.

3. Take a nonqualified withdrawal: what it costs

If you withdraw money for something that isn't a qualified expense, the earnings part of the withdrawal is taxable income. On top of that there's generally a 10% additional tax on the amount included in income (IRS Topic 313; IRS Publication 970, (accessed Dec 2, 2026)). Your contributions come back without federal tax because you already paid tax on them.

Hypothetical example (not a forecast, illustrative numbers only):

  • Account balance: $40,000, made up of $25,000 in contributions and $15,000 in earnings
  • You withdraw the whole $40,000 for a non-education purpose
  • Assume a 22% federal marginal tax rate (your rate may differ)
ItemMathAmount
Contributions returnednot taxed$25,000
Earnings taxed as income$15,000 × 22%$3,300
10% additional tax$15,000 × 10%$1,500
Total federal cost$3,300 + $1,500$4,800
You keep$40,000 − $4,800$35,200

State income tax may also apply, and some states take back deductions you claimed earlier. Even so, a nonqualified withdrawal usually costs only part of the earnings, not the whole account.

When the 10% additional tax doesn't apply

Publication 970 lists exceptions, including the beneficiary's death or disability, tax-free scholarships (up to the scholarship amount), attending a U.S. military academy, and expenses that were used to claim the American opportunity or lifetime learning credit (IRS Publication 970, (accessed Dec 2, 2026)). In the scholarship case, the earnings part is still taxed as income. Only the extra 10% goes away.

How much should you put in a 529 plan each month?

There's no right number for everyone. It depends on the kind of school, how many years you have, and what else your budget needs to cover first. The table below shows how steady monthly contributions could grow.

Hypothetical: monthly contributions at an illustrative 5% annual return, compounded monthly. Not a forecast; real returns vary and can be negative.

Monthly contributionYearsTotal contributedHypothetical balanceOf which growth
$10010$12,000$15,528$3,528
$10018$21,600$34,920$13,320
$25010$30,000$38,821$8,821
$25018$54,000$87,301$33,301
$50010$60,000$77,641$17,641
$50018$108,000$174,601$66,601

The formula is the future value of monthly deposits: balance = monthly amount × ((1 + 0.05/12)^months − 1) ÷ (0.05/12). For example, $250 a month for 216 months comes to about $87,301.

Time matters as much as the amount: $100 a month for 18 years ($34,920) ends up close to $250 a month for 10 years ($38,821) while contributing $8,400 less. To work backward from a goal, say your target is a hypothetical $60,000. At the same illustrative 5%, you'd need about $172 a month for 18 years, or about $386 a month for 10 years.

What the money is invested in matters too. Many savings plans offer age-based portfolios that get more conservative as the beneficiary gets older, and many use index funds. If you're new to that, read index funds for beginners before you choose. Plan fees vary too, so check them in the plan's disclosure document.

529 plan vs Roth IRA vs taxable savings

529 savings planRoth IRATaxable brokerage / savings
Main purposeEducationRetirementAnything
Federal deduction for contributionsNoNoNo
GrowthTax-free while investedTax-free if qualifiedTaxed (interest, dividends, gains)
Federal annual limit (2026)None; plan caps total per beneficiary$7,500 ($8,600 if 50+), all IRAs combinedNone
Tax-free withdrawals forQualified education expensesQualified distributions under Roth rulesn/a
Non-education useEarnings taxed + 10% additional tax (with exceptions)Separate Roth rulesNo restrictions

Sources: IRS Topic 313 and IRS IRA contribution limits, (accessed Dec 2, 2026). A 529 has the biggest tax break for education; a Roth IRA or taxable account trades some of that for flexibility.

How to budget for a 529 plan

A 529 works best when it's a fixed monthly line in your budget, not money you put in when something's left over.

  1. Pick the amount from the table or the backward calculation, after your emergency fund and high-interest debt are covered.
  2. Make it a fixed transfer on payday through your plan's own portal: pay yourself first, applied to education.
  3. Track it as a goal with a target and a date, for example in a savings goal tracker spreadsheet.
  4. Point gifts at it. Many plans let relatives contribute directly.
  5. Review once a year: timeline, investment option and state rules.

If you have a new baby, the 529 is only one line in a bigger budget. Our guide to budgeting for a baby covers the rest.

In Despezzas you can add the 529 contribution as a fixed monthly budget line and track the account as a savings goal with a target amount. Entries are manual: Despezzas doesn't connect to US banks or 529 plans, so you log the transfer when you make it. Create a free account and add your 529 goal in a few minutes.

FAQ

How does a 529 plan work?

You contribute after-tax money to a state plan and invest it (or prepay tuition). Earnings grow tax-free, and withdrawals for qualified education expenses are federally tax-free.

Can I use a 529 for K-12?

Yes: up to $20,000 a year per beneficiary from 2026 (previously $10,000), with an expanded list of K-12 costs such as curriculum, tutoring and test fees (IRS Topic 313, (accessed Dec 2, 2026)).

What happens to a 529 if my child doesn't go to college?

Change the beneficiary to a family member tax-free, keep it for later, roll up to $35,000 into the beneficiary's Roth IRA, or withdraw it and pay income tax plus a 10% additional tax on the earnings.

Can I roll a 529 into a Roth IRA?

Yes, if the account is at least 15 years old: trustee-to-trustee, excluding the last 5 years of contributions, within the annual IRA limit ($7,500 in 2026) and a $35,000 lifetime cap (IRS Topic 313, (accessed Dec 2, 2026)).

Is there a limit on 529 contributions?

No federal annual limit; each plan sets a total cap per beneficiary. For gift tax, $19,000 per beneficiary in 2026 is covered by the annual exclusion, and the 5-year election lets you front-load more (IRS 2026 inflation adjustments, (accessed Dec 2, 2026)).

Does a 529 hurt financial aid?

For a dependent student, the 2026–27 Federal Student Aid Handbook says a 529 designated for the student is reported as a parental investment, and if the student is the beneficiary but not the owner, it isn't reported as a student asset. Qualified withdrawals are tax-free, so they don't show up in AGI (FSA Handbook 2026–27, (accessed Dec 2, 2026)). The exact effect depends on your full aid application.

Can grandparents open a 529?

Yes. Anyone can open one and name anyone as beneficiary, with no income limits (IRS 529 Q&A, (accessed Dec 2, 2026)).

This is general information, not tax, legal or investment advice. Check your plan's documents and talk to a tax professional about your situation.

Ready to make education savings a steady line in your budget? Start with Despezzas for free. Compare plans on our pricing page.

Despezzas Team

Related

  1. No-Spend Challenge: Rules, Printable Plan and How Much You Can Really SaveSaving
  2. How to Lower Your Electric Bill: 12 Changes That Add Up (and How to Measure Them)Saving
  3. How to Save for a Down Payment: Timeline, Monthly Target and Where to Keep the MoneySaving
  4. Grocery Budget: How Much to Spend on Food (USDA 2026 Numbers) and How to Cut Your BillSaving