The earnest money deposit is a portion of your down payment that indicates that you are serious about purchasing the property just like Andrew said. Typically it is 3% but it can be more in a competitive situation.