Earnest Money Refund

Hi everyone,

I was in the process of buying a home and the contract fell through during the due diligence period. My earnest money is with the closing company. How long does it usually take to get my refund back? TIA