To get Line 19 of IRS Form 8606 to calculate properly, enter the Roth IRA distribution on Form 1099-R. For box 7, Code J Roth Early Distribution may be entered. Box 2b-Taxable amount not determined should be checked, and 2b-total distribution can be checked, if applicable.
The gross distribution amount should then transfer automatically to Form 8606, Line 19. You can then enter the Roth IRA basis directly on Line 22. Only the gain will be taxable and the penalty is figured on the gain only.
To get the Roth IRA Contribution screen to come up to enter the Roth basis, Box 2b -Taxable amount not determined must be checked. The Box 7 code should be Code J Roth Early Distribution. The IRA box on the Form 1099-R may or may not be checked.
To enter or review the Roth IRA basis in contributions: