Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

529 plans

529 plans: worked examples

Same facts. Pro adds the full authority stack under each answer.

Worked examples

A grandparent puts in a big gift at once

Hypothetical example, not law

Grandma opens a 529 for her grandson and puts in $82,000 in one go. She makes the five-year election on Form 709. That same year she also gives him $4,200 in cash for his birthday. Both are gifts to the same grandson. The annual exclusion is $19,000 per person.

  1. Spread the contribution. $82,000 divided by 5 years is $16,400 counted in each year.
  2. Year one total gifts to him. $16,400 + $4,200 cash = $20,600.
  3. Compare with the exclusion. $20,600 is $1,600 over the $19,000 exclusion, so Grandma reports $1,600 on that year's Form 709. It uses a small slice of her lifetime exemption and costs no tax.
  4. Years two to five. Each later year carries another $16,400 slice, which is under the exclusion by itself. If she makes no other gifts that need a Form 709, she doesn't have to file one for those years.
  5. If she dies in year three. The slices for the years after the year of her death, years four and five, are $32,800. That part is pulled back into her estate. The year-three slice stays out (the proposed regulations and the Form 709 instructions count only later years).

No gift tax in any year, a small use of the lifetime exemption in year one, and a wrinkle in the estate only if she dies early.

Tip. Superfunding is a Form 709 election, not a separate type of account. If you give cash to the same person in the same year, add it in.

Try these numbers in the calculator

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Instructions Instructions for Form 709 (2025), Line B

Private school tuition for two children in 2026

Hypothetical example, not law

The Reyes family pays private school costs in 2026 for two children and pays from two separate 529 accounts. Child A has $13,600 of tuition and fees. Child B has $24,000 of tuition, books and curriculum. The elementary and secondary limit is $20,000 per child per year.

  1. Child A. $13,600 is under the limit, so the whole withdrawal isn't taxed.
  2. Child B: what counts. Only $20,000 of the $24,000 counts as a qualified expense, because the limit applies to the child's elementary and secondary expenses as a whole.
  3. Child B: the withdrawal. They withdrew $24,000. Form 1099-Q shows $8,400 of it is earnings.
  4. Taxable earnings. $8,400 x (1 - $20,000 / $24,000) = $1,400 of the earnings is taxable. Pub. 970 uses this same ratio.
  5. Additional tax. The 10% additional tax applies to that $1,400 too, because no exception fits.

Child A owes nothing. Child B has $1,400 of income plus the 10% additional tax on it, which can be avoided by withdrawing no more than the limit for that child.

Tip. The limit follows the child, not the account. Add up every 529 withdrawal for that child's K-12 costs.

Try these numbers in the calculator

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Statute (session law) Pub. L. 119-21 § 70413
  3. Publication IRS Publication 970 (2025), chapter 7

Leftover college money moves to a Roth IRA

Hypothetical example, not law

Priya's parents opened her 529 in 2008, so it has been open for 15 years or more. It holds $31,000. $5,600 of that is from contributions made within the last 5 years, plus their earnings. She earned $33,000 in wages this year and put $1,200 into her own Roth IRA. The Roth IRA limit is $7,500.

  1. Account age. Open since 2008, which is more than 15 years, so the account qualifies.
  2. Earned income check. Her $33,000 of wages is more than the $7,500 limit, so her pay doesn't shrink the yearly cap. (On our reading, someone who earned less could roll over only up to their pay.)
  3. How much is eligible. $31,000 - $5,600 (last 5 years) = $25,400 can be rolled over over time.
  4. This year's cap. $7,500 Roth limit - $1,200 she already put in = $6,300. The 529 sends that much straight to her Roth IRA, trustee to trustee.
  5. What's left. $25,400 - $6,300 = $19,100.
  6. The next years at today's limit. $7,500 next year, $7,500 the year after, then $4,100, which finishes the $25,400.
  7. Lifetime check. $25,400 is under the $35,000 lifetime cap.

