Most people think their 401(k) is locked until they leave the employer or retire. That isn’t always true. Many plans let you move some or all of your 401(k) to an IRA while you still work there, using what’s called an in-service rollover. Done as a direct rollover, it’s tax-free and penalty-free.
Why move it? Usually for more investment choices and lower costs. A 401(k) typically limits you to a short menu of mutual funds or target-date funds. An IRA can hold almost anything you choose, from index funds to real estate and private companies in a self-directed IRA.
These rules aren’t complicated, but nobody at your company is going to call and tell you they apply. Mat Sorensen, CEO of Directed IRA and tax attorney, walks through the three ways out of a 401(k) in the video below.
The Three Doors Out of a 401(k)
Three things decide whether you can move your 401(k) money: your age, whether you still work for the employer, and the type of money in the account.
- Any age
- All of your vested balance
- Roll it to an IRA or your new employer’s 401(k)
- All of your vested balance, including your own contributions
- You can keep contributing and getting the match
- Optional: the plan has to allow it
- Vested employer contributions
- Money rolled in from an old 401(k)
- After-tax contributions
- Not your own contributions, and only if the plan allows it
Door 1: You Left the Job
This is the one most people know. Once you no longer work for the employer, the whole vested balance can move: to an IRA, or to your new employer’s 401(k). There’s no deadline, either. You can roll over a 401(k) from a job you left years ago whenever you want.
Each kind of money goes to its match. Say you leave with $100,000 in Roth 401(k) money and $200,000 in pre-tax money. The Roth dollars roll to a Roth IRA, and the pre-tax dollars roll to a traditional IRA.
Hypothetical example. Roth 401(k) money can only go to a Roth IRA or another Roth 401(k); pre-tax money goes to a traditional IRA unless you choose to convert it and pay the tax.
Use a direct rollover, where the plan sends the money straight to the new IRA. It’s reported correctly on your 1099-R, and nothing is taxed. If the plan pays you instead, it has to withhold 20% for taxes, and you have 60 days to deposit the full amount, including the withheld 20% from your own pocket, or the shortfall becomes taxable.
Costs are often the deciding factor. If your 401(k) costs 1.3% a year all-in and an IRA costs 0.1%, that difference adds up fast:
Hypothetical illustration, not a prediction: a constant 7% return before costs, compounded yearly with no new contributions. Plan and IRA costs vary widely, so check your plan’s fee disclosure. The gap here is about $83,000.
Door 2: You’re 59½ and Still Working
Once you reach 59½, most plans let you take an in-service distribution of your entire vested balance, including your own contributions, the employer match, and the growth, even though you still work there. Roll it directly to an IRA, and there’s no tax and no penalty.
Rolling money out doesn’t end your participation, either. You can keep contributing, keep getting the match, and do another in-service rollover later.
Two cautions. First, this is an optional plan feature, so your plan has to allow it. Most do, but check. Second, the first person you reach at the 401(k) administrator may tell you it can’t be done, or that it’s taxed. Ask for the team lead or the department that actually processes in-service rollovers, and loop in HR if you need to.
Door 3: You’re Under 59½ and Still Working
This door is the least known and the hardest to get through, but it can unlock real money for people in their 30s, 40s, and 50s.
Start with what can’t come out: your own contributions, sometimes called salary deferrals, whether pre-tax or Roth. The tax code locks those until you leave the job or reach 59½. Safe harbor employer contributions are locked the same way.
Three other kinds of money often can come out, if your plan allows it:
- Vested employer contributions. Matching and profit-sharing dollars your employer put in, once they’ve vested.
- Money rolled in from an old 401(k). If you rolled a prior employer’s 401(k) into your current plan, those dollars can often be rolled back out.
- After-tax contributions. These can go to a Roth IRA, which is how the mega backdoor Roth works.
Here’s how that can add up for someone who has never thought about it:
- Vested employer match and profit sharing$100,000
- Money rolled in from an old 401(k)$25,000
- After-tax contributions$25,000
- Your own contributions, pre-tax and Roth$150,000
Hypothetical example. Employer money must be vested, and each plan decides which of these money types it releases while you still work there.
The catch is the plan document. To find out what your plan allows, get the summary plan description and look for a section on in-service withdrawals or in-service distributions. If it’s unclear, ask the plan administrator directly which money types are eligible. This can take persistence. People who keep asking sometimes find six figures they could have moved years earlier.
| Type of 401(k) money | Under 59½, still working | 59½ or older, still working |
|---|---|---|
| Your own contributions (pre-tax and Roth) | Locked | If the plan allows |
| Safe harbor employer contributions | Locked, same as your own | If the plan allows |
| Other vested employer match and profit sharing | Often, if the plan allows | If the plan allows |
| Money rolled in from an old 401(k) | Often, if the plan allows | If the plan allows |
| After-tax contributions | Often, if the plan allows | If the plan allows |
Every row depends on your plan document. The summary plan description lists which money types can come out while you work there, usually under “in-service withdrawals” or “in-service distributions.”
When to Leave Money in the 401(k)
An IRA usually wins on investment choices and cost, but there are a few cases where keeping money in the 401(k) makes sense:
- You’ll retire between 55 and 59½. If you leave your job in or after the year you turn 55, you can take money from that employer’s 401(k) without the 10% early withdrawal penalty, though pre-tax money is still taxed. Roll it to an IRA, and you’d generally have to wait until 59½ to avoid the penalty.
- You might need a loan. Many 401(k)s let you borrow up to half your vested balance, capped at $50,000, and repay it over five years. IRAs don’t allow loans.
- You hold your employer’s stock. Company stock in a 401(k) can qualify for special tax treatment on its growth, called net unrealized appreciation. Rolling the shares into an IRA gives that up, so get advice first.
- You do a backdoor Roth IRA every year. Pre-tax money in a traditional IRA triggers the pro-rata rule and makes part of each backdoor Roth conversion taxable. Pre-tax money in a 401(k) doesn’t, so rolling it into a traditional IRA can cost you.
For most people, those are edge cases. The general rule holds: an IRA usually means more choices and lower costs.
How to Do It
Find the section on in-service withdrawals or distributions.
Ask for the team that processes in-service rollovers, not just the first person who answers.
Match each kind of money to the right IRA before you request the rollover.
Have the money sent straight to the new IRA so nothing is withheld or taxed.
The plan documents are probably sitting in an HR folder you were handed when you enrolled. Nobody is going to tell you when you turn 59½, or that you have vested employer money or old 401(k) dollars you could move. The rule works for the people who go looking.
The Bottom Line
Your 401(k) isn’t necessarily locked until you retire. If you’ve left the job, you can move it anytime. If you’re 59½ and still working, you can likely move all of it. And if you’re younger, vested employer money, old 401(k) dollars, and after-tax contributions may be able to move now. Check your plan document, use a direct rollover, and match each kind of money to the right IRA.
And if you want that IRA to invest in more than a fund menu, it can own real estate, private funds, startups, crypto, and other assets you know. That’s what Directed IRA does every day. Mat Sorensen also compares the two kinds of Roth accounts in Roth IRA vs Roth 401(k): 5 Differences That Cost People Money.

What to know before you move a 401(k) or IRA into a self-directed IRA, including the forms, timing, and mistakes to avoid.
Download the Free GuideOr book a free 15-minute callDirected IRA is a Tradename of Directed Trust Company. Directed Trust Company performs the duties of a directed custodian, and as such does not provide due diligence to third parties on prospective investments, platforms, sponsors or service providers and does not sell investments or provide investment, legal, or tax advice.