Roommate Contracts & Legal Agreements
We've linked below to a site with agreements you could print out and have your roommate sign, and they MIGHT be legally valid.
But to any extent they might be, if faced with a battle, it's still going to be up to you to enforce them, which may involve going to small claims court and paying associated fees.
That will be time-consuming, expensive and uncertain in terms of outcome.
Don't kid yourself, your local police force probably has much better things to do than look for that loser who stiffed his roommate on a bill.
We'd VERY STRONGLY RECOMMEND you invest your energies in reading the other sections of this website then pick a roommate and a roommate situation that really will be right for you rather than imagining that turning to a legal remedy if you pick the wrong roommate would be easy.
Any and all situations involving courts and/or lawyers will be unpleasant and are viewed as absolute last resorts by anyone you'd ever want to know.
With all that said, there is a site we can recommend for some roommate-related stuff.
For anything locally specific, as some laws involving real estate differ by municipality, we'd recommend your local library. Clever librarians will know right where to send you.