Yes, you can use a 529 plan for graduate school. Federal tax law treats master’s programs, MBAs, law and medical degrees, and doctoral study the same as undergraduate education: any level of postsecondary study at an eligible institution qualifies for tax-free withdrawals, as long as the money pays for qualified expenses. There is no annual dollar cap on postsecondary spending from a 529, which matters at graduate tuition rates.
A graduate school qualifies if it is an “eligible educational institution” under Section 529, meaning it participates in federal student aid programs under Title IV of the Higher Education Act.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Nearly all accredited public and private nonprofit universities in the United States meet this test, along with many for-profit and some international schools. You can confirm any specific program by checking whether the school appears on the Federal School Code List published by Federal Student Aid.2Federal Student Aid (FSA) Knowledge Center. Federal School Code Lists If it doesn’t, a withdrawal for that program will be non-qualified.
What Graduate Expenses You Can Pay With a 529
Qualified higher education expenses for a graduate student include:1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs
- Tuition and mandatory enrollment fees, with no annual dollar cap at the postsecondary level.
- Books, supplies, and equipment required for your courses, including lab materials and specialized tools for your program.
- Room and board, if you are enrolled at least half-time as defined by your school.
- A personal computer, peripherals, software, and internet service used primarily by the student during enrollment. Software for sports, games, or hobbies does not qualify unless it is predominantly educational.
- As of July 4, 2025, exam fees for professional licensing and certification, along with required preparatory courses and materials.
Several costs that show up on a graduate school bill are not qualified. Health insurance premiums do not count, even when the university requires coverage. Neither do transportation, parking, application fees, or extracurricular costs. Paying any of these from your 529 makes the earnings portion of that withdrawal taxable and adds a 10% penalty.3Internal Revenue Service. 529 Plans – Questions and Answers
Room and Board Has a Limit
Room and board is the one qualified category with a ceiling. The amount you can claim is the greater of the school’s published cost-of-attendance allowance for room and board (based on your living arrangement) or the actual amount charged if you live in housing owned or operated by the school.4Internal Revenue Service. Publication 970 – Tax Benefits for Education If you live off campus, the school’s off-campus cost-of-attendance figure is your cap. Your financial aid office can provide the current numbers.
Scholarships, Fellowships, and Assistantships
Graduate students often receive scholarships, fellowships, or tuition waivers through teaching or research assistantships, and these awards reduce what you can cover with 529 funds. The IRS requires you to compute “adjusted qualified education expenses” by subtracting tax-free educational assistance — including scholarships, fellowship grants, and qualified tuition reductions — from your total qualified costs.4Internal Revenue Service. Publication 970 – Tax Benefits for Education Only the remainder is eligible for tax-free withdrawal.
A special rule softens this. If you withdraw more than your adjusted qualified expenses but no more than the amount of a tax-free scholarship or fellowship the student received, the 10% penalty is waived. You still owe income tax on the earnings portion of that withdrawal.4Internal Revenue Service. Publication 970 – Tax Benefits for Education Keep the award letter with your tax records.
Coordinating With the Lifetime Learning Credit
Graduate students who pay tuition out of pocket or from non-529 sources may qualify for the Lifetime Learning Credit, worth up to $2,000 per year. You cannot claim the credit and a tax-free 529 distribution on the same tuition dollars.3Internal Revenue Service. 529 Plans – Questions and Answers That’s double-dipping.
The credit phases out for 2026 between $80,000 and $90,000 of income for single filers, and between $160,000 and $180,000 for joint filers. If you fall within that range, running the numbers both ways can help: paying some tuition out of pocket to claim the credit, while using 529 funds for room and board, books, and equipment, sometimes leaves you better off than routing every expense through the 529.
Requesting a Distribution
Before you request a withdrawal, gather Social Security numbers and addresses for the account owner and beneficiary, the school’s Federal School Code, and a breakdown of the qualified expenses you plan to pay. Decide who receives the funds: the school directly, the student, or the account owner.
Most plans process online requests fastest. Mailed forms add several business days. Electronic bank transfers usually arrive within a few business days; a check sent directly to the school can take at least two weeks, so plan around registration deadlines and late fees.
Withdraw in the Same Calendar Year You Pay
Match the withdrawal to the calendar year of the expense, not the school year.5College Savings Plans Network. Getting Ready to Use Your 529 Funds This Fall Spring semester tuition paid in December means the distribution should also come out before December 31. Pulling the money in January creates a mismatch that causes tax problems when you file.
Form 1099-Q and Documentation
After a distribution, the plan administrator issues IRS Form 1099-Q, reporting the gross distribution, the earnings portion, and your basis. The form is issued in the name of whoever received the funds — the student if the money went to the student or the school on the student’s behalf, the account owner if it went to the owner.6Internal Revenue Service. Instructions for Form 1099-Q – Payments From Qualified Education Programs Keep receipts and billing statements that line up with each withdrawal. That paper trail is what protects you if the IRS asks whether the expenses were qualified.
What Happens If a Withdrawal Isn’t Qualified
Use 529 money for a nonqualified purpose and the earnings portion is taxed as ordinary income and hit with a 10% federal penalty.3Internal Revenue Service. 529 Plans – Questions and Answers Your contributions come out tax-free because they were already taxed before deposit; only the growth is affected.
The 10% penalty is waived in several situations: the student receives a tax-free scholarship or fellowship, attends a U.S. military academy, dies, or becomes disabled, or the funds are rolled to a Roth IRA under the rules below. Income tax on earnings still applies in each case.
If you previously claimed a state income tax deduction for your 529 contributions, your state may recapture that deduction on a nonqualified withdrawal. Rules vary; check your state before pulling money out for a nonqualified purpose.
Leftover Funds After Graduate School
Graduate students often finish with a balance in the account. You have three main options that avoid a nonqualified distribution.
Pay Down Student Loans
If you borrowed for part of your graduate education, 529 funds can repay those student loans up to a $10,000 lifetime limit per individual.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs The limit is per person, so a sibling can also receive up to $10,000 in loan repayment. One catch: student loan interest paid with 529 funds is not deductible on your return for that year.
Roll Into a Roth IRA
Starting in 2024, leftover 529 funds can be rolled into a Roth IRA for the beneficiary if:7Internal Revenue Service. Publication 590-A – Contributions to Individual Retirement Arrangements (IRAs)
- The 529 account has been open more than 15 years.
- Only contributions (and their earnings) that have been in the account at least five years are eligible.
- The amount rolled in any year cannot exceed the Roth IRA annual contribution limit — $7,500 for 2026 for individuals under age 50.8Internal Revenue Service. Retirement Topics – IRA Contribution Limits
- Total lifetime rollovers per beneficiary are capped at $35,000 across all 529 plans.
- The transfer must move directly trustee to trustee, into a Roth IRA maintained for the 529 beneficiary.
Change the Beneficiary
You can change the beneficiary to another family member without tax consequences, or roll the funds into another family member’s 529.3Internal Revenue Service. 529 Plans – Questions and Answers An account originally opened for one child’s undergraduate education can pay for a sibling’s graduate program, or a parent can redirect what remains to a grandchild.