You can withdraw from your 401(k) while still working, but whether it’s clean or costly depends on your age, your plan’s rules, and the reason for the withdrawal. Workers who have reached age 59½ face the fewest restrictions. Everyone else has to fit through a narrower door: a hardship distribution, one of the newer penalty-free exceptions created by the SECURE 2.0 Act, or a 401(k) loan. Every option except a properly repaid loan triggers income tax, and most paths for workers under 59½ add a 10% early withdrawal penalty on top.
After Age 59½
Federal law drops the 10% early withdrawal penalty once you reach age 59½.1Office of the Law Revision Counsel. 26 U.S. Code 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts This is the cleanest way to pull money out while still on the payroll, but there is a catch. Your specific plan has to permit in-service distributions at this age. Federal law allows them; it doesn’t require employers to offer them. If your plan document doesn’t include this option, you’re stuck until you separate from service or the plan is amended.
Even when the plan cooperates, the full amount comes out as ordinary taxable income for the year. That extra income can push you into a higher bracket, so a large lump sum in December looks very different from smaller withdrawals spaced across two calendar years. Some plans also cap how often you can take these distributions or require a minimum balance to stay in the account. Check your plan’s Summary Plan Description before you count on a specific schedule.
Roth 401(k) Money
If your 401(k) includes a Roth account funded with after-tax contributions, the math changes. Your contributions come back tax-free because you already paid taxes on them going in. The earnings are also tax-free, but only if the withdrawal is a “qualified distribution,” meaning you’ve hit age 59½ and at least five years have passed since your first Roth contribution to that plan.2Internal Revenue Service. Roth Account in Your Retirement Plan Miss either requirement and the earnings portion gets taxed as ordinary income.
Hardship Distributions Before 59½
For workers under 59½, the most established route to early access is the hardship distribution. Federal regulations require you to show an “immediate and heavy financial need” and limit withdrawals to a specific list of qualifying expenses.3eCFR. 26 CFR 1.401(k)-1 – Certain Cash or Deferred Arrangements You can only take out what you actually need to cover the expense, including any taxes and penalties the withdrawal itself generates.
The IRS safe harbor expenses that automatically satisfy the “immediate and heavy” test are:
- Unreimbursed medical costs for you, your spouse, dependents, or a primary plan beneficiary. There is no minimum dollar threshold for the distribution itself; the regulation explicitly says the 7.5%-of-AGI floor that applies to the medical expense tax deduction does not apply here.3eCFR. 26 CFR 1.401(k)-1 – Certain Cash or Deferred Arrangements
- Costs directly related to buying a primary residence. Regular mortgage payments don’t qualify.
- Tuition, fees, and room and board for the next 12 months of post-secondary education for you, your spouse, children, or dependents.
- Payments needed to stop eviction from, or foreclosure on, your primary residence.
- Burial or funeral costs for a parent, spouse, child, dependent, or primary plan beneficiary.
- Certain repairs to damage at your primary residence that would qualify as a casualty loss.
The penalty picture is where things get expensive. Unless you qualify for a separate penalty exception, you’ll owe the standard 10% early withdrawal penalty on top of regular income tax.4Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs One narrow exception: if your hardship withdrawal covers medical expenses that exceed 7.5% of your adjusted gross income, the 10% penalty is waived on that portion.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions So you can take the hardship distribution for a $2,000 dental bill regardless of your income, but you’ll only dodge the penalty if your total unreimbursed medical costs clear the 7.5% AGI bar.
Penalty-Free Categories Under SECURE 2.0
The SECURE 2.0 Act, which took effect in stages starting in 2023, created several new penalty-free withdrawal categories that didn’t exist a few years ago. Not every employer has updated its plan to include these options, so availability depends on your plan administrator. When offered, they let workers under 59½ access funds without the 10% penalty. Income tax still applies.
Emergency Personal Expense
You can withdraw up to $1,000 per calendar year for unforeseeable personal or family emergency expenses, with no need to document the specific emergency. The withdrawal is self-certified.6Internal Revenue Service. Notice 2024-55 – Certain Exceptions to the 10 Percent Additional Tax Under Code Section 72(t) The amount can’t exceed $1,000 or the excess of your vested balance over $1,000, whichever is less. You have three years to repay the amount, and if you don’t, you must wait until the three-year window closes before taking another emergency withdrawal.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The $1,000 cap is not indexed for inflation.
Domestic Abuse
A person who has experienced domestic abuse from a spouse or domestic partner within the past 12 months can withdraw the lesser of $10,000 (indexed for inflation) or 50% of their vested account balance without the 10% penalty.5Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions Like the emergency withdrawal, this is self-certified; the plan cannot require proof of abuse. The distribution is taxable, but you can repay it within three years and recoup the taxes paid.
Terminal Illness
Workers diagnosed with a condition reasonably expected to result in death within seven years can take distributions of any amount without the 10% penalty. A physician (MD or DO) must certify the illness and give the plan administrator documentation including the expected prognosis and the date of examination. Self-certification is not allowed here. The distribution is taxable but can be repaid within three years if the participant’s condition improves.
Federally Declared Disaster
If you live or work in a federally declared disaster area, you can withdraw up to $22,000 per disaster without the 10% penalty. The income can be spread across three tax years, and you have three years to repay the amount if you choose.
Birth or Adoption
Within one year of a child’s birth or a finalized adoption, each parent can withdraw up to $5,000 per child without the 10% penalty.4Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs The amount can be repaid to the plan at any point, with no fixed deadline.
401(k) Loans
Borrowing from your own account is structurally different from a withdrawal because, if everything goes according to plan, the money goes back. A 401(k) loan doesn’t trigger income tax or the 10% penalty as long as you follow the repayment schedule.1Office of the Law Revision Counsel. 26 U.S. Code 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts The maximum you can borrow is the lesser of $50,000 or 50% of your vested balance. If your vested balance is under $20,000, you can still borrow up to $10,000 even though that exceeds the 50% threshold. One wrinkle people miss: the $50,000 cap is reduced by the highest outstanding loan balance you carried during the previous 12 months, so paying off a prior loan doesn’t immediately restore the full limit.
Repayment must happen within five years through payroll deductions, with interest typically set around the prime rate plus one percentage point. That interest goes back into your own account. Loans used to buy a primary residence can stretch beyond five years, though the exact term depends on the plan.
If You Leave Your Job With a Loan Outstanding
This is where most 401(k) loans go sideways. When you separate from your employer with an unpaid balance, the plan typically treats the remaining amount as a distribution. The IRS calls this a “plan loan offset,” and it gets taxed as ordinary income with a potential 10% penalty if you’re under 59½. You can avoid the tax hit by rolling the offset amount into an IRA, but the deadline is your tax filing due date for that year, including extensions.7Internal Revenue Service. Plan Loan Offsets That usually means October 15 if you file an extension, which buys meaningful time to pull together the cash. Miss the deadline and the full outstanding balance becomes taxable income.
What You’ll Owe at Tax Time
The tax treatment depends on the type of distribution. For hardship distributions, the default federal withholding is 10% of the total amount, but you can elect out of withholding entirely. That 10% is a prepayment toward your actual tax bill, not a separate charge. For non-hardship in-service distributions that qualify as eligible rollover distributions (like an age 59½ withdrawal you don’t roll directly into an IRA), withholding jumps to a mandatory 20% that you cannot opt out of.8eCFR. 26 CFR 31.3405(c)-1 – Withholding on Eligible Rollover Distributions; Questions and Answers Either way, your actual liability depends on your total income for the year, so the withholding may be too much or too little.
State income taxes add another layer. Most states tax 401(k) distributions as ordinary income, with rates ranging from zero in states without an income tax up to above 13% in the highest-tax states. A handful of states offer partial exemptions for retirement income, so the effective rate may be lower than the headline bracket.
In January or February of the year after your withdrawal, your plan administrator will issue Form 1099-R showing the distribution amount, the taxable portion, and any federal taxes withheld.9Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498 You’ll need that form to file your return accurately. Keep it with your tax records for at least three years.
What the Withdrawal Really Costs
The taxes and penalties get all the attention, but the deeper cost is the compound growth you forfeit. A $10,000 withdrawal at age 35 doesn’t just cost $10,000. At a 7% average annual return, that money would have grown to roughly $76,000 by age 65. The penalty and income taxes on the withdrawal might run $3,000 to $4,000, but the lost growth dwarfs both.
Rebuilding is slower than most people expect. You can’t just dump a lump sum back in. The 2026 employee contribution limit is $24,500, with an additional $8,000 in catch-up contributions if you’re 50 or older, or $11,250 if you’re between 60 and 63.10Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500 If you’re already maxing out contributions, there’s no way to accelerate replacement of withdrawn funds. Plans can no longer suspend your contributions after a hardship withdrawal (that rule ended after 2019), but any period where you reduce contributions to cover the underlying financial need still means lost employer matching dollars.11Internal Revenue Service. Retirement Plans FAQs Regarding Hardship Distributions
How to Request the Withdrawal
Start with your plan’s Summary Plan Description. It spells out which distribution types your employer actually offers, along with any plan-specific fees or waiting periods. Your HR department or the plan administrator’s website should have this document available. Not every plan permits every option discussed above, so confirming eligibility before you gather paperwork saves time.
Once you know your plan supports the distribution you need, request the appropriate withdrawal or loan application from the plan administrator’s portal. The application will ask for basic identifying information, the dollar amount, and how you want the funds delivered. For hardship distributions, you’ll also need third-party evidence of the qualifying expense: medical bills for health-related withdrawals, a foreclosure or eviction notice for housing emergencies, a signed purchase contract for a home buy, or tuition bills for education expenses. The amount you request has to match the documented need.
After you submit the application and supporting documents, usually through the administrator’s secure online portal, expect a review period of roughly five to ten business days. The administrator verifies your balance, confirms the documentation meets the plan’s requirements, then disburses funds by direct deposit or check. Monitor your account afterward to confirm the correct amount was deducted and, if you took a loan, that the repayment schedule is properly set up in your employer’s payroll system.