Updated October 22, 2026 · By the LoansFlow Editorial Team

Mortgage Closing Costs Explained: What You Will Pay and When

The down payment gets most of the attention, but closing costs are the part that surprises buyers. They are the fees and prepaid expenses due when a mortgage closes, and they commonly add up to a few percent of the loan amount. Understanding what they include helps you compare offers and avoid paying for things you can shop for.

How much to expect

A common rule of thumb is roughly 2 to 5 percent of the purchase price or loan amount, with the exact figure depending on your state, lender, loan type, and whether you pay points. On a $400,000 loan that is about $8,000 to $20,000. Treat the range as a planning estimate. Your Loan Estimate gives the real numbers.

The main categories

Lender charges

Third-party services

For many third-party services, the Loan Estimate tells you which ones you are allowed to shop for. Using a provider other than the lender's suggestion can lower the cost.

Prepaids and escrow

These are not lender profit. They are your own future expenses collected up front.

Government charges

Recording fees and, in many places, transfer or mortgage taxes. These vary widely by state and county and cannot be negotiated away.

The two key documents

Federal rules require lenders to give you standardized forms so you can compare offers:

Compare the Closing Disclosure to your Loan Estimate line by line. Certain fees are not allowed to rise above the estimate, or are limited in how much they can change. If the numbers jump, ask why before you sign.

Ways to lower your costs

  1. Get multiple Loan Estimates on the same day and compare the "Services You Can Shop For" and the lender charges.
  2. Negotiate junk fees. Application, processing, and some administrative charges are fair game.
  3. Shop title and settlement services where you are allowed to.
  4. Ask for a seller credit in the purchase contract, where the market allows it.
  5. Think carefully about points. Paying points only makes sense if you will keep the loan past the break-even point. The method in our refinance break-even guide works for points too.
  6. Look at assistance programs. Many state and local housing agencies offer closing cost help for eligible buyers. HUD maintains a directory of state programs.

Watch out for

Commercial and SBA loans have their own closing costs, including SBA guaranty fees, appraisals, environmental reports, and legal fees. See the 7(a) playbook for those.

Sources and further reading

Related guides

This guide is general information, not financial, tax, or legal advice, and LoansFlow is not a lender. Program rules, limits, and rates change; confirm current terms with your lender and the issuing agency before you act. Examples use round, illustrative numbers.