Do I qualify for home sale exclusion on duplex after living in both units?
Selling my duplex next month and trying to figure out if I qualify for home sale exclusion on duplex after living in both units. I bought it 6 years ago, lived in the downstairs unit as my main home for the first 4 years, then moved upstairs when a family member took over downstairs, and lived there the remaining 2 years. Never rented either unit to a stranger — just family, no rent collected. The whole building is on one parcel, one deed. My tax software is asking me to split the gain between the residential and "non-residential" portions and I'm not sure that's right given my situation. Already looked at the IRS page on selling a home but got confused about how the duplex structure affects the exclusion. Total gain will be significant so I want to get this right before I close.