Have a Tax Question? Ask a Tax Expert
Based on what you have told us about your friend, it would definitely be in your best interest to make sure that any home you buy is in your name only. As long as you are not legally married, the IRS or anyone for that matter could attached a lien to your home. If your relationship, however, continues for years down the road, you may at some point be recognized to be in a common law marriage, which might then present some problems. But for now you would be safe just keeping the house in your name.
If this answer has been helpful, please press the "accept" button. Positive feedback is also greatly appreciated. Thanks and have a great day.