How do 529 withdrawals, scholarships and education credits fit together?
Allocate same-year qualified higher-education expenses between tax-free assistance, a selected education credit and one 529 distribution. Use the actual Form 1099-Q earnings ratio to separate returned basis from taxable earnings, show scholarship/credit exceptions to the 10% additional tax, and compare the usable education credit with estimated withdrawal tax.
529 withdrawal tax calculator
Quick answer
Reduce qualified expenses for assistance and education-credit spending before applying the actual 1099-Q earnings ratio. Scholarship and credit exceptions can remove additional tax without removing income tax.
Also answers
- 529 withdrawal penalty calculator
- 529 AOTC coordination
- scholarship 529 exception
- 529 earnings ratio
Good fit when
- Allocating same-year college spending
- Checking scholarship-related taxable earnings
- Comparing a chosen AOTC/LLC allocation
Have ready
- 1099-Q gross distribution and earnings for one account/recipient
- Same-year qualified expenses and tax-free assistance
- Credit-eligible subset and chosen expense allocation
- Claimant status/MAGI, recipient rate and credit tax capacity
Result you get
Adjusted 529 expenses, taxable earnings, returned basis, additional-tax exceptions, rate-based income tax and usable education credit.
How this calculation works
- Start with gross distribution and earnings from one Form 1099-Q account/recipient. Returned basis is not taxable. Reduce qualified higher-education expenses by tax-free scholarships and other educational assistance, then by expenses reserved for the chosen AOTC or LLC.
- Allocate taxable earnings proportionally: distributed earnings divided by the gross distribution, multiplied by the distribution exceeding adjusted qualified expenses. Do not tax the whole withdrawal or use the account's current unrealized growth instead of its reported distributed earnings.
- Remove the additional-tax portion attributable to qualifying assistance and education-credit expense coordination. These exceptions do not remove ordinary income tax on taxable earnings. Apply the assumed recipient marginal rate separately, without pretending it is a complete tax-return calculation.
- Worked example: $10,000 distribution with $3,000 earnings, $12,000 qualified expenses, $2,000 scholarship and $4,000 AOTC allocation leave $6,000 for 529 expenses and $1,200 taxable earnings. The additional tax is zero under the coordination exception. At a 12% assumed recipient rate, ordinary tax is $144; a fully available $2,500 AOTC gives a $2,356 credit-less-withdrawal-tax estimate.
Common mistakes and caveats
- Only one higher-education beneficiary, one 529 account and one recipient are supported. Multiple-account earnings ratios, Coverdell coordination, K-12 expenses, student-loan repayments, rollovers, Roth transfers, refunds, state recapture and kiddie tax are blocked.
- Confirm the selected credit's student/institution/expense requirements separately. Credit-eligible expenses are the subset remaining after assistance; room and board can qualify for 529 under limits but do not qualify for AOTC/LLC.
- When the credit claimant is also the 529 recipient, taxable earnings increase claimant MAGI for the modeled phaseout. Available nonrefundable tax is entered after that distribution and other credits. Refundable AOTC requires its own age/earned-income/support and other eligibility tests.
- The tool compares an entered expense allocation, not an optimal allocation or a full scholarship-taxability election. Ordinary income tax is a rate assumption; other credits and income-sensitive taxes are not recomputed. Current nonindexed credit and distribution rules are retained for 2027; future indexed tax brackets are not invented.
FAQ
Is a nonqualified 529 withdrawal taxed on the entire amount?
No. Returned contributions are basis and are not income. Only the earnings portion allocated to the nonqualified distribution is generally taxable, with a possible 10% additional tax on those taxable earnings unless an exception applies.
Can the same tuition support both AOTC and a tax-free 529 withdrawal?
Not for the same expense dollars. Reserve the expenses taken into account for the education credit, then use the remaining adjusted expenses for the 529 tax-free calculation. Enter the expenses reserved, such as $4,000 for a maximum unphased AOTC, not the $2,500 credit.
Does a scholarship exception make the earnings income-tax-free?
No. A tax-free scholarship reduces the available expenses and can cause 529 earnings to be taxable. The applicable exception can eliminate the additional tax to the permitted extent, but ordinary income tax on those taxable earnings can remain.
Who pays tax when the account owner and student are different?
The distribution recipient matters. Payments directly to the beneficiary or eligible institution generally make the beneficiary the recipient; other payments generally make the account owner the recipient. Use the appropriate recipient's marginal rate and identify whether that recipient is also claiming the credit.
Why can room and board be entered for 529 but not for the credit?
The definitions differ. Qualifying higher-education room and board can be a 529 expense within enrollment and cost limits, but does not qualify for AOTC or LLC. The separate credit-eligible subset prevents automatically assigning every 529 expense to a credit.
Does this calculate a 529-to-Roth rollover or state deduction recapture?
No. Roth transfers have account-history, contribution-age, earned-income and other constraints, while state recapture follows state law. These cases are explicitly blocked. This tool models current higher-education withdrawal and credit coordination only.
Last updated & sources
Last updated October 13, 2026.
TaxGuide Pro provides free state and federal tax calculators for individuals, freelancers, and small businesses.