About four years of rollovers move $25,400 into her Roth IRA with no income tax and no additional tax. The yearly limit can change.

Tip. The rollover is not a contribution she makes, but it uses up that year's Roth limit. Tell the 529 plan how much she has already put in.

Try these numbers in the calculator

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Publication IRS Publication 590-A (2025)
  3. Form Form 1099-Q (Rev. April 2025)

A scholarship, and a withdrawal that's too big

Hypothetical example, not law

Marcus has $22,600 of qualified college costs this year. A nontaxable scholarship covers $9,400. He takes $18,000 out of his 529, and Form 1099-Q shows $5,400 of it is earnings.

  1. Adjusted qualified expenses (AQEE). $22,600 - $9,400 scholarship = $13,200.
  2. Untaxed earnings. $5,400 x $13,200 / $18,000 = $3,960.
  3. Taxable earnings. $5,400 - $3,960 = $1,440. It goes on Schedule 1, line 8z.
  4. Additional tax. The extra 10% doesn't apply to a taxable amount that is no more than the scholarship, so it is nothing here. Without the scholarship exception it would apply to the whole $1,440.

He pays income tax on $1,440 of earnings and no additional tax, because of the scholarship exception.

Tip. A scholarship frees you from the extra tax, not from the income tax on the earnings.

Try these numbers in the calculator

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Code I.R.C. § 530
  3. Publication IRS Publication 970 (2025), chapter 7

Claiming the American opportunity credit and using a 529

Hypothetical example, not law

The Nguyen family has $16,600 of qualified college costs for their daughter. They want the American opportunity credit (up to $2,500), which is figured on up to $4,000 of expenses. They'll pay the rest with the 529.

  1. Expenses the 529 can cover. $16,600 - $4,000 used for the credit = $12,600.
  2. Option A: withdraw $8,400. $8,400 is less than $12,600, so the whole withdrawal, earnings included, isn't taxed.
  3. Option B: withdraw $14,700. $14,700 is more than $12,600. Earnings are $4,900, so $4,900 x $12,600 / $14,700 = $4,200 isn't taxed and $700 is taxable.
  4. Additional tax. If the only reason part of the withdrawal is taxable is that those expenses were used for the credit, the 10% additional tax doesn't apply.

Match the 529 withdrawal to the $12,600, and pay the $4,000 for the credit from other money.

Tip. Pay the credit's expenses out of pocket, and let the 529 pay the rest.

Try these numbers in the calculator

Sources

Switching the beneficiary

Hypothetical example, not law

The Okafors have $24,600 left in the 529 of their son Kofi, who finished school. They could name his younger sister Ada, or Kofi's own baby daughter, as the new beneficiary.

  1. To a sister. Ada is a member of Kofi's family and in the same generation. There are no income tax consequences and no gift. Rename the beneficiary with the plan.
  2. To his baby daughter. She is a member of his family but one generation younger, so the change counts as a gift. Under the proposed regulations, the gift is treated as made by Kofi, the old beneficiary, not by his parents who own the account. $24,600 is $5,600 over the $19,000 exclusion, so Kofi would file a gift tax return, assuming he made no other gifts to her that year.
  3. Generation-skipping tax?. No. That tax only comes in when the new beneficiary is two or more generations below the old one, for example a change from Kofi to a grandchild of his.
  4. Tax. No gift tax is due unless lifetime exemptions run out. The return is the cost.

Same generation (or older) and in the family means no tax and no form. A younger generation means a gift tax return, filed by the old beneficiary under the proposed regulations.

Tip. When in doubt, pick someone in the same generation.

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Proposed regulations Prop. Treas. Reg. §§ 1.529-0 through 1.529-6
  3. Publication IRS Publication 970 (2025), chapter 7

Paying student loans from a 529

Hypothetical example, not law

