Earnest money gets returned if something goes awry during the appraisal that was predetermined in the contract. This could include an appraisal price that is lower than the sale price, or if there is a significant flaw with the house. Importantly, though, earnest money may not be returned if the flaw was not predetermined in the contract or if the buyer decides not to purchase the house during an agreed-upon time period.