Capital gains tax selling co-signed house when mortgage is in parent's name
Trying to figure out the capital gains tax situation on selling a co-signed house when the mortgage is in my parent's name. My dad took out the mortgage because my credit wasn't great back in 2017. The deed has both our names on it though — we're listed as joint tenants. We're selling now and I'm confused about how the IRS treats this. The gain is around six figures. My question is basically: who reports the gain, how does cost basis split between us, and does the home sale exclusion apply to me if I lived there the whole time but the mortgage isn't in my name? I've been reading Publication 523 but it talks about ownership and residence and I'm not sure if the mortgage name matters or if it's purely about the deed.