Can I Use My 401(k) to Pay Off Student Loans? 2026 Costs, Rules and Better Options

Can I Use My 401(k) to Pay Off Student Loans? 2026 Costs, Rules and Better Options

Can I use my 401(k) to pay off student loans? Yes, but a 401(k) has no student loan exception, so every early dollar is taxed and usually penalized.

Yes, you can use a 401(k) to pay off student loans through a withdrawal or a plan loan, but there is no student loan or education exception for 401(k)s. Before age 59½, a withdrawal is taxed as ordinary income plus a 10% additional tax. A 401(k) loan avoids both if repaid on schedule, generally within five years.

By Craig Wear, CFP® | Last reviewed: October 9, 2026

Key Takeaways

  • The IRS exceptions table marks “qualified higher education expenses” as an exception for IRAs only; 401(k) withdrawals before 59½ for school or student loans generally owe the 10% additional tax (IRS).
  • Safe harbor hardship withdrawals cover tuition and fees “for the next 12 months of postsecondary education,” not repayment of loans for past schooling (IRS).
  • A 401(k) loan is capped at the lesser of $50,000 or 50% of the vested balance (with a $10,000 floor), repaid in at least quarterly payments, generally within five years (IRS loan FAQs).
  • Interest on a 401(k) loan is not deductible as student loan interest, because loans under a qualified employer plan are not qualified student loans (IRS Publication 970).
  • Employers may match student loan payments into a 401(k), 403(b), governmental 457(b) or SIMPLE IRA for plan years beginning after December 31, 2023 (IRS Notice 2024-63).
  • Up to $5,250 a year of employer payments toward an employee’s student loans stays tax free, and that rule is now permanent (IRS Rev. Proc. 2025-32).
  • A hardship distribution defaults to 10% federal withholding, not the 20% many guides quote, which can leave a large balance due at tax time (IRS Form W-4R).

Four 2026 Numbers Behind the 401(k) vs Student Loan Decision

10%Additional tax on most 401(k) withdrawals before 59½; the education exception is IRA onlyIRS exceptions table
$50,000Maximum 401(k) loan (or 50% of the vested balance, if less), repaid within 5 yearsIRS loan FAQs
$5,250Employer student loan repayment you can receive tax free per year, now permanentIRS Rev. Proc. 2025-32
8.07%Fixed rate on new graduate Direct Unsubsidized Loans, July 2026 to June 2027U.S. Dept. of Education

Figures from IRS and U.S. Department of Education primary sources, verified October 9, 2026. Plan loan and withdrawal features vary by employer.

Can I use my 401(k) to pay off student loans?

Yes, a 401(k) can be used to pay off student loans, but only through the same two doors that open for any other expense: a distribution or a plan loan. Nothing in the tax code treats student debt as a special reason to tap a 401(k).

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.

A distribution is permanent. Before 59½ it is taxed as ordinary income and generally owes the 10% additional tax, as the 401(k) early withdrawal penalty rules explain. A plan loan is temporary money you pay back to your own account through payroll, with no tax if it stays on schedule.

Whether either door is open depends on your plan document. Many plans allow loans; fewer allow in-service withdrawals before 59½ except for hardship. Workers who have left the employer, or who separate in or after the year they turn 55, have more options under the rule of 55. For the general framework on using retirement money for credit cards, mortgages and other debts, see using a 401(k) to pay off debt; this guide covers what is specific to student loans.

Is there a 401(k) penalty exception for student loans or education?

No. The IRS lists qualified higher education expenses as an exception to the 10% additional tax for IRAs, SEPs and SIMPLE IRAs, and marks it “No” for qualified plans such as 401(k)s (IRS exceptions table).

A common misconception is that rolling the money to an IRA first solves the student loan problem. It does not. IRS Publication 970 grants the IRA exception when, “for the year of the distribution,” you pay qualified education expenses: tuition, fees, books, supplies and required equipment, plus room and board for at least half-time students. Repaying loans for a degree finished years ago is not a qualified education expense in that year.

