Yes, a 529 plan can be used for medical school. Withdrawals for tuition, required fees, books, required equipment, and room and board come out federal-tax-free as long as the medical school participates in federal student aid programs. That covers the great majority of accredited U.S. medical schools and a number of international ones, so for most families the question is not whether the account works but how to use it without tripping the rules.
Which Medical Schools Qualify
A medical school qualifies for tax-free 529 distributions if it meets the federal definition of an eligible educational institution under 26 U.S.C. ยง 529, which points to schools eligible to participate in Title IV federal student aid programs.1Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs That definition sweeps in public universities, private nonprofits, and for-profit institutions.2Internal Revenue Service. 529 Plans Questions and Answers
International medical schools qualify if they participate in federal student aid, and several Caribbean medical schools do. The quickest way to confirm any school is to look up its Federal School Code through the Department of Education’s search tool. A school with a code participates in Title IV, which means a 529 withdrawal for its qualified expenses will be treated as qualified. Most schools also publish the code on their financial aid pages.
Qualified Medical School Expenses
The tax code defines qualified higher education expenses as tuition, fees, books, supplies, and equipment required for enrollment or attendance.3Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs – Section: Other Definitions and Special Rules For medical students, the “required equipment” category is where the list gets specific. If your program mandates a stethoscope, a blood pressure cuff, a dissection kit, or a particular laptop model, those purchases qualify. The controlling word is “required”: the school’s syllabus or supply list has to specify the item as a condition of attendance.
Computer equipment, software, and internet access also count so long as the student uses them primarily while enrolled.3Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs – Section: Other Definitions and Special Rules Anatomy software subscriptions and the high-performance laptops many programs recommend fall inside that category.
Room and Board Rules
Room and board qualifies only when the student is enrolled at least half-time, defined as at least half the full-time academic workload set by the school. Most medical students meet that easily, but a reduced schedule for any reason can put housing costs outside the rule.4Internal Revenue Service. Publication 970 Tax Benefits for Education
The dollar amount is capped. The ceiling is the greater of the room and board allowance the school publishes in its official cost of attendance, or the actual amount charged when the student lives in school-owned housing.3Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs – Section: Other Definitions and Special Rules Off-campus students, common in medical school, are limited to the published cost of attendance figure. Withdrawing more than the cap turns the excess into a non-qualified distribution, which brings tax and penalty on the earnings portion.
Ask the financial aid office for the current cost of attendance breakdown before you request a distribution. That document sets your ceiling, and it changes each academic year.
What a 529 Will Not Cover at Medical School
A large share of medical school spending sits outside the qualified expense categories. Knowing where the line falls prevents an accidental taxable event.
- Transportation and travel. Driving to campus, flying to residency interviews, and relocating for clinical rotations do not qualify. The statute does not include transportation.
- Licensing exam fees. USMLE Step fees, COMLEX fees, and similar exams are not listed as qualified expenses. Third-party board prep courses such as UWorld or Kaplan are not covered either, unless a specific course is required as a condition of enrollment, which is rare and worth confirming in writing.
- Residency application costs. ERAS fees, interview travel, and supplemental application fees do not qualify. Application fees generally fall outside 529 rules.
- Health insurance premiums. When the school lets students waive its plan by showing outside coverage, the insurance is not truly required and does not qualify. In the narrow case where the school bundles health coverage into a mandatory, non-waivable enrollment fee, that charge can qualify as a required fee.
The working test is simple: does the school require this as a condition of enrollment or attendance? If the honest answer is no, a 529 withdrawal for that cost will not be tax-free.
Coordinating With Scholarships and the Lifetime Learning Credit
Medical students who receive scholarships sometimes worry their 529 balance is stuck. It is not. If you withdraw an amount up to the value of a tax-free scholarship, the 10% penalty that normally applies to non-qualified distributions is waived. Ordinary income tax on the earnings portion still applies, but the penalty disappears.5Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs – Section: Tax Treatment of Designated Beneficiaries and Contributors The same waiver covers a beneficiary who attends a U.S. military academy or becomes disabled.
The Lifetime Learning Credit is worth up to $2,000 per tax return for qualified education expenses, and medical students can claim it at any year of study. You can use 529 funds and claim the credit in the same year, but not on the same dollars. Allocate at least $10,000 in tuition and required fees toward generating the full credit first, since the credit equals 20% of the first $10,000 in expenses, and then use 529 funds on the rest.4Internal Revenue Service. Publication 970 Tax Benefits for Education
When a scholarship is also in the picture, subtract both the amount allocated to the credit and the scholarship from total qualified expenses before deciding how much you can withdraw tax-free from the 529. If total qualified expenses are $60,000, and you allocate $10,000 to the credit and received a $5,000 scholarship, the maximum tax-free 529 distribution for the year is $45,000. The credit phases out between $80,000 and $90,000 of modified adjusted gross income for single filers, and between $160,000 and $180,000 for joint filers.
Using 529 Funds for Student Loans After Graduation
Since the SECURE Act, 529 plans can pay down qualified student loans, which matters for medical graduates with six-figure balances. The cap is $10,000 lifetime per individual. It applies across every 529 account naming that person as beneficiary, so two accounts owned by different family members share a single $10,000 ceiling.1Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs
The same $10,000 limit applies separately to each of the beneficiary’s siblings, including stepbrothers and stepsisters. So up to $10,000 of your 529 balance can go toward a sibling’s student loans as well. Ten thousand dollars will not clear a medical school debt load, but it comes out tax-free and penalty-free and is worth using before the account sits idle.
How to Take a Distribution Without Creating a Tax Problem
Most 529 administrators offer three payout methods: an electronic transfer to the school’s billing office, a physical check mailed to the school, or a reimbursement to the account owner’s or beneficiary’s bank account. Reimbursement gives you the most control over timing, but you carry the documentation burden.
Timing matters more than people expect. The withdrawal has to happen in the same calendar year the expense is paid, not the same academic year.4Internal Revenue Service. Publication 970 Tax Benefits for Education A tuition bill due in January for the spring semester needs a January withdrawal, not a December one. Getting this wrong converts a qualified distribution into a non-qualified one. December and January bills that straddle the year end are where these mistakes cluster.
After the distribution, the plan administrator files Form 1099-Q with the IRS and sends a copy to whoever received the funds.6Internal Revenue Service. About Form 1099-Q Payments From Qualified Education Programs Under Sections 529 and 530 That form separates the contribution portion from the earnings portion. Keep it alongside the Form 1098-T the medical school issues for tuition and fees billed. Matching those two forms is how you show the IRS that the money went to qualified expenses. Keep receipts for books, equipment, and other non-tuition costs, since those will not appear on the 1098-T.
What Happens With a Non-Qualified Withdrawal
When 529 money goes to something that does not qualify, only the earnings portion of the distribution is penalized. Your original contributions come back tax-free either way because they were made with after-tax dollars. The earnings face ordinary income tax plus a 10% federal penalty.5Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs – Section: Tax Treatment of Designated Beneficiaries and Contributors
If you live in one of the roughly 36 states that offer a state income tax deduction or credit for 529 contributions, a non-qualified withdrawal can also trigger state tax recapture, adding back the amount you previously deducted. The state cost depends on your marginal state rate at the time of withdrawal.
The 10% federal penalty is waived in a few specific situations: a tax-free scholarship (up to the scholarship amount), disability, death of the beneficiary, or attendance at a U.S. military academy. Income tax on the earnings still applies in each case; only the penalty falls away.
Rolling Leftover Funds Into a Roth IRA
Starting in 2024, unused 529 funds can be rolled into a Roth IRA in the beneficiary’s name. This helps families who saved early and have money left after graduation. The lifetime rollover cap is $35,000 per beneficiary, and the 529 account must have been open at least 15 years before any rollover.1Office of the Law Revision Counsel. 26 USC 529 Qualified Tuition Programs
Each year’s rollover is limited to the annual Roth IRA contribution limit, currently $7,000 for people under 50, so reaching the full $35,000 takes at least five years. The beneficiary also needs earned income at least equal to the rollover amount for that year, the same rule that governs a regular Roth contribution. A medical school graduate in residency will usually clear that bar. Contributions made to the 529 in the most recent five years, along with their earnings, are not eligible for rollover. This route beats a non-qualified withdrawal because you avoid income tax and the 10% penalty on earnings, and the money keeps growing tax-free in a retirement account instead of sitting idle.