On a Form 1099-R, distribution code Q in Box 7 means you took a qualified distribution from a Roth IRA, and the entire amount is tax-free and penalty-free. The custodian uses this code to tell the IRS it has confirmed both that your Roth IRA has been open long enough and that your withdrawal fits one of the tax code’s qualifying events. You owe no federal income tax on any part of the payout, earnings included.
What Code Q Confirms
Form 1099-R reports distributions from retirement accounts, pensions, and annuities. Box 1 shows the gross amount, Box 2a shows the taxable amount, and Box 7 carries the letter code that identifies how the withdrawal should be taxed. Code Q is the best code a Roth IRA owner can see: it signals a fully qualified distribution, so the practical answer is straightforward even though the custodian usually leaves Box 2a blank and checks “Taxable amount not determined” in Box 2b.1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498
For the custodian to use Code Q, two things must both be true.
The Five-Year Holding Period Has Been Met
Your first Roth IRA contribution starts a five-tax-year clock. It begins on January 1 of the tax year for which that first contribution was made, not the day you deposited the money. Open a Roth IRA in April 2022 and designate the contribution for tax year 2021, and the clock started January 1, 2021; the five-year period ended December 31, 2025.2Internal Revenue Service. Publication 590-B (2025), Distributions From Individual Retirement Arrangements (IRAs)
You only run this clock once. Open a second or third Roth IRA years later and those accounts inherit the start date from your very first Roth IRA contribution. Rolling money from one Roth IRA to another doesn’t reset the period either.3Internal Revenue Service. Publication 590-A (2025), Contributions to Individual Retirement Arrangements (IRAs)
A Qualifying Event Has Occurred
The IRS instructions tell custodians to use Code Q when the distribution is triggered by one of these:
- You have reached age 59½. This is the most common trigger, and once the five-year period is also met, every dollar in your Roth IRA comes out tax-free.
- Death of the account owner. Distributions to a beneficiary or the estate qualify.
- Disability. You must be unable to perform any substantial gainful activity because of a physical or mental condition, and a physician must determine the condition is expected to result in death or last indefinitely.2Internal Revenue Service. Publication 590-B (2025), Distributions From Individual Retirement Arrangements (IRAs)
One boundary worth flagging: the tax code also treats a first-time home purchase (up to a $10,000 lifetime limit) as a qualified distribution, but the Form 1099-R instructions don’t let custodians use Code Q for it. A custodian has no way to know how you plan to spend the money, so a first-home withdrawal will typically show Code J or Code T instead, and you handle the tax-free treatment when you file.1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498
How to Report a Code Q Distribution
Even though nothing is taxable, you still show the withdrawal on your federal return. Enter the full distribution amount on Form 1040, line 4a (IRA distributions), and enter zero on line 4b (taxable amount). That zero is the whole point of Code Q: it tells the IRS to expect no tax on this money.4Internal Revenue Service. Retirement Plans FAQs Regarding IRAs Distributions (Withdrawals)
Form 8606 (Nondeductible IRAs) is the other form to know about. Its instructions say to file it when you receive Roth IRA distributions, and Part III is where Roth distributions are tracked. The Line 19 instructions add that if there’s no taxable amount to report, you can skip Part III and just report the distribution on Form 1040, line 4a. Most tax software generates Form 8606 automatically for any Roth distribution, and filing it does no harm; it creates a paper trail confirming the withdrawal was legitimate.5Internal Revenue Service. Instructions for Form 8606 (2025)
When You See Code T or Code J Instead
Two other codes appear specifically on Roth IRA distributions, and getting one of them doesn’t automatically mean you owe tax. It usually means the custodian doesn’t have the records to confirm you’re fully qualified.
- Code Q. The custodian knows the five-year period is met and knows the trigger is age 59½, death, or disability. Fully tax-free.
- Code T. The custodian knows you meet the age, death, or disability trigger but doesn’t know whether your five-year holding period is satisfied. The distribution may still be tax-free if you have in fact met it.
- Code J. The catch-all used when neither Q nor T applies. It covers withdrawals before age 59½ and cases where the custodian lacks information about both the holding period and the triggering event.1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498
The distinction matters because Code T and Code J reflect the custodian’s knowledge gap, not necessarily your tax situation. If you transferred a Roth IRA to a new brokerage and it doesn’t have records of when your original contributions began, it may issue a T or J even when you easily satisfy both requirements. In that case you claim the tax-free treatment yourself on the return, keeping your own records that prove the five-year period was met.
What to Do if the Code Is Wrong
Custodians occasionally get it wrong, and this happens most often after an account transfer. Start by contacting the custodian and asking for a corrected Form 1099-R. If it agrees the code was mistaken, it will issue the correction.
If you can’t get a corrected form by the end of February, call the IRS at 800-829-1040. The agency will contact the custodian on your behalf and send you Form 4852, which serves as a substitute for Form 1099-R so you can still file on time with the correct information.6Internal Revenue Service. Topic No. 154, Form W-2 and Form 1099-R (What to Do if Incorrect or Not Received)
If you already filed using the wrong code and later get a corrected 1099-R with different information, file Form 1040-X (Amended U.S. Individual Income Tax Return) to fix the discrepancy. Skipping this step can lead the IRS to treat a tax-free distribution as taxable income and send you a notice for tax you don’t actually owe.7Internal Revenue Service. What to Do When a W-2 or Form 1099 Is Missing or Incorrect
Code Q on an Inherited Roth IRA
Code Q also appears on distributions to beneficiaries after a Roth IRA owner dies, as long as the original owner’s five-year holding period has been satisfied. The beneficiary does not start a fresh five-year clock. What matters is when the deceased owner first contributed to any Roth IRA.1Internal Revenue Service. 2025 Instructions for Forms 1099-R and 5498
A surviving spouse who elects to treat the inherited Roth IRA as their own follows the standard rules, and the original owner’s contribution start date carries over. Non-spouse beneficiaries generally take required distributions based on life expectancy or empty the account within ten years, depending on when the owner died. Either way, the withdrawals are tax-free and coded Q when the original owner’s five-year period was met.8Internal Revenue Service. Retirement Topics – Beneficiary
If the owner died before the five-year period ended, the beneficiary has to wait for the period to run before the earnings portion becomes tax-free. Distributions of the owner’s original contributions remain tax-free regardless, because Roth IRA contributions are always made with after-tax dollars.