What are closing costs, exactly?
Everything the transaction itself costs: the lender's fees, the title company's work, the appraisal, government recording, and your first tax and insurance payments made in advance. Separate from, and on top of, the down payment.
The mental model that helps: the down payment buys the house, closing costs buy the deal. They're the reason a $0-down loan still needs cash at the table unless credits cover it, and the reason "how much do I need to buy?" always has two parts. Budget both from day one and nothing at the closing table surprises you.
What's the typical range?
Around 2-5% of the loan amount, per Freddie Mac, with where you land in that range driven mostly by your state's title and transfer-tax customs, your property taxes, and the lender's fee structure.
An honest note about that range: it's planning math, not your number, and this page will not pretend otherwise. Your number arrives on the Loan Estimate within three business days of applying, per CFPB, itemized line by line. For rough planning before that, my closing-costs calculator ballparks it from your inputs, estimates only, as always.
What's inside the number?
Five buckets: lender fees, third-party services, prepaids and escrows, government charges, and the seller's own items.