Using a 401(k) to pay for graduate school is allowed, but the 401(k) has no education exception to the 10% early withdrawal tax. The three cheaper routes are a 401(k) loan, rolling a former employer’s 401(k) to an IRA and using the IRA higher education exception, or federal graduate loans, now capped at $20,500 a year for most master’s students.
Why does $30,000 of tuition cost less from an IRA than from a 401(k)?
Because the penalty exception in IRC section 72(t)(2)(E) is written for distributions “from an individual retirement plan” only. A 401(k) distribution before 59½ used for tuition owes ordinary income tax plus the 10% additional tax; the same dollars taken from an IRA owe income tax but no 10%, up to the year’s qualified expenses.
On the IRS exceptions table, the education row reads “no” in the qualified plan column and “yes” in the IRA column. Section 72(t)(7) borrows the definition of qualified expenses from IRC 529(e)(3): tuition, fees, books, supplies and equipment the school requires, and, for a student enrolled at least half time, room and board, capped at the school’s cost of attendance allowance or the actual on-campus housing charge. The student can be the account owner, a spouse, or a child or grandchild of either.
Talk With Craig Wear's Team
Craig has helped IRA millionaires save over $1 million each in unnecessary taxes. Find out if a Roth conversion strategy fits your retirement, with no sales pressure and no product pitch.
One 401(k) route avoids the 10% with no education link: separation from service in or after the year the employee turns 55, under IRC 72(t)(2)(A)(v). It applies to the plan, not an IRA, so a 55-year-old career changer who rolls the 401(k) over gives it up. Exceptions that do reach 401(k)s are listed in the 401(k) early withdrawal penalty guide.
Two lines in the statute decide how much of an IRA withdrawal escapes the 10%, and the ranking pages on this query skip both:
- Same taxable year. The exception covers distributions that do not exceed qualified expenses “of the taxpayer for the taxable year.” IRS Publication 970 says the expenses must be paid “for the year of the distribution,” so a spring 2027 bill paid in December 2026 pairs with a 2026 distribution, not a January 2027 one.
- Tax-free aid comes off the top. Section 72(t)(7)(B) reduces expenses as provided in IRC 25A(g)(2). Publication 970 calls the result adjusted qualified education expenses and subtracts tax-free scholarships, Pell grants, veterans’ benefits and employer educational assistance (up to $5,250 tax free under IRC 127 in 2026). Expenses paid with wages, a gift or a student loan are not subtracted, so tuition financed with a Direct Loan still counts toward the IRA exception.
How much retirement money does $30,000 of graduate tuition use up under each route?
For a single 34-year-old in the 22% bracket, covering $30,000 of tuition with a straight 401(k) withdrawal takes $47,059 out of the account and costs $17,059 in federal tax, the 10% additional tax and a lost education credit. Rolling the same money to an IRA first cuts the federal cost to $8,600 when exactly $30,000 is withdrawn.
The hypothetical: a single filer, age 34, earning $72,000 in salary while enrolled half time in a two-year master’s program (not a professional degree), with $64,000 vested in the current employer’s 401(k) and $48,000 of pre-tax money in a former employer’s 401(k). After the $16,100 standard deduction, taxable income is $55,900, which sits in the 2026 single 22% bracket ($50,400 of taxable income up to $105,700) set by Rev. Proc. 2025-32. At $72,000 of MAGI the filer qualifies for the full $2,000 lifetime learning credit (20% of the first $10,000 of tuition under IRC 25A), which phases out between $80,000 and $90,000 of MAGI and is not indexed for inflation.
| Route to $30,000 of tuition | Amount drawn or borrowed | Federal income tax added | 10% additional tax | Lifetime learning credit lost | Federal cost beyond the $30,000 over 10 years |
|---|---|---|---|---|---|
| (a) Cash out the former employer’s 401(k) | $47,059 | $10,353 | $4,706 | $2,000 | $17,059, paid in the withdrawal year |
| (b1) Roll to an IRA, withdraw exactly $30,000 under the education exception | $30,000 | $6,600 | $0 | $2,000 | $8,600, paid from wages or savings |
| (b2) Roll to an IRA, withdraw enough to cover the tax too | $42,647 | $9,382 | $1,265 (on the $12,647 above tuition) | $2,000 | $12,647 |
| (c) 401(k) loan from the current plan, 60 months at 8.00% | $30,000 | $0 | $0 | $0 | $0 in tax; $6,498 of interest is paid back into the borrower’s own account ($608.29 a month) |
| (d) Direct Unsubsidized loan for $30,000 (professional-degree students only; the master’s cap is $20,500) | $30,320 (1.057% fee) | $0 | $0 | $0 | $20,396 in fee and interest ($368.99 a month for 10 years) |
| (e) Half-time master’s mix: $10,250 Direct Unsubsidized plus a $19,858 401(k) loan | $30,108 | $0 | $0 | $0 | $6,895 in federal loan fee and interest, plus $4,301 of plan loan interest paid back into the account |
Q3 calculation using 2026 IRS figures; hypothetical household. Federal tax only; state tax excluded. 401(k) loan rate assumed at the 7.00% prime rate plus 1 point. Federal loan rows assume interest is paid monthly during 24 months of school and a 6-month grace period, then a 10-year standard plan at the 2026-27 graduate rate of 8.07%. Script: grad_using-401k-to-pay-for-graduate-school.py.
Three readings matter under 2026 rules. The withdrawal rows lose the $2,000 credit because the distribution pushes MAGI above $90,000. Row (b2) shows that grossing up an IRA withdrawal to cover its own tax creates penalized dollars, since only $30,000 matches qualified expenses. Row (d) is closed to this borrower: a half-time master’s student cannot borrow $30,000 in Direct Unsubsidized loans in 2026-27, hence row (e).
Worked example of row (a). A full cash-out of the former plan is an eligible rollover distribution, so Form W-4R requires at least 20% withholding: $9,412 of the $47,059. The filer receives $37,647, pays the $30,000 bill and holds back $7,647. At filing, $5,647 of tax and additional tax is still due and the $2,000 credit no longer applies, which consumes the $7,647 exactly. Taxable income reaches $102,959, about $2,700 below the 24% bracket, so a slightly larger tuition bill would push part of the withdrawal into 24%.
Can a former employer’s 401(k) be rolled to an IRA just to use the education exception?
Yes. A 401(k) from a job already left can be moved by direct rollover to a traditional IRA, and an IRA distribution in the same calendar year as the tuition payment then owes income tax but not the 10%, up to adjusted qualified expenses. Money in the current employer’s plan usually cannot make that move until a distributable event such as separation or age 59½.
A direct rollover avoids the 20% withholding on a check paid to the participant, and an IRA distribution is a nonperiodic payment under Form W-4R with a 10% default rate the owner may change, including to zero. The IRA custodian will usually report the payout on Form 1099-R with code 1 (early distribution, no known exception), so the filer claims the exception on Form 5329, Part I, using exception number 08, “IRA distributions made for qualified higher education expenses.” Detailed rollover steps are in how to roll over a 401(k) to an IRA.
For people still on the payroll, under Rev. Rul. 2004-12, a plan that separately accounts for money previously rolled into it may let the participant take that rollover subaccount at any time, so an IRA balance once rolled into a 401(k) may be movable back to an IRA mid-career. The question for the plan administrator is whether the plan permits in-service distribution of the rollover source; general rules are in in-service 401(k) rollovers.
Designated Roth money gets a separate benefit. Treas. Reg. 1.408A-10, Q&A-3 treats the contribution (basis) portion of a Roth 401(k) rolled into a Roth IRA as regular Roth IRA contributions, which come out first under the Roth IRA ordering rules with no tax or 10%. Inside the 401(k), by contrast, a nonqualified Roth distribution carries a pro rata share of taxable earnings. The 401(k)-side rules are in Roth 401(k) withdrawal rules.
Does a tuition hardship withdrawal from a current 401(k) still owe the 10%?
Yes. Tuition is one of the safe harbor hardship reasons, but hardship status only opens the plan’s door; it does not waive the 10% additional tax. A 34-year-old taking a tuition hardship withdrawal pays the same $10,353 of tax and $4,706 of additional tax shown in row (a) of the table above.
Treas. Reg. 1.401(k)-1(d)(3)(ii)(B)(3) deems tuition, fees and room and board for up to the next 12 months of post-secondary study an immediate and heavy financial need for the employee, a spouse, child, dependent or primary beneficiary. Paragraph (d)(3)(iii)(A) lets the amount include “federal, state, or local income taxes or penalties reasonably anticipated,” so the plan can pay out the full $47,059 rather than $30,000. The withholding differs from a cash-out: hardship distributions are not eligible rollover distributions, so Form W-4R applies a 10% default, $4,706 here, leaving roughly $10,353 due at filing. A hardship payout also cannot be rolled to an IRA, which rules out route (b). Plan-level eligibility and documentation rules sit in the 401(k) hardship withdrawal rules guide.
What happens to a 401(k) loan if you leave work for a full-time program?
It depends on whether employment ends. A bona fide unpaid leave of absence lets the plan suspend repayments for up to one year under Treas. Reg. 1.72(p)-1, Q&A-9, but the loan must still be paid off within its original five-year term. Quitting usually triggers a loan offset that becomes taxable unless it is rolled over by the tax return due date.
The IRS plan loan FAQs limit a plan loan to half the vested balance, never more than $50,000 and never less than $10,000 when the balance allows, so the hypothetical’s $64,000 balance supports up to $32,000. Repayment of $30,000 at 8.00% over 60 months is $608.29 a month. If the plan suspends payments for a 12-month leave, interest builds the balance to $32,490 and the remaining 48 payments rise to $793.18 under the 72(p) regulation. Not every plan offers the suspension; the question for the plan administrator is whether the loan policy suspends payments during an approved unpaid leave.
If the job ends instead, the script shows $24,917 still owed after 12 payments. Under IRC 402(c)(3)(C), a qualified plan loan offset caused by severance can be rolled over to an IRA until the due date, including extensions, of that year’s return. Without that rollover, the offset adds $5,482 of tax and $2,492 of additional tax for this filer. Two other costs: Publication 970 bars a student loan interest deduction for plan loan interest, since it excludes loans “made under a qualified employer plan,” and repayments come from after-tax pay. The broader trade-offs are compared in 401(k) loan vs withdrawal.
A full-time study year with little salary works in the other direction for retirement tax: a single filer with no wages in 2026 can convert $16,100 to Roth against the standard deduction and another $12,400 at 10%, the approach described in the low-income-year Roth conversion guide.
How much can a graduate student borrow in federal loans after July 1, 2026?
Less than before. Grad PLUS loans end for periods of instruction beginning on or after July 1, 2026, apart from an interim exception for students already enrolled and borrowing, and Direct Unsubsidized loans are capped at $20,500 a year and $100,000 in total for graduate students, or $50,000 a year and $200,000 in total for professional-degree students, under the amended 20 U.S.C. 1087e.
The statute, as amended by P.L. 119-21, adds four details that move the numbers in this decision:
- Lifetime cap. Section 1087e(a)(6) sets a $257,500 limit on federal student loans “without regard to any amounts repaid, forgiven, canceled, or otherwise discharged.”
- Part-time proration. Section 1087e(a)(7)(A) reduces the annual amount “in direct proportion” for less than full-time enrollment, using a schedule the Secretary publishes. A master’s student at half of a full-time load would see the $20,500 cut to about $10,250, the figure used in row (e).
- Interim exception. Section 1087e(a)(8) keeps the old limits, including Grad PLUS, for a student who as of June 30, 2026 was enrolled in a program and had already received a federal loan for it, for the lesser of three academic years or the remaining program length.
- Professional degree definition. “Professional student” follows the definition in 34 CFR 668.2 as in effect on July 4, 2025, so a master’s degree in most fields falls under the $20,500 graduate cap.
Pricing for loans first disbursed July 1, 2026 through June 30, 2027 is fixed for life: 8.07% on graduate Direct Unsubsidized loans and 9.07% on PLUS loans, set from the 4.468% yield at the May 12, 2026 10-year Treasury auction (FSA Electronic Announcement GENERAL-26-33). The origination fee is 1.057% for Direct Unsubsidized loans and 4.228% for PLUS loans first disbursed October 1, 2026 through September 30, 2027 (FSA FY 2027 sequester notice). Even a full-time master’s student receives only $20,283 after the fee on a $20,500 loan, leaving a $9,717 gap on a $30,000 bill that a 401(k) loan, an IRA withdrawal, savings or a private loan has to fill.
How does a 401(k) or IRA withdrawal change the lifetime learning credit and student loan interest deduction?
Any pre-tax withdrawal raises MAGI in the year it is taken. In 2026 the $2,000 lifetime learning credit disappears for single filers above $90,000 of MAGI, and the $2,500 student loan interest deduction shrinks from $85,000 of MAGI and is gone at $100,000, so a withdrawal can cancel both breaks in the same year it pays tuition.
For the hypothetical, a $30,000 IRA withdrawal lifts MAGI from $72,000 to $102,000: the credit drops from $2,000 to zero and any student loan interest paid that year loses its deduction, whose 2026 thresholds appear in section 4.29 of Rev. Proc. 2025-32. Loans leave MAGI unchanged. On the federal loan in row (d), the deduction could return up to about $4,417 of the $20,396 in fee and interest over the life of the loan if MAGI stayed under $85,000 every year, because Publication 970 treats the origination fee as interest. Joint filers have more room: the credit phases out between $160,000 and $180,000 and the deduction between $175,000 and $205,000. Using retirement money on loans already in repayment, rather than tuition due now, is a separate decision covered in the guide to paying off student loans with a 401(k).
Frequently asked questions
Can I use my Roth 401(k) to pay for grad school without tax or penalty?
Only partly while the money stays in the plan. A nonqualified Roth 401(k) distribution before 59½ is pro rata, so its earnings share is taxable and owes the 10% additional tax. After leaving the job, rolling the Roth 401(k) to a Roth IRA turns the contribution portion into Roth IRA contributions under Treas. Reg. 1.408A-10, Q&A-3, which come out first with no tax or penalty.
Can I use my 401(k) to pay for my child’s graduate school?
Yes, but with no penalty break from the 401(k) itself. The IRA exception in IRC 72(t)(7) covers qualified expenses for the owner, a spouse, and a child or grandchild of either, so a parent under 59½ with an old 401(k) rolled to an IRA can pay a child’s graduate tuition without the 10%, though income tax still applies to pre-tax dollars.
Does the IRA education exception cover rent for a graduate student?
Room and board counts only if the student is enrolled at least half time, and only up to the greater of the school’s room and board allowance in its federal cost of attendance or the actual charge for school-owned housing, per IRS Publication 970. A student below half time can use the exception for tuition, fees, books, supplies and required equipment only.
Can I pay tuition in December and take the IRA withdrawal in January?
That pairing risks the 10%. Publication 970 ties the exception to qualified expenses paid for the year of the distribution, so tuition paid in December 2026 supports a 2026 IRA withdrawal, while a January 2027 withdrawal needs expenses paid in 2027. Matching the distribution date to the payment year on the school’s Form 1098-T helps document the claim.
Does employer tuition assistance reduce how much I can take from an IRA penalty free?
Yes. Tax-free employer educational assistance, up to $5,250 in 2026 under IRC 127, is subtracted from qualified expenses before the IRA exception applies. With $30,000 of tuition and $5,250 of tax-free assistance, only $24,750 of a taxable IRA distribution escapes the 10%; the remainder owes it unless another exception applies.
Methodology: Q3 Advisors compiled this page from primary documents and public data: IRC sections 72, 25A, 127, 402 and 529, Treas. Reg. 1.401(k)-1, 1.72(p)-1 and 1.408A-10, Rev. Rul. 2004-12, Rev. Proc. 2025-32, IRS Publication 970, Form W-4R, the Form 5329 instructions, the IRS exceptions table and plan loan FAQs, 20 U.S.C. 1087e as amended by P.L. 119-21, and Federal Student Aid announcements GENERAL-26-33 and the FY 2027 sequester notice, all checked November 1, 2026. A Python script computed the net-cash table from 2026 brackets for a hypothetical single filer; results are illustrations, not projections, and exclude state tax and investment returns. Anonymous forum anecdotes were excluded because this is a financial topic.
This article is for educational purposes only and is not individualized investment, tax, or legal advice. Consult a qualified professional about your specific situation.