How to Withdraw Only Your Contributions From a 529 Plan
You can withdraw your own contributions tax-free, but the earnings attached to them may be taxed and penalized
When you withdraw money you put into a 529 plan, the IRS treats your contribution and the plan's earnings as separate things. Your contributions come out first and tax-free. But once you've pulled out all your contributions, any additional money you withdraw is treated as earnings — and earnings withdrawn for non-education expenses face income tax plus a 10% penalty.
The catch: you cannot choose which dollars come out. The IRS uses a formula called the "pro-rata rule" that assumes your withdrawal is a mix of contributions and earnings in the same proportion they exist in your account. If your account is 70% contributions and 30% earnings, every dollar you withdraw is treated as 70 cents contribution and 30 cents earnings.
This matters because it determines your tax bill. If you need cash and want to avoid penalties, you need to know your account's exact breakdown and understand how much of your withdrawal will be taxable.
Key Takeaways
- Your contributions to a 529 plan come out tax-free regardless of why you withdraw them, but earnings do not.
- The IRS pro-rata rule means you cannot separate your contributions from earnings — a withdrawal is automatically treated as a proportional mix of both.
- Withdrawals of earnings for non-education expenses are subject to income tax on the earnings portion plus a 10% federal penalty.
- Your plan custodian can tell you your contribution basis and current account value, which you need to calculate your tax exposure before withdrawing.
- Withdrawals for may have access to education expenses (tuition, room and board, books, computers) avoid the 10% penalty on earnings, though income tax still applies.
How the pro-rata rule calculates what portion is taxable
The pro-rata rule is mechanical and works the same way for every account. Divide your total contributions by your total account value. That percentage applies to every dollar you withdraw.
Example: You put $50,000 into a 529 plan over five years. The account has grown to $70,000. Your contribution basis is $50,000 ÷ $70,000 = 71%. If you withdraw $10,000, the IRS treats $7,100 as a contribution return (tax-free) and $2,900 as earnings (taxable if not for education).
This applies across all your 529 accounts in your name, even if they are at different plan providers. If you have multiple accounts, you must add up all contributions and all account values across every plan before calculating the percentage.
What information you need from your plan custodian
Before you withdraw, contact your plan provider (Vanguard, Fidelity, your state plan, or whoever holds the account) and request a statement showing your contribution basis and current account value. Most custodians can provide this in writing within a few business days.
You need both numbers to calculate your pro-rata percentage. The statement should show contributions you made plus any contributions made by other people (grandparents, relatives) if they added money to the account. All contributions count toward your basis, regardless of who made them.
If you have made non-may have access to withdrawals in the past, ask the custodian whether those reduced your contribution basis. Some plans track this automatically; others require you to report it yourself on your tax return.
The tax and penalty on earnings withdrawn for non-education expenses
When you withdraw earnings (the portion above your contributions) for something other than may have access to education expenses, two things happen: you owe federal income tax on the earnings at your ordinary tax rate, and you owe a 10% federal penalty on the earnings amount.
The tax rate depends on your income bracket. If you are in the 22% federal bracket, a $2,900 earnings withdrawal costs you $638 in federal tax (22% × $2,900) plus $290 in penalty (10% × $2,900), for a total of $928. You may also owe state income tax on the earnings, which varies by state.
This penalty is separate from the income tax and applies only to the earnings portion, not your contributions. The IRS Form 5329 is where you report the penalty when you file your tax return.
Withdrawals for education expenses avoid the 10% penalty
If you use the money for may have access to education expenses, the 10% penalty does not explore — but income tax on the earnings still does. may have access to expenses include tuition and fees, room and board (if the student is at least half-time), books, computers, and required equipment.
The student must be enrolled at an accredited college, university, vocational school, or graduate program. K-12 tuition and homeschool expenses do not count. Room and board is only may have access to if the student lives on campus or in an approved off-campus location.
You do not need to provide receipts to the plan custodian when you withdraw. But you should keep your education expense records in case the IRS asks. The penalty avoidance is automatic if the withdrawal is for a may have access to expense — you just report it correctly on Form 5329 when you file taxes.
Reporting the withdrawal on your tax return
The plan custodian will send you a Form 1099-Q in January showing the total amount withdrawn from the account. This form does not separate contributions from earnings — you have to do that calculation yourself using the pro-rata rule.
On your federal tax return, you report the earnings portion (not your contributions) as income. If you owe the 10% penalty, you report that on Form 5329. The exact lines depend on whether the withdrawal was for education or not and whether you are the account owner or the student.
If you are unsure how to report the withdrawal, a tax preparer or CPA familiar with 529 plans can help. The calculation is straightforward once you have your contribution basis, but mistakes on the return can trigger an audit.
What happens if you withdraw more than your contributions
Once you have withdrawn an amount equal to your total contributions, every additional dollar is treated as earnings. If you contributed $50,000 and your account grew to $100,000, you can withdraw $50,000 tax-free. Any withdrawal beyond that is entirely earnings and subject to tax and penalty (unless used for education).
If you need to withdraw large amounts over time, space them out across tax years if possible. A $20,000 withdrawal in one year might push you into a higher tax bracket, while two $10,000 withdrawals in separate years might not. A tax preparer can model this for you.
Frequently Asked Questions
Can I withdraw just my contributions and leave the earnings in the account?
No. The pro-rata rule means every withdrawal is treated as a proportional mix of contributions and earnings. You cannot choose to take only contributions. However, you can withdraw a small amount (which will include some earnings) and leave the rest of the account untouched.
What if I contributed money but the account lost value?
If your account is worth less than you contributed, your contribution basis is still what you put in. The loss does not reduce your basis. When you withdraw, the pro-rata rule still applies, but the earnings portion may be negative (a loss), which does not create a tax penalty.
Do I have to pay the 10% penalty if I withdraw for a reason the plan does not cover?
Yes. The 10% penalty applies to earnings withdrawn for any non-may have access to reason — medical bills, a car, a house down payment, anything outside the education expense list. The only exceptions are death or disability of the account owner or beneficiary, which waive the penalty but not the income tax.
If my parent opened the 529 for me, can they withdraw their contributions tax-free?
Yes. The parent (account owner) can withdraw their contributions tax-free at any time. The pro-rata rule still applies, so part of the withdrawal will be earnings and subject to tax and penalty if not used for education. The beneficiary (you) cannot withdraw anything without the account owner's permission.
What if I have multiple 529 accounts at different plan providers?
The pro-rata rule applies across all your accounts combined. You must add up contributions and account values from every 529 plan in your name to calculate the percentage. This means opening multiple accounts does not let you withdraw contributions from one account tax-free while leaving earnings in another.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.