Generally, you cannot claim a capital gains loss on your retirement accounts that already are receiving favorable tax treatment.
The only time you would have a loss is when you receive a distribution that had previously been taxed.
For more information, see About Publication 575, Pension and Annuity Income.
@Navigation