The one tax-advantaged account that can repay student loans directly is a 529 plan. Publication 970 allows up to $10,000 of principal or interest on qualified student loans of the beneficiary or a sibling, as a lifetime limit per person. Families weighing which account to fund in the first place can compare them in Roth IRA vs 529.

Does a 401(k) hardship withdrawal cover student loan payments?

Usually not. The IRS safe harbor list includes “tuition, related educational fees and room and board expenses for the next 12 months of postsecondary education” for you, a spouse, children, dependents or a beneficiary, which is forward looking and says nothing about existing loans (IRS hardship distributions).

A plan that uses non-safe-harbor facts and circumstances rules could, in theory, treat a student loan crisis as an immediate and heavy financial need, but most plans adopt the safe harbor list. Hardship money also cannot be repaid to the plan or rolled over, and it still owes income tax and generally the 10% additional tax before 59½. Eligibility, proof and amount limits are covered in 401(k) hardship withdrawal rules.

In short, the hardship route fits upcoming tuition, not a servicer balance.

What does cashing out cost on a $30,000 student loan? A worked 2026 example

Paying off $30,000 of student debt with an early 401(k) withdrawal can take roughly $44,000 of retirement savings once federal tax and the 10% additional tax are counted. The example below is hypothetical and uses 2026 federal figures only.

Hypothetical illustration: a single filer, age 32, earns a $75,000 salary, takes the 2026 standard deduction of $16,100, and has $30,000 of student loans. Taxable income before any withdrawal is $58,900, which sits in the 22% bracket that runs from $50,400 to $105,700 for single filers in 2026 (Rev. Proc. 2025-32).

Line item (hypothetical, federal only) Amount
Gross 401(k) withdrawal needed to net $30,000 $44,118
Taxable income after withdrawal ($58,900 + $44,118) $103,018 (still in the 22% bracket)
Added federal income tax at 22% $9,706
10% additional tax on the early distribution $4,412
Total federal cost of the payoff $14,118
Default withholding on a hardship distribution (10%) $4,412
Withholding if the payout is an eligible rollover distribution (20%) $8,824

Where a $44,118 early 401(k) withdrawal goes when the goal is a $30,000 loan payoff (hypothetical)

Gross 401(k) withdrawal$44,118
Reaches the student loan$30,000
Federal income tax at 22%$9,706
10% additional tax$4,412
Withheld by default on a hardship distribution (10%)$4,412

Source: Q3 Advisors calculation using 2026 single brackets and $16,100 standard deduction (IRS Rev. Proc. 2025-32), the 10% additional tax (IRC 72(t)) and Form W-4R default withholding. Hypothetical single filer, $75,000 salary, federal tax only.

Two details rarely show up in other guides. First, withholding rarely covers the bill. Form W-4R sets 20% withholding for eligible rollover distributions but only a 10% default for nonperiodic payments, and it lists qualifying hardship distributions as not eligible rollover distributions. In this example a hardship payout would leave about $9,706 still due at filing; a 20% payout would leave about $5,294.

Second, the withdrawal can erase the student loan interest deduction for the same year. The $2,500 deduction phases out between $85,000 and $100,000 of modified AGI for single filers in 2026 (Rev. Proc. 2025-32). This filer’s AGI jumps from $75,000 to about $119,118, so interest paid on the loan earlier that year is no longer deductible. State income tax, if any, comes on top. How the distribution itself is taxed is covered in how 401(k) withdrawals are taxed.

Is a 401(k) loan a better way to pay off student loans?

A 401(k) loan avoids tax and the 10% additional tax, but it usually raises the monthly payment and swaps federal borrower protections for a five-year payroll deduction. The IRS caps the loan at the lesser of $50,000 or 50% of the vested balance, with a $10,000 floor, and requires substantially level payments at least quarterly, generally within five years (IRS loan FAQs).

