Yes, rolling over a 401(k) while still employed is allowed under federal law, but only if two things line up: you’re at least 59½ (or you want to move a type of money that isn’t subject to that age restriction), and your employer’s plan document actually permits in-service distributions. The mechanism is called an in-service rollover, and when it’s done as a direct trustee-to-trustee transfer, no taxes are withheld and the move itself isn’t a taxable event.
When Federal Law Lets You Roll Over While Employed
The governing provision is 26 U.S.C. § 401(a)(36), which says a pension plan doesn’t lose its tax-qualified status just because it distributes benefits to workers who have hit 59½ and are still on the payroll.1Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans That gives plans permission to offer in-service rollovers. It doesn’t force them to.
For your own paycheck contributions — pre-tax deferrals and Roth 401(k) contributions — the rule is tighter. Under § 401(k)(2)(B)(i), those dollars generally can’t be distributed until you separate from service, become disabled, die, or (in a profit-sharing or stock bonus plan) turn 59½.1Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans If you’re under 59½, your elective deferrals are typically stuck in the plan.
Your Plan Document Has the Final Say
Federal law draws the outer boundary. Your employer’s plan document decides what’s actually available to you. If the plan doesn’t authorize in-service rollovers, no amount of age or eligibility matters — you can’t do one.
Every plan is required to give participants a Summary Plan Description, a plain-language version of the rules. Request it from your HR department or the plan administrator and read it before you do anything else. Common plan-level restrictions include minimum age thresholds above the federal 59½ floor, years-of-service requirements such as five years of participation before any in-service distribution is permitted, and dollar minimums or maximums on how much you can move. Some plans only allow in-service distributions for hardships like preventing eviction or paying unreimbursed medical bills, not general-purpose rollovers.
Older plan documents can carry outdated provisions. The six-month contribution suspension that used to follow a hardship withdrawal, for example, was eliminated for plan years starting after 2019, so a plan still enforcing it hasn’t been updated.2Internal Revenue Service. Correct Common Hardship Distribution Errors Confirm your Summary Plan Description reflects current rules.
Which Dollars You Can Actually Move
Not every dollar in your 401(k) plays by the same rules. The contribution type and your vesting status decide what’s eligible.
- Elective deferrals (pre-tax and Roth). Your paycheck contributions. Generally locked until 59½, separation, death, or disability.
- Employer matching and profit-sharing contributions. Potentially available for in-service rollover before 59½ if the plan allows it and the contributions are fully vested. Vesting schedules vary and can require up to six years of service before employer money is fully yours.
- 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 at any time. This is the mechanism behind the “mega backdoor Roth” strategy.
- Prior rollover contributions. Money you previously rolled into your current 401(k) from another plan can often be distributed at any time, provided the plan accounts for it separately. IRS Revenue Ruling 2004-12 confirms that separately held rollover contributions aren’t subject to the same timing restrictions as other plan assets.3Internal Revenue Service. Rev. Rul. 2004-12
Even where federal law and the plan both say yes, the money has to be vested. Unvested employer contributions stay put.
Direct vs. Indirect Rollovers
How the money physically moves matters a lot for taxes. There are two methods.
Direct Rollover
In a direct (trustee-to-trustee) rollover, the plan administrator sends the funds straight to the receiving IRA or retirement plan. Nothing is withheld, and the money never passes through your hands.4Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions The administrator may issue a check made out to the receiving custodian (“Fidelity FBO [Your Name]”), but because it isn’t payable to you personally, it still counts as direct. This is the simplest and safest method.
Indirect Rollover
In an indirect rollover, the plan pays the money to you. The administrator must 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 qualified plan.4Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions
Here’s the trap. To complete the rollover in full, you have to come up with the missing 20% out of pocket. Deposit only the 80% you received, and the IRS treats the 20% as a taxable distribution. If you’re under 59½, that portion also triggers the 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 get the withheld amount back as a credit at tax time, but only if the rollover was completed in full.
Miss the 60-day window entirely and the whole 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 situations — natural disaster, hospitalization, postal error — but you have to apply.
Direct rollover avoids all of this. There’s rarely a reason to use the indirect route.
Rolling Pre-Tax Money Into a Roth IRA
You can send pre-tax 401(k) money directly to a Roth IRA, but the converted amount is 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 push you into a higher bracket, so many people spread conversions across several years to manage the hit.
No tax applies when pre-tax 401(k) money moves to a traditional IRA — both are pre-tax. No tax applies when Roth 401(k) money moves to a Roth IRA — both are after-tax. The taxable event is specifically pre-tax dollars crossing into a Roth account.
After-tax (non-Roth) 401(k) contributions are a hybrid. The contributions themselves were already taxed, so rolling them to a Roth IRA is generally tax-free. Any earnings on those contributions have not been taxed and will be taxable upon conversion. Many administrators can split the distribution, routing after-tax contributions to a Roth IRA and the earnings to a traditional IRA, which keeps the earnings sheltered.
What You May Give Up by Rolling Out
Net Unrealized Appreciation on Company Stock
If your 401(k) holds employer stock, rolling it into an IRA can cost you a tax break. Under 26 U.S.C. § 402(e)(4), when you take a lump-sum distribution of employer securities, the net unrealized appreciation — the gain above the stock’s original cost basis — is excluded from 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 cost basis now, and the appreciation is taxed at long-term capital gains rates when you later sell the stock.
To use NUA treatment, the distribution has to be a lump-sum — the entire balance from all of the employer’s plans of the same type, in a single tax year — and you must meet one of four triggering events: reaching 59½, separating from service, becoming totally and permanently disabled (for self-employed individuals), or death.8Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust Roll employer stock into an IRA and you lose NUA permanently — every dollar gets taxed as ordinary income when you later withdraw it.
Creditor Protection
A 401(k) carries strong anti-alienation protection under ERISA: benefits in a qualified employer plan can’t be assigned or seized by creditors, with narrow exceptions for federal tax levies and qualified domestic relations orders in divorce.9Office of the Law Revision Counsel. 29 USC 1056 – Form and Payment of Benefits That protection applies in lawsuits, judgments, and bankruptcy.
IRAs don’t carry the same blanket federal shield. In bankruptcy, traditional and Roth IRA balances are protected up to an inflation-adjusted cap, currently $1,711,975 as of April 2025, with anything above that becoming part of the bankruptcy estate. Outside bankruptcy, IRA protection depends on state law and varies widely.
Funds rolled over from a qualified employer plan generally keep unlimited bankruptcy protection even inside an IRA, as long as you can trace the money back to the original plan. That enhanced protection applies in bankruptcy only. In a non-bankruptcy lawsuit, your state’s rules govern. If you have significant assets or work in a high-liability profession, weigh this before moving money.
Steps to Complete the Rollover
- Open the receiving account first. Set up the IRA before requesting 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 the plan administrator or use the participant portal. The form, often called an In-Service Distribution Request, asks for the receiving account details, “For Further Credit” routing instructions, and your election of direct or indirect rollover.
- Choose direct rollover. Select the trustee-to-trustee option. Federal withholding on a direct rollover is typically zero.
- Submit and track. Most administrators accept digital submissions; some still require fax or certified mail. Once processed, the administrator liquidates the relevant assets (usually two to three business days) and then issues the transfer.
Expect one to three weeks from submission to funds appearing in the new account. A mailed physical check adds days. Overnight shipping may be available for a fee. Plan administrators may also charge a distribution processing fee.
Reporting the Rollover at Tax Time
Your plan administrator will issue IRS Form 1099-R by the end of January following the rollover year.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 signals to the IRS that no tax is owed on the move.
You still have to report the rollover on your return even though it isn’t taxable. List the gross distribution and enter the taxable portion — zero for a qualified direct rollover to a traditional IRA. A Roth conversion will show a taxable amount reflecting the pre-tax dollars that moved into the Roth. Keep the 1099-R and confirmation statements from both the distributing plan and the receiving custodian; the IRS can request documentation to verify the rollover was completed properly.