A cohabitation agreement can confirm that property owned by one partner before the relationship remains theirs if the relationship ends. It can also set out what happens if the other partner contributes financially, for example by paying towards a mortgage or renovations, helping to avoid disputes later on.