Hypothetical illustration: the same borrower has a $60,000 vested balance, so the maximum loan is $30,000. At an assumed 8% plan rate over 60 months, the payment is about $608 a month. The same $30,000 on a 10-year schedule at 6.52% would cost about $341 a month. The interest goes back into the borrower’s own account, but the faster schedule nearly doubles the monthly cash outlay.

Three costs are easy to miss. Loan repayments come from after-tax pay. Interest on the 401(k) loan is not deductible as student loan interest (Publication 970). And if employment ends, many plans offset the unpaid balance; the offset can be rolled over until the tax return due date, including extensions, or it becomes a taxable distribution (IRS). The full comparison is in 401(k) loan vs withdrawal.

What do you give up by paying federal student loans with retirement money?

Paying off federal loans early gives up income-driven repayment, forgiveness programs and the fixed, tax-deductible interest that come with them.

Public Service Loan Forgiveness cancels the remaining Direct Loan balance after 120 qualifying monthly payments while working full time for a qualifying employer (Federal Student Aid), and PSLF discharges do not create a tax liability (Taxpayer Advocate Service). By contrast, the temporary exclusion for most other forgiveness covered discharges through December 31, 2025, so income-driven forgiveness after that date may be taxable. Income-driven repayment plans, meanwhile, set the monthly payment from income and family size rather than from the balance, which can lower the payment in a lean year without touching retirement savings.

Rates matter too. New federal Direct Loans first disbursed from July 1, 2026 through June 30, 2027 carry fixed rates of 6.52% for undergraduates, 8.07% for graduate unsubsidized loans and 9.07% for PLUS loans (U.S. Department of Education). For periods of instruction beginning on or after July 1, 2026, graduate and professional students are no longer eligible for new Grad PLUS loans, apart from an interim exception for students already enrolled and borrowing in their program on June 30, 2026 (20 U.S.C. 1087e(a)(3)(C) and (a)(8)). A known interest saving versus uncertain market returns is a real trade-off; for a borrower on track for PSLF, the trade-off usually looks worse.

Can your employer help pay student loans without touching your 401(k)?

Yes, two employer tools address student debt without a withdrawal. The first is the SECURE 2.0 student loan match: plans may treat an employee’s qualified student loan payments like elective deferrals and match them, for plan years beginning after December 31, 2023 (IRS Notice 2024-63).

Under the Notice, payments that count toward the match cannot exceed the deferral limit, $24,500 in 2026, reduced by the employee’s own deferrals, and the employee must certify the payments at least annually. Matching formulas, vesting and true-ups work as described in what a 401(k) match is.

The second is Section 127 educational assistance. Employers can pay up to $5,250 a year toward an employee’s student loan principal or interest tax free; the One Big Beautiful Bill Act made that loan feature permanent and indexes the $5,250 for inflation after 2026 (Rev. Proc. 2025-32). Both are optional for employers, so HR or the summary plan description is the place to check.

Can you use a 401(k) or IRA to pay for graduate school?

An IRA is the more flexible retirement account for paying current graduate school costs, because the education exception waives the 10% additional tax on amounts used for qualified expenses that year. Income tax still applies to pre-tax money.

Route Income tax 10% additional tax before 59½ Penalty-free for old student loans?
401(k) withdrawal (non-hardship) Yes Yes, no education exception No
401(k) safe harbor hardship for tuition Yes Yes No, next 12 months of tuition only
401(k) plan loan No, if repaid No, if repaid Yes, it is not a distribution
IRA withdrawal for current-year education costs Yes, on pre-tax amounts No, up to adjusted qualified expenses No, current-year expenses only
Roth IRA contributions withdrawn No No Yes
529 plan distribution No, if qualified No, if qualified Up to $10,000 lifetime

Roth IRA contributions (not earnings) come out first and are not taxed or penalized, a point covered with examples in Roth IRA withdrawal rules. Before borrowing for a graduate degree at 8.07%, some students compare that cost with drawing on contributions they have already made.

How does a student loan payoff fit into Roth and retirement tax planning?

