Get your taxes done using TurboTax

If the sale of a passive activity creates passive income then that passive income is available ( like any other passive income generated) to offset passive losses. See IRC Sec. 469(d) for definition of passive activity loss. You net passive losses with passive income. So my losses from rental activity will net with the passive gain on sale of a passive activity- see prior cite for fact that disposition of  a passive activity at a gain produces passive income.