Depreciation recapture when selling primary home after renting out the basement
We've owned our house for 11 years and rented the basement apartment separately for the last 6 of those. Filed Schedule E every year, took depreciation on the basement square footage. Now we're listing the house and I realized I have no idea how the depreciation recapture works when selling a primary home after renting out the basement. The basement is roughly 28% of the total square footage. We used an appraiser's allocation when we started renting to split the basis. We've taken depreciation each year on that portion. I know Section 121 gives us the exclusion on the residential portion, but I've read conflicting things about whether the basement portion gets any exclusion at all, or whether it's fully taxable as recapture plus capital gain. Our gain is large enough that this really matters. What actually happens on the forms when we sell?