Earnest money is the deposit a buyer puts down after a seller accepts an offer, to show the offer is serious. Buyers ask me three questions about it almost every time. What is it for, who is holding my money, and can I actually lose it. Here is the plain version of all three.
What earnest money actually is
It is not an extra fee and it is not a gift to the seller. It is a credit toward your down payment and closing costs at closing. Typical amounts run one to two percent of the purchase price locally, though the number is negotiable and gets written into the contract itself. Posting it tells the seller you are willing to put real money behind the offer, which is part of why a written offer carries more weight than a phone call, something I get into in price gets the attention, terms make the deal.
Who holds it, and it is not the seller
Earnest money goes into a neutral third party's escrow account, usually a title company or a broker's trust account, not the seller's pocket and not mine. That party holds the funds until closing and releases them according to the contract terms. If a deal falls apart, the escrow holder does not decide who gets the money on their own, the contract terms and, if needed, both parties' written agreement decide it.
When it comes back to you, and when it does not
If you cancel the contract inside a contingency period that protects you, inspection, financing, or appraisal, most of the time your earnest money comes back. That is exactly why I walk buyers through what an inspection period covers before they write an offer, which I laid out in how to read an inspection report without panicking. Where buyers lose it is when they cancel outside those windows, miss a deadline written into the contract, or simply change their mind with no contingency left to stand on. The contract language, not a general sense of fairness, decides the outcome, which is one more reason I want every deadline in writing rather than assumed.
The takeaway
Earnest money is not a fee, it is your deposit, held by a neutral party, and returned to you as long as you exit the contract inside the protections you negotiated. Know your deadlines before you sign, not after.