A cohabitation agreement is a form of legal agreement reached between a couple (or otherwise) who have chosen to live together.
It can cover how you’ll share the rent or mortgage and bills and how to deal with any bank accounts, property or assets if you should separate.