Closing costs are the fees charged by lenders and third parties related to the purchase of a property. These costs typically range from 2% to 5% of the loan amount and are paid at the closing of the real estate transaction, which is when the title of the property is transferred from the seller to the buyer.