Code B in Box 7 of Form 1099-R tells you the money came out of a designated Roth account inside an employer-sponsored retirement plan, such as a Roth 401(k), Roth 403(b), or governmental Roth 457(b).1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498 Whether you owe tax on it depends on one question: does the distribution meet the definition of a “qualified distribution”? If yes, the whole amount is tax-free. If no, the earnings portion is taxable, and a 10% early withdrawal penalty may apply on top.
What the Code Actually Identifies
A designated Roth account is a separate bucket inside your employer plan that holds after-tax Roth contributions.2Internal Revenue Service. Retirement Plans FAQs on Designated Roth Accounts You paid income tax on the money before it went in, and the trade-off is that qualified withdrawals, including all investment growth, come out tax-free.
Code B is not the same as a Roth IRA distribution. Designated Roth accounts live inside employer plans and are governed by 26 U.S.C. § 402A; Roth IRAs run on § 408A.3GovInfo. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions The two account types have different five-year clocks and different rollover rules, so it matters which one you’re actually looking at.
The Second Character Next to the B
Code B almost never appears alone. Your plan administrator pairs it with a second code that explains why the money came out. Common combinations:1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498
- B1 — early distribution before age 59½, no known exception
- B7 — normal distribution after age 59½
- B2 — early distribution where an exception to the 10% penalty applies
- B4 — distribution to a beneficiary after the account holder’s death
- BG — direct rollover to another employer plan’s designated Roth account
One thing to check: if the funds went in a direct trustee-to-trustee transfer to a Roth IRA, the form should use Code H instead of Code B.1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498 So if you’re holding a Code B and thought you did a direct rollover to a Roth IRA, call the plan administrator before you file.
When a Code B Distribution Is Tax-Free
The distribution is completely tax-free when it counts as a qualified distribution, and that requires passing two tests at the same time.2Internal Revenue Service. Retirement Plans FAQs on Designated Roth Accounts
Test one: the five-taxable-year period. The clock starts on January 1 of the first year you made a designated Roth contribution to that plan. It ends once five consecutive tax years have passed.3GovInfo. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions If your first Roth 401(k) contribution went in during 2021, the five-year period runs through December 31, 2025, and distributions taken in 2026 or later clear this test.
Test two: a triggering event. The distribution must be made after you reach age 59½, after you become disabled, or to a beneficiary after your death.4Office of the Law Revision Counsel. 26 USC 408A – Roth IRAs
Both tests. Meeting one but not the other makes the distribution non-qualified, no matter how close you were on the other.
When a Code B Distribution Is Taxable
A non-qualified distribution is not fully taxable, because your original contributions were already taxed. Only the earnings portion gets added to your gross income.3GovInfo. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions Your plan administrator does that math and puts the taxable amount in Box 2a of the 1099-R.
If you took the money before age 59½ and no exception applies, the taxable earnings also carry a 10% additional tax. That penalty applies only to the earnings piece, not the whole distribution.5Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts You report it on Form 5329, attached to your Form 1040.6Internal Revenue Service. Instructions for Form 5329
Several exceptions kill the 10% penalty even when the distribution is non-qualified: separation from service in or after the year you turn 55, substantially equal periodic payments, distributions taken because of an IRS levy, and medical expenses above the deduction threshold, among others.5Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts The earnings are still taxable income in those cases; only the extra 10% goes away. Box 7 will show B2 when the plan is telling the IRS an exception applies.
Putting the Numbers on Your 1040
The 1099-R boxes map onto Form 1040 like this:
- Box 1 (gross distribution) goes on Line 5a.
- Box 2a (taxable amount) goes on Line 5b. For a fully qualified distribution, Box 2a should be zero, and you enter zero on Line 5b.
- Box 4 (federal tax withheld) becomes a payment credit on your return.
- Box 5 shows your total contributions to the designated Roth account — your basis. That figure is never taxed again. The gap between Box 1 and Box 5 is your earnings, which is what shows up in Box 2a on a non-qualified withdrawal.
Report the Box 1 amount on Line 5a even when the distribution is entirely tax-free, so the IRS can match its records to yours.
You do not need Form 8606 for a Code B distribution. That form is for nondeductible IRA contributions and Roth IRA distributions; designated Roth accounts inside employer plans run through the 1099-R and Form 1040 alone.7Internal Revenue Service. 2025 Instructions for Form 8606 – Nondeductible IRAs
Rollovers and the Five-Year Clock
Rolling money out of a designated Roth account is where the five-year rule gets subtle, and the answer depends on where the money lands.
Rolled directly into another employer plan’s designated Roth account (Code B paired with G): the five-year period can carry forward. Under § 402A, the receiving plan’s clock starts on the earlier of your first contribution to the new plan’s Roth account or your first contribution to the old plan’s Roth account.3GovInfo. 26 USC 402A – Optional Treatment of Elective Deferrals as Roth Contributions You don’t lose your progress.
Rolled into a Roth IRA (Code H): the time your money spent in the employer plan does not count toward the Roth IRA’s separate five-year period. If you already had a Roth IRA with contributions from an earlier year, that clock started then and keeps running. If the rolled-in Roth IRA is new, the clock starts fresh.2Internal Revenue Service. Retirement Plans FAQs on Designated Roth Accounts A withdrawal that would have been qualified from the employer plan may not be qualified right after landing in a brand-new Roth IRA.
Indirect Rollovers and the 60-Day Rule
If the plan sent the check to you instead of transferring the funds directly, the plan had to withhold 20% for federal income tax on any eligible rollover distribution.8Internal Revenue Service. Topic No. 413, Rollovers From Retirement Plans You then have 60 days to deposit the full Box 1 amount into a Roth IRA or another eligible Roth account.9Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust Full Box 1 amount means you have to replace the 20% that was withheld from your own pocket. Deposit only what you received and the shortfall becomes a taxable distribution.
Miss the 60 days and the entire earnings portion is taxable, plus the 10% penalty if you’re under 59½. The 20% withholding still counts as a tax payment on your return, but it won’t cover the whole bill on a large distribution.
If circumstances outside your control caused the delay, you can self-certify for a waiver using the model letter in Revenue Procedure 2016-47 and give it to the receiving financial institution.10Internal Revenue Service. Retirement Plans FAQs Relating to Waivers of the 60-Day Rollover Requirement
If the Code Looks Wrong
Codes get miskeyed. If the second character doesn’t match what actually happened, or you’re seeing Code B where you expected H for a Roth IRA rollover, start with the plan administrator or former employer that issued the form. They can issue a corrected 1099-R.11Internal Revenue Service. Topic No. 154, Form W-2 and Form 1099-R
If a corrected form doesn’t arrive before your filing deadline, call the IRS at 800-829-1040. The IRS will contact the payer and send you Form 4852, a substitute 1099-R you fill in from your own records. If the corrected 1099-R shows up later with different numbers, file Form 1040-X to amend.11Internal Revenue Service. Topic No. 154, Form W-2 and Form 1099-R