Once the real estate transaction closes and you sign all the necessary paperwork and mortgage documents, the escrow company releases the earnest money. Usually, buyers get the money back and apply it to their down payment and mortgage closing costs.