If you are financing your home purchase, most lenders will charge an origination fee for establishing your loan, and some may charge an application fee to process your application. In addition, the lender will need to check your credit and there is a minimal cost for that process. A lender also will require an appraisal of the home to determine that its value is equal to the contract price. Depending on the type of loan, you may also be required to pay for mortgage insurance.
When discussing your potential mortgage with a lender, make sure you obtain a clear understanding and accounting of all the associated lender fees.