If the contract of sale provided that you, as the seller, could keep the entire deposit in the event the buyer breached the agreement, such as by being unable to close, you can keep the whole thing. If the agreement doesn't provide that, you will be able to retain an amount equal to the adiditonal costs or losses that the breach provably causes you: e.g. if your "carrying cost" for the home is $1,500 per month and it takes you an extra 5 months to sell it after this, you would be entiled to 5 x $1,500, or $7,500 of the deposit. The deposit would be retained in escrow until the damages or losses are determined (e.g. until you sell; or until enough months of non-sale, despite your reasonable efforts, have gone by that it is clear that you are entitled to the whole deposit for your loss).