Business & farm

The answer is yes, Passive activity losses are offset against passive activity gains. In your situation, both the rental property sale , the stock losses are considered passive activity. See HERE as to what constitutes passive activity

 

Remember, in your case, the rental activity would have to be considered passive. To meet those qualifications,  see here

See also HERE  that passive only losses that are "greater" than the income from  passive activity are disallowed for the current year. But up untill that point, it is allowed.

**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"