Depreciation recapture
The depreciation you claimed, or were allowed to claim, over the years is generally taxed at up to a 25% federal rate when you sell, separate from the rest of the gain. The longer you've owned and depreciated a rental, the bigger this piece tends to be.