Do I owe capital gains selling former home after renting it out?
Trying to figure out if I owe capital gains selling my former home after renting it out. I lived there from 2017 to 2021, then moved and started renting it to tenants. Sold it this past spring for a decent profit. I always assumed the home sale exclusion would protect me but my tax software is flagging it and asking questions about "period of non-qualified use" and depreciation recapture. I've never dealt with this before. I did receive a Form 1099-S at closing. I know there's some $250k exclusion thing for single filers but I'm not sure if the rental period messes that up. Do I still qualify for any exclusion, or am I looking at full capital gains on the whole profit?