I’m a real estate agent. It depends - you can always back out but where you are in the contract period determines the consequences. If you are in the “reply to inspections” period, you can probably use something from the inspection to walk away (every home has things wrong with it). You should be able to get your deposit back. If that period has passed, then you can hope that there’s an issue with the financing. In any event, you need to talk to your agent ASAP. There are very specific ways that you can get your money back & your agent will be the best one who can help you. If you really want out, you may need to be prepared to lose your deposit.