Does cost basis matter in a Roth IRA?
So I've been maxing out my Roth IRA for about six years and I never tracked what I actually contributed versus what the account earned. My brokerage shows a total balance but doesn't break out anything labeled "cost basis" the way my taxable account does. A friend told me cost basis doesn't matter at all in a Roth IRA because everything comes out tax-free anyway. But then I read something about ordering rules for early withdrawals and now I'm second-guessing myself. Does cost basis matter in a Roth IRA, and if so, when and for what? I'm not planning to withdraw anytime soon but I want to understand the rule before I do something that bites me later. I've looked at the Roth section in the IRA publications but the language around "basis" and "qualified distributions" is confusing me.