Lena already paid $6,400 of her own student loans from the 529 in earlier years. This year she pays $5,400 more. The lifetime limit is $10,000 per person. Form 1099-Q shows $2,700 of the $5,400 withdrawal is earnings.

  1. Room left. $10,000 - $6,400 = $3,600.
  2. What qualifies. Only $3,600 of the $5,400 counts.
  3. Taxable earnings. $2,700 x (1 - $3,600 / $5,400) = $900.
  4. Additional tax. The 10% additional tax applies to that $900; no exception fits.

$900 of income plus the 10% additional tax on it. A sibling's loans get their own limit of $10,000.

Tip. Count loan payments from every year, not just this one. You also can't deduct student loan interest that a nontaxable 529 withdrawal paid.

Try these numbers in the calculator

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Publication IRS Publication 970 (2025), chapter 7

Moving money to an ABLE account

Hypothetical example, not law

The Daniels family's daughter has a disability and an ABLE account. Others have already put $6,400 into it this year. They'd like to move $14,900 from her 529 into the ABLE account. The yearly ABLE limit is the annual gift exclusion, $19,000.

  1. Room this year. $19,000 - $6,400 = $12,600.
  2. Rolls over untaxed. $12,600, if the money reaches the ABLE account within 60 days.
  3. Over the limit. $2,300 is more than the limit, so it is not part of the nontaxable rollover. Part of it may be taxable.

Plan the amount around the ABLE limit, and wait for the next year for the rest. This option is now permanent.

Tip. Ask the ABLE program how much room is left before you move the money.

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Code I.R.C. § 529A
  3. Statute (session law) Pub. L. 119-21 § 70117
  4. Notice Notice 2018-58

The school refunds part of the tuition

Hypothetical example, not law

Jordan's 529 paid $6,300 of tuition. Jordan then dropped a class and the school refunded $2,300.

  1. Put it back. If Jordan puts $2,300 back into a 529 for Jordan within 60 days of the refund, it isn't taxed.
  2. Principal. The IRS has said it intends the recontributed amount to be treated entirely as principal, so the plan doesn't have to split it into earnings.
  3. Too late. After 60 days, that refunded part of the withdrawal is not covered, and its earnings share can be taxable.

Put refunds back quickly. A calendar reminder on the refund date is enough.

Tip. The 60 days run from the refund date, not the date of the original withdrawal.

Sources

Authority, strongest first

  1. Code I.R.C. § 529
  2. Notice Notice 2018-58

Where the numbers come from

Checked

Every figure above comes from the source listed here, with the date we checked it and the date it is due for a re-check.

  • Education 529: additional tax
    IRC 529(c)(6); 530(d)(4)(A) checked 2026-10-19, review by 2027-01-19
  • Education 529: gift election years
    IRC 529(c)(2)(B) checked 2026-10-19, review by 2027-01-19
  • Education 529: k12 tuition annual cap
    IRC 529(e)(3)(A), last sentence checked 2026-10-19, review by 2027-01-19
  • Education 529: rollover days
    IRC 529(c)(3)(C)(i) checked 2026-10-19, review by 2027-01-19
  • Education 529: roth rollover contribution lookback years
    IRC 529(c)(3)(E)(i)(I) checked 2026-10-19, review by 2027-01-19
  • Education 529: roth rollover lifetime cap
    IRC 529(c)(3)(E)(ii)(II) checked 2026-10-19, review by 2027-01-19
  • Education 529: roth rollover minimum account years
    IRC 529(c)(3)(E)(i) checked 2026-10-19, review by 2027-01-19
  • Education 529: student loan lifetime cap
    IRC 529(c)(9)(B) checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: aotc expense tiers
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits: american opportunity, maximum credit
    26 U.S.C. sec. 25A(b)(1) checked 2026-09-24, review by 2027-01-22
  • Estate gift gst: annual gift exclusion per donee
    Rev. Proc. 2025-32 sec. 4.42 checked 2026-09-24, review by 2027-01-22
  • Retirement: IRA contribution limit
    Notice 2025-67 (sec. 219(b)(5)(A)) checked 2026-10-08, review by 2027-02-05