The rules apply to the Roth IRAs: claiming Roth IRA losses on your tax return is allowed only if:


1. the total of your Roth IRA balances are withdrawn, and


2. the amount withdrawn is less than the basis in your Roth IRAs.



Basis here means all the contributions that you made (life time of Roth IRA).