Posted: Wed Oct 20, 2021 7:03pm
I don't have any personal experience, or experience of similar in Spain; however, I know siblings who have bought together in the UK.
The main thing that they were recommended to do (and did so) was to have solicitors draw up a very detailed legal agreement covering every eventuality and what would happen to the property. This included death or marriage (in their case, but this could include divorce) on each side; change of mind; first refusal of the other party to buy the other party out; liability for legal fees; liability for losses (e.g. if one side wants out, but property is now worth less than paid for); split of profit (e.g. if one wants out, but the property is now worth more than paid for it); inheritance, no sub-letting, etc. etc.
It's a bit like a pre-nup - you have to openly discuss and agree outcomes for all the things you don't want to happen.
Hope this helps!