There’s a weird advantage in US tax code for buying a house with your friend. An individual can write off the interest on up to $750k of mortgage. A married couple gets $750k total. Two unmarried people get $750k apiece, and they can use it on the same house. This could be worth like $20k/year depending on your situation.