A large taxable withdrawal fills low brackets with income that buys no future tax benefit, which is the opposite of what a Roth conversion does. In the example above, $44,118 of 401(k) money is taxed at 22% plus 10% and leaves the tax-advantaged system for good.

The same bracket space could instead hold a planned conversion in a year when income dips, such as a sabbatical, a year of graduate study or a career change, as explained in Roth conversions in a low-income year. A financial professional can model whether a 401(k) loan, an income-based repayment plan, an employer match on loan payments or a phased payoff from cash flow leaves more after-tax retirement money than an early withdrawal.

Frequently asked questions

Can I use my 401(k) to pay off my child’s student loans?

Only through an ordinary distribution or a plan loan, with no special tax break. Before 59½ the withdrawal is taxable and generally owes the 10% additional tax, because the education exception applies to IRAs, not 401(k)s. A 529 plan can pay up to $10,000 of a beneficiary’s or sibling’s qualified student loans over a lifetime.

Does the IRA education exception cover paying off student loans?

No. IRS Publication 970 ties the exception to qualified education expenses you pay for the year of the distribution, such as tuition, fees, books and, for at least half-time students, room and board. Repaying a loan for school attended in earlier years is not a qualified education expense for this exception.

Is interest on a 401(k) loan deductible as student loan interest?

No. IRS Publication 970 says loans made under a qualified employer plan are not qualified student loans, so interest paid on a 401(k) loan is not deductible under the student loan interest deduction, even if the money paid off a student loan.

Can I take money out of my 401(k) for student loans while still employed?

Only if the plan allows an in-service distribution. Many plans limit in-service withdrawals to age 59½, hardship, or plan loans. Safe harbor hardship rules cover tuition for the next 12 months of postsecondary education, not repayment of existing student loans.

Does paying off federal student loans early affect Public Service Loan Forgiveness?

Yes. PSLF forgives the remaining Direct Loan balance after 120 qualifying monthly payments while working full time for a qualifying employer. A borrower who pays the balance off with retirement money has nothing left to forgive, so the potential tax-free PSLF discharge is given up.

What happens to a 401(k) loan used for student loans if I leave my job?

Many plans require the balance to be repaid at separation or offset it against the account. A plan loan offset due to severance can be rolled over until the due date, including extensions, of the tax return for the year of the offset. Any amount not rolled over is taxed and may owe the 10% additional tax.

Can my employer match my student loan payments in my 401(k)?

Yes, if the plan adopts the SECURE 2.0 feature. For plan years beginning after December 31, 2023, 401(k), 403(b), governmental 457(b) and SIMPLE IRA plans may treat qualified student loan payments like elective deferrals for matching. Eligible payments are capped at the 2026 deferral limit of $24,500 minus your own deferrals.

About the author: Craig Wear, CFP®, is a CERTIFIED FINANCIAL PLANNER™ professional at Q3 Advisors, a fee-only registered investment adviser focused on Roth conversions and retirement tax planning. Last reviewed: October 9, 2026.

Methodology: Rules and figures come from primary sources: the IRS exceptions table, hardship distribution and plan loan guidance, IRS Notice 2024-63, Rev. Proc. 2025-32, Publication 970, Form W-4R, the Taxpayer Advocate Service, Federal Student Aid and the U.S. Department of Education rate announcement, all checked October 9, 2026. Worked examples are hypothetical, use 2026 federal figures only, and exclude state tax. Because this is a financial topic, anonymous forum anecdotes were excluded.

This article is for educational purposes only and is not individualized investment, tax, or legal advice. Consult a qualified professional about your specific situation.

Craig Wear Craig Wear
Helping IRA Millionaires save $1 million (or more) in unnecessary taxes

Join our live webinar on Tuesday at 2 PM EST

How to Pay Taxes on Roth Conversions

The decision that quietly determines whether your Roth strategy actually works, or quietly reduces your long-term wealth.

  • The 5 ways IRA millionaires pay conversion taxes
  • Which methods quietly reduce your long-term wealth
  • How to avoid penalties and Medicare surprises

Free · ~60 minutes with CFP®s answering questions in live chat