NCperson
Level 15
Intuit Approved! This answer has been verified for accuracy by an Intuit expert employee

Get your taxes done using TurboTax

@Timbo99 the long term losses will certainly offset the long term gains.   otherwise, the losses can only offset up to $3000 of ordinary income (the interest and the dividends) each year.  In your example, the remaining $7000 of losses are carried over to 2024.