Lost 80k in stocks in 2024. But I recently made 100k off an investment in 2025 and sold. Can I offset that loss and gain?

@Shea
You can (and must) only deduct $3k of capital losses (whether from the same year or from a carryover) from ordinary income each year. The actual amount you can carryover is unlimited.