On average, homeowners can expect to pay 2% to 3% of the loan amount to refinance a mortgage. Refinancing a $300,000 home loan, for example, may cost $6,000 to $9,000. These costs would be due at or before closing.