Passive activities
An activity is passive if it is a trade or business in which the owner does not materially participate, such as working more than 500 hours in it during the year, or if it is a rental activity, which is passive regardless of effort except as explained below. Passive losses offset passive income only. Unused losses are suspended and carried forward indefinitely.
Suspended losses are freed when the owner disposes of their entire interest in a fully taxable sale to an unrelated buyer. The loss for that year, including the suspended amounts and net of any gain on the sale, then becomes a nonpassive loss to the extent it exceeds net income from the owner's other passive activities.