You can roll over a 401(k) while still employed if you’re at least 59½ and your employer’s plan document permits it. Some contribution types — after-tax contributions and money you previously rolled in from another plan — may be available even earlier. Your own paycheck contributions, though, are generally locked in until you hit that age or leave the job.
When Federal Law Lets You Take an In-Service Distribution
The controlling statute is 26 U.S.C. § 401(a)(36), which confirms that a pension plan doesn’t lose its tax-qualified status just because it distributes money to employees who have reached age 59½ and are still working.1Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans The statute permits the distribution; it doesn’t force any plan to offer one.
For your 401(k) elective deferrals specifically — the money withheld from your paycheck — § 401(k)(2)(B)(i) is stricter. Those dollars generally can’t come out until you separate from service, become disabled, die, or, in a profit-sharing or stock bonus plan, reach 59½.1Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans Under 59½ and still working, your pre-tax deferrals and Roth 401(k) contributions are typically stuck inside the plan.
Your Plan Document Has the Final Say
Federal law sets the ceiling. Your employer’s plan document sets the actual rules. If the plan doesn’t authorize in-service rollovers, you can’t do one, no matter how old you are or what kind of money you have inside.
Plans often add their own restrictions on top of the federal floor. Common ones include a minimum age higher than 59½, a years-of-service requirement (for example, five years of plan participation before any in-service distribution), dollar minimums or maximums per transfer, and limits that restrict in-service withdrawals to hardship situations rather than general rollovers.
Every employer is required to provide a Summary Plan Description, a plain-language version of the plan’s rules. Ask HR or the plan administrator for a current copy before you do anything else. If the document was written years ago, it may contain provisions that no longer reflect current law — the six-month contribution suspension after a hardship withdrawal, for instance, was eliminated for plan years beginning after 2019.2Internal Revenue Service. Correct Common Hardship Distribution Errors
Which Dollars in Your Account Can Actually Move
Not every dollar in a 401(k) follows the same rules. Which contributions you can roll out depends on how they got there and whether they’re vested.
- Elective deferrals (pre-tax and Roth). Your own paycheck contributions. Generally restricted until 59½, separation from service, disability, or death.
- Employer matching and profit-sharing contributions. Potentially available for in-service rollover before 59½ if the plan permits it and the money is fully vested. Vesting schedules vary; some plans require up to six years of service before employer contributions belong entirely to you.
- After-tax (non-Roth) contributions. If your plan accepts voluntary after-tax contributions, these are usually the most portable. They aren’t elective deferrals, so the 59½ restriction doesn’t apply, and many plans allow withdrawal of after-tax contributions at any time. This is the mechanism behind the “mega backdoor Roth” strategy.
- Rollover contributions. Money you rolled into your current 401(k) from a previous plan can often be distributed at any time, provided the plan tracks it in a separate account. IRS Revenue Ruling 2004-12 confirms that rollover contributions held separately aren’t subject to the same timing restrictions as other plan assets.3Internal Revenue Service. Rev. Rul. 2004-12
Vesting is a hard gate. Unvested employer contributions stay in the plan no matter what federal law or your plan document says about timing.
Direct Rollover vs. Indirect Rollover
How the money physically travels matters. Pick the wrong method and you can end up with a tax bill you didn’t expect.
Direct (Trustee-to-Trustee) Rollover
In a direct rollover, your plan administrator sends the funds straight to the receiving IRA or plan. Nothing is withheld and the money never touches your bank account.4Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions The administrator may mail a physical check, but if it’s made payable to the new custodian for your benefit (something like “Fidelity FBO [Your Name]”), it still counts as direct because it isn’t payable to you. This is the safest option.
Indirect (60-Day) Rollover
In an indirect rollover, the plan distributes the money to you. Federal rules require the administrator to withhold 20% for federal income taxes before cutting the check.5eCFR. 26 CFR 31.3405(c)-1 – Withholding on Eligible Rollover Distributions You then have 60 days to deposit the full original amount, including the withheld 20%, into an IRA or another qualified plan.4Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions
Here’s the catch. To roll the full amount, you have to come up with the withheld 20% out of your own pocket. Deposit only the 80% you received and the IRS treats the missing chunk as a taxable distribution. If you’re under 59½, that portion also gets hit with the additional 10% early withdrawal penalty under 26 U.S.C. § 72(t).6Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts You’ll recover the withheld 20% as a credit when you file, but only if the rollover was completed in full.
Miss the 60-day window and the entire distribution becomes taxable income for the year, plus the 10% penalty if you’re under 59½.4Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions The IRS can waive the deadline in narrow circumstances, such as a natural disaster, hospitalization, or postal error, but you have to apply for the waiver.
Rolling Pre-Tax 401(k) Money Into a Roth IRA
You’re allowed to roll pre-tax 401(k) money directly into a Roth IRA, but the converted amount gets added to your taxable income for the year and taxed at ordinary rates.7Internal Revenue Service. Topic No. 413, Rollovers From Retirement Plans A large conversion can shove you into a higher bracket, which is why many people spread conversions over several years.
The tax bill only shows up when money crosses from a pre-tax account to a Roth account. Pre-tax 401(k) to traditional IRA is tax-free. Roth 401(k) to Roth IRA is tax-free.
After-tax (non-Roth) 401(k) contributions are a hybrid. The contributions themselves have already been taxed, so moving them to a Roth IRA is generally tax-free. Any earnings on those after-tax contributions haven’t been taxed and are taxable on conversion. Many administrators can split the distribution, routing the after-tax contributions to a Roth IRA and the earnings to a traditional IRA.
What You May Give Up by Leaving the Plan
Net Unrealized Appreciation on Company Stock
If your 401(k) holds stock in your employer, rolling it into an IRA can cost you a valuable tax break. Under 26 U.S.C. § 402(e)(4), a lump-sum distribution of employer securities lets you exclude the net unrealized appreciation — the gap between the stock’s original cost and its current market value — from your gross income at distribution.8Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust You pay ordinary income tax only on the original cost basis, and the appreciation is taxed at long-term capital gains rates when you eventually sell the shares.
To qualify, the distribution has to be a true lump-sum: the entire balance from all of your employer’s plans of the same type, taken within a single tax year. You also need a triggering event, which for someone still working means reaching 59½.8Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust
Roll the employer stock into an IRA and the NUA benefit disappears permanently. Every dollar, cost basis and appreciation alike, will come out of the IRA as ordinary income. For a large block of highly appreciated employer stock, the difference between long-term capital gains rates (typically 15–20%) and ordinary income rates (potentially 22–37%) can be tens of thousands of dollars.
Creditor Protection
ERISA shields benefits in a qualified employer plan from assignment or seizure by creditors, including in lawsuits, judgments, and bankruptcy, with narrow exceptions for federal tax levies and qualified domestic relations orders.9Office of the Law Revision Counsel. 29 USC 1056 – Form and Payment of Benefits IRAs don’t get that same blanket federal protection.
In bankruptcy, traditional and Roth IRA balances are protected up to an inflation-adjusted cap, currently $1,711,975 as of April 2025. Amounts above the cap become part of the bankruptcy estate. Outside bankruptcy, IRA protection depends entirely on state law and varies widely.
There’s an exception worth knowing about: funds rolled from a qualified employer plan into an IRA generally keep unlimited bankruptcy protection, as long as you can trace them back to the original plan. That enhanced protection is bankruptcy-only, though. In a garden-variety lawsuit or judgment, your state’s rules govern and the rollover origin may not help. If you have significant assets or work in a high-liability profession, weigh this before moving anything.
How to Actually Execute the Rollover
Once you’ve confirmed the plan allows it and you’ve decided where the money is going, the mechanics are straightforward.
- Open the receiving account first. Set up the IRA or destination retirement account before you request the distribution. You’ll need the account number and the custodian’s full legal name and mailing address for the paperwork.
- Request the distribution form. Contact your plan administrator or log into the participant portal. The form, often called an In-Service Distribution Request, will ask for the receiving account information, “For Further Credit” routing instructions, and your election of direct or indirect rollover.
- Choose direct rollover. Selecting the trustee-to-trustee option avoids the 20% mandatory withholding. The form will still ask about withholding elections; for a direct rollover, federal withholding is typically zero.
- Submit and track. Most administrators accept digital submissions; some still require fax or certified mail. After processing, the administrator liquidates the relevant assets, which usually takes two to three business days, and then issues the transfer.
Total time from submission to funds appearing at the new custodian generally runs one to three weeks. A mailed physical check adds several days. Some providers offer overnight shipping for a fee, and some administrators charge a distribution processing fee.
Reporting the Rollover at Tax Time
Your plan administrator will report the distribution on IRS Form 1099-R, which arrives by the end of January following the year of the rollover.10Internal Revenue Service. About Form 1099-R, Distributions From Pensions, Annuities, Retirement or Profit-Sharing Plans, IRAs, Insurance Contracts, Etc. A direct rollover is typically coded “G,” which tells the IRS no tax is owed on the transfer.
Even a tax-free direct rollover has to be reported. You list the gross distribution amount and enter the taxable portion, which is zero for a qualified direct rollover to a traditional IRA. If you did a Roth conversion, the taxable amount reflects the pre-tax dollars that moved into the Roth. Keep the 1099-R and confirmation statements from both custodians; the IRS may ask for documentation to verify the rollover.