Your 401(k) balance shows a number. You can see it. It has your name on it. You earned every dollar of it.
And while you still work there, you may not be able to touch any of it.
This is the part of retirement saving that feels wrong to people, and the reason is that a 401(k) is not really your account in the way a bank account is. It is an account held for you, inside a plan your employer wrote, governed by a document you have probably never read.
That document decides whether you can take money out while employed. Federal law sets the outer boundaries. Your employer decides how much of that space to actually use.
Which produces the answer nobody likes: it depends on your plan, and two people at different companies with identical circumstances get different answers.
But the possibilities are finite, there are five of them, and they are worth knowing before an emergency arrives and you are reading a plan document at midnight.
🔄 The five doors
Route | Available while working? | Taxed? | Penalty under 59½? |
|---|---|---|---|
Plan loan | If the plan offers it | No, if repaid | No, if repaid |
Hardship distribution | If the plan offers it | Yes | Usually yes |
In-service withdrawal after 59½ | Usually | Yes | Not applicable |
In-service withdrawal of after-tax money | If the plan offers it | Only the growth | On the growth |
Rollover of old employer money | Sometimes | No | No |
Read the first column. Four of the five say "if the plan offers it."
That is the whole story in one table. Federal law permits these. Your employer chooses.
The IRS 401(k) resource guide on general distribution rules sets out what is permitted, and your Summary Plan Description tells you what your plan actually does.
You are entitled to that document. The Department of Labor explains how to request it, and it takes one email to HR.
🔄 Door one: the loan
The most common route, and the most misunderstood.
A plan may allow you to borrow from your own balance. The general federal ceiling is the lesser of $50,000 or half your vested balance, and the IRS covers plan loan rules here.
Repayment usually runs five years, through payroll deduction, with interest that goes back into your own account.
That last detail is why people call it borrowing from yourself, and why it sounds better than it is.
Here is what it actually costs.
The money leaves the market. Whatever you borrow stops compounding for the life of the loan. In a strong market that cost dwarfs the interest you are paying yourself.
You repay with after-tax dollars. The money you contributed was pre-tax. You repay from your take-home pay, and it gets taxed again on the way out in retirement. A quiet double tax on the repayment portion.
Some plans stop your contributions during repayment. Which can mean forfeiting the employer match for the whole period. That is frequently the largest cost of all and almost nobody checks for it.
Leaving the job accelerates everything. Payroll deduction stops. The loan does not.
📌 What happens to the loan when you leave
This deserves its own section because it catches people at the worst moment, often during a layoff.
Many plans require repayment when employment ends. If you cannot repay, the outstanding balance gets offset against your account and treated as a distribution.
Taxable. And potentially subject to the ten percent additional tax if you are under 59½.
A tax bill on money you borrowed and already spent, arriving in a year you may have just lost your income.
There is real relief available, and it is worth knowing.
For a qualified plan loan offset caused by severance from employment or plan termination, the deadline to roll over that offset amount extends to your tax return due date for that year, including extensions.
That is far longer than the usual sixty days. It gives you months to find the money and put it into an IRA, which cancels the tax.
But you have to know it exists, and nobody sends a reminder. The 1099-R arrives in January and looks final.
Two practical rules follow.
If you have a plan loan and your job feels uncertain, treat accelerating repayment as a priority rather than a nice-to-have.
And if you are leaving voluntarily, work out the offset consequence before you give notice, not after. The full decision set is in 401(k) options after leaving your job.
🔄 Door two: hardship
A hardship distribution is a real withdrawal, not a loan. It does not get repaid.
Plans that offer it generally require an immediate and heavy financial need, and permitted reasons typically include certain medical expenses, purchase of a principal residence, tuition, preventing eviction or foreclosure, funeral costs, and certain disaster-related repairs.
Now the part people miss.
A hardship distribution is still taxable, and the ten percent additional tax usually still applies.
Qualifying as a hardship gets you access. It does not get you a tax break.
So someone taking $30,000 for a medical crisis, in a year they already have income, can lose a third of it to tax and penalty before the money reaches the problem.
Some of the underlying expenses have their own penalty exceptions, unreimbursed medical costs above a threshold being the clearest. But the exception and the hardship rules are separate tests, and qualifying for one does not mean qualifying for the other. The exception list is here.
Which is why a hardship withdrawal should usually be the last option considered, after a loan, after any other liquidity, and after an honest look at whether the expense can be financed some other way.
⏳ Door three: age 59½
The cleanest door, and the one people do not realize exists.
Once you reach 59½, many plans permit in-service withdrawals even though you are still employed. The ten percent additional tax no longer applies, though the money is still ordinary income.
This opens a planning window that most people walk straight past.
Someone who is 61 and still working can potentially move money out of a mediocre plan and into an IRA with better investments and lower costs, without leaving the job.
Or they can convert some of it to Roth during years they control, rather than waiting until required withdrawals force the pace at 73.
Two cautions.
Moving money into a traditional IRA creates a pre-tax IRA balance, which blocks a clean backdoor Roth through the pro-rata rule. If that matters to you, think first. Explained in how a backdoor Roth actually works.
And employer plan assets carry strong federal creditor protection that IRA money may not, depending on your state.
🔄 Doors four and five
After-tax money.
If your plan accepts non-Roth after-tax contributions, it often also allows those to be withdrawn while employed. Your contributions come out without tax, since you already paid it. Only the growth is taxable.
This is the engine behind a much larger strategy, covered in rolling after-tax 401(k) money into a Roth IRA.
It is worth knowing separately, because it means some people have accessible money in the plan they did not realize was accessible.
Rolled-in money from a previous employer.
Some plans treat money you rolled in from an old job differently from money you contributed at this one, and permit in-service withdrawal of that portion.
Rarely advertised. Worth asking about specifically if you rolled an old plan in.
📌 Can you keep contributing after taking money out?
A question people ask constantly, and the answers differ by route.
What you did | Can you keep contributing? | Does the match continue? |
|---|---|---|
Took a plan loan | Usually yes | Usually, but some plans suspend it |
Took a hardship distribution | Yes, under current rules | Yes |
In-service withdrawal after 59½ | Yes | Yes |
Withdrew after-tax money | Yes | Yes |
The hardship row reflects a genuine change. Plans used to be required to suspend contributions for six months after a hardship distribution, and that suspension requirement was removed.
A lot of advice still circulating predates that change. If someone tells you a hardship withdrawal freezes your contributions for half a year, they are working from an old rulebook.
The loan row is the one to verify with your own plan. Some plans do suspend contributions during repayment, and if yours does, the forfeited match usually makes the loan far more expensive than the interest rate suggests.
Ask specifically: does taking a loan affect my ability to contribute or my eligibility for the match?
💰 What it actually costs
Numbers make this concrete. Someone 45, in a 24 percent bracket, needs $25,000.
Hardship withdrawal | Plan loan | |
|---|---|---|
Gross amount needed | About $37,900 | $25,000 |
Federal tax at 24% | About $9,100 | $0 |
Additional 10% tax | About $3,800 | $0 |
Cash in hand | $25,000 | $25,000 |
Leaves the account permanently | $37,900 | $0, if repaid |
Value of that at 65, at 7% | About $205,000 forgone | Partially recovered |
To get $25,000 into your hands, a hardship withdrawal has to pull roughly $37,900 out of the account, and that is before state tax.
The bottom row is the one that should stop people. That withdrawal is not costing $12,900 in tax. It is costing the two hundred thousand dollars those shares would have become.
The loan looks far better in this comparison, and usually is, provided you repay it and your job is stable.
The two ways the loan turns bad are leaving the job before repayment, and a plan that suspends your match while you repay. Check both before deciding.
📌 Rachel needed $18,000
She is 43, earns $96,000, and her furnace and roof failed in the same winter. She has $214,000 in her 401(k) and about $2,000 in savings.
Three options were actually available to her.
Hardship withdrawal. To net $18,000 in a 22 percent bracket with the ten percent additional tax, she would need to withdraw roughly $26,500 before state tax.
That $26,500 leaves the account forever. At seven percent over the 22 years until she is 65, those shares would have become roughly $118,000.
So an $18,000 repair costs her about $118,000 of retirement.
Plan loan. She borrows $18,000 and repays over five years through payroll. The interest goes back to her own account.
The real cost is the growth she misses while the balance is out, plus repaying with after-tax dollars. Meaningful, but a fraction of the withdrawal.
Then she checks the one thing most people skip, and finds her plan suspends the employer match during loan repayment. Her match is four percent of salary, roughly $3,840 a year, so five years of repayment forfeits about $19,200 of free money.
That single provision makes her loan cost more than the repair.
Home equity. She has equity and decent credit. A line of credit costs her interest, and nothing leaves the retirement account.
Once the match suspension came to light, the third option won easily.
Notice what decided it. Not the interest rate, not the tax bracket, and not any general rule about loans versus withdrawals.
It was one sentence in a plan document, which she found by sending an email.
Had her plan not suspended the match, the loan would likely have been the right answer. Two people in identical circumstances, at different employers, correctly reach opposite conclusions.
That is the honest shape of this subject, and it is why the generic advice you find online is close to useless without your own plan document in front of you.
✅ What to do instead, honestly
Before any of these five doors, exhaust the alternatives, because almost all of them are cheaper.
An emergency fund is the obvious one, and the one people have already spent by the time they read this.
A home equity line, if you have equity, generally costs less in total than a hardship withdrawal once tax and forgone growth are counted.
Roth IRA contributions can be withdrawn without tax or penalty under the ordering rules, which makes a Roth IRA a genuine backstop in a way a 401(k) is not. Covered in withdrawing from a Roth IRA without paying tax.
Negotiating with the creditor, medical billing office or tax authority is unglamorous and frequently works better than any of the above.
And if the need is genuine and none of these exist, a plan loan usually beats a hardship withdrawal by a wide margin.
The ranking, roughly: other liquidity, then Roth IRA contributions, then a plan loan, then a hardship withdrawal last.
🔍 The newer exceptions worth knowing
Several narrower withdrawal routes have been added in recent years, and most people have not heard of them. They are small, but they avoid the penalty layer.
Emergency personal expenses. Plans may permit one modest withdrawal per year for unforeseeable emergency needs, without the ten percent additional tax. It can be repaid within a set period.
Domestic abuse survivors. A penalty-free withdrawal is permitted for victims of domestic abuse, up to a capped amount, with a repayment option.
Terminal illness. A distribution to someone certified as terminally ill can avoid the additional tax.
Federally declared disasters. Qualified disaster recovery distributions can avoid the penalty and allow the income to be spread over three years, with repayment permitted.
Long-term care. A limited penalty-free distribution for certain long-term care insurance premiums exists as well.
Two things to understand about all of these.
They remove the ten percent additional tax. They do not make the money tax-free. Ordinary income tax still applies to pre-tax money.
And most of them are optional plan features. The law permits them. Your plan decides.
The broader list of circumstances that avoid the additional tax, including substantially equal periodic payments and certain medical costs, is on the IRS exceptions page, and it is worth reading before assuming a withdrawal will be penalized.
🤔 Six questions to ask HR, word for word
Do this before you need an answer. The whole point is to know your options while you are calm.
"Does the plan permit participant loans, and what is the maximum?" Also ask how many loans can be outstanding at once, since some plans allow only one.
"If I take a loan, do my contributions continue, and does the match continue?" This is the question that changes the cost of a loan more than the interest rate does.
"Does the plan permit hardship distributions, and for which reasons?" Plans can be narrower than federal law allows.
"Does the plan permit in-service withdrawals after age 59½?" Most do. Confirm, because this is the cheapest door and people assume it is closed.
"Can I withdraw money I rolled in from a previous employer while still working?" Rarely advertised, sometimes available.
"If I leave with an outstanding loan, what is the repayment deadline?" Ask for it in writing. This is the number that turns a layoff into a tax bill.
Email these rather than calling, so the answers are documented. A benefits representative saying something on the phone is not the same as the plan document, and the plan document wins.
If HR is slow, request the Summary Plan Description directly. You have a legal right to it, and the loan and distribution provisions are in there in plain language.
✅ One thing worth doing this week
Find out whether your plan allows loans and whether taking one suspends your match.
Two facts, one email, five minutes.
Because the moment you actually need this information, you will be making the decision under pressure, probably in a bad week, and the difference between the cheapest door and the most expensive one is frequently six figures measured over the rest of your career.
The people who handle a financial emergency well are almost never the ones who researched their options during it.
🔍 The edge cases
You are 55 or older and about to leave. Waiting until you separate can be dramatically cheaper. Separation from service in or after the year you turn 55 can avoid the ten percent tax on distributions from that plan. A hardship withdrawal at 54 and a post-separation withdrawal at 55 are taxed very differently.
Your money is Roth 401(k) money. Distributions come out pro-rata between contributions and earnings, not contributions first. You cannot cherry-pick the safe portion the way you can in a Roth IRA.
You have an old 401(k) at a former employer. Different rules entirely, and often more accessible. Check there before touching the current plan.
You are married. Some plans require spousal consent for certain distributions.
You have a government 457(b). Those have their own, generally more flexible, distribution rules and are not subject to the ten percent additional tax after separation.
Your plan is terminating. Plan termination is itself a distributable event, and it generally makes you fully vested.
You are considering substantially equal periodic payments. This avoids the penalty but locks you into a fixed schedule for years, and breaking it retroactively applies penalties to everything. Not a casual option.
🏁 The bottom line
Whether you can take money from a 401(k) while still working is not a question about the law. It is a question about your employer's plan document.
Five doors exist. Four of them are optional features your employer chose to include or leave out.
The loan is usually the least damaging, provided you repay it, your job is stable, and your plan does not suspend the match while you repay.
The hardship withdrawal is the most expensive thing in this article. It is taxable, usually penalized, permanent, and it costs far more in forgone growth than the tax bill suggests.
Past 59½ the picture changes entirely, and a door opens that most people do not know is there.
Before any of it, one email to HR asking for the Summary Plan Description tells you which doors exist for you.
Read it now, while nothing is wrong. That is the whole recommendation.
Because the version of this where you find out during an emergency, at midnight, from a customer service representative reading a script, goes considerably worse.
See you next issue. 🪙
This is general education, not financial, tax or legal advice. Loan limits, hardship criteria, in-service withdrawal provisions, penalty exceptions, plan loan offset deadlines and spousal consent requirements are set by federal law and individual plan documents, and both change over time. Most of the routes described here are optional plan features. Read your Summary Plan Description and speak to a tax professional before taking money out.
Sources: IRS guidance on the 401(k) resource guide for plan participants and general distribution rules, plan loans, hardship distributions, exceptions to the tax on early distributions, and rollovers of retirement plan and IRA distributions; U.S. Department of Labor Employee Benefits Security Administration materials on what you should know about your retirement plan.

