Investors & landlords

The capital loss from your stock sale will first be offset by any capital gain. Any unused loss is then deducted from regular income which includes your IRA distribution to a maximum amount of $3,000.  Any loss left is carried over to subsequent years.