How much does it cost to refinance a mortgage? A total-cost worksheet
The median US refinance in 2023 paid $7,329 in total loan costs, about 3.4 percent of the median refinance loan (a ratio of two medians), according to HMDA data published by the Consumer Financial Protection Bureau. Two years earlier the median was $3,336. Neither number is your price. There is no single price for a refinance, and an average, even one built from every reported loan, cannot price your file. What you can build, exactly, is your own total. A refinance cost splits into three stacks. Stack one is true closing costs: lender fees in Section A, services you cannot shop for in Section B, services you can shop for in Section C, government charges in Section E, and any discount points, minus any lender credit. Stack two is prepaids and escrow in Sections F and G: your own taxes, insurance, per-diem interest, and opening escrow deposits, which change your cash to close but are not a cost of refinancing. Stack three is the sum you actually bring or finance, cash to close, which mixes the first two stacks together. This worksheet separates the stacks, prices each line as a labelled illustration on a $350,000 balance, and ends at the only division that matters: total true costs divided by the monthly saving. The closing costs hub and the break-even explained guide are the companion pieces, and each fee family below links back to the guide that prices that family on its own.
Worksheet steps (9)
- The three stacks, and why only one of them belongs in break-even
- What refinances actually cost: the HMDA record, 2018 to 2023
- Cash-out costs more before the first fee is printed
- Government-backed refinances add a program fee to the stack
- Lender fees and discount points: Section A
- Third-party and government fees: Sections B, C, and E
- Prepaids, escrow deposits, and per-diem interest: Sections F and G
- Lender credits: the line that subtracts
- Add the worksheet, then divide by the monthly saving
The three stacks, and why only one of them belongs in break-even
Borrowers ask how much a refinance costs and get quoted cash to close, which is the wrong number for the decision. Cash to close includes prepaid homeowner insurance, property taxes, and escrow deposits. You owe those bills on your current loan on their normal dates, so collecting them early at a refinance closing is timing, not cost. Counting them makes a refinance look thousands of dollars worse than it is. Counting too little is just as common: a quote that leads with a low lender fee and leaves appraisal, title, and government charges in small print makes the same refinance look cheaper than it is.
The discipline on this site is consistent across every fee guide. True closing costs are the one-time charges that exist only because a new loan is being made: Sections A, B, C, and E of the Loan Estimate, plus discount points if you buy them, minus any lender credit the rate is paying toward the stack. Prepaids and escrow are tracked separately because they decide how much cash the closing needs, not whether the loan wins. Build both totals, in that order, and never let one stand in for the other. The prepaid items and escrow guide and the lender credits explained guide each isolate one side of that split.
What refinances actually cost: the HMDA record, 2018 to 2023
One public dataset records what borrowers paid at closing, loan by loan: the data that covered lenders report under the Home Mortgage Disclosure Act, known as HMDA. Since 2018 it has included a field called total loan costs. Under Regulation C, 12 CFR 1003.4(a)(17), checked October 24, 2026, that field is the Total Loan Costs (Borrower-Paid) figure from the Closing Disclosure, which Regulation Z, 12 CFR 1026.38(f), builds from three subheadings: Origination Charges, Services Borrower Did Not Shop For, and Services Borrower Did Shop For, the A, B and C lines on the form. It counts only the borrower-paid portion, it includes discount points, and it leaves out Section E taxes and recording fees, the prepaids and escrow in Sections F and G, and any lender credit.
The CFPB publishes the medians each year. For first-lien refinances of site-built one-to-four-family principal residences, the median total loan costs were $3,664 in 2018, $3,556 in 2019, $3,310 in 2020, $3,336 in 2021, $4,979 in 2022 and $7,329 in 2023, a 47.2 percent jump in the last year alone (CFPB, 2023 Mortgage Market Activity and Trends, December 2024, Table 3H, checked October 24, 2026).
Show the HMDA medians
| Year | Median total loan costs, refinances | Median refinance loan amount | Cost as share of loan (ratio of medians) |
|---|---|---|---|
| 2018 | $3,664 | $196,000 | 1.9% |
| 2019 | $3,556 | $250,000 | 1.4% |
| 2020 | $3,310 | $259,000 | 1.3% |
| 2021 | $3,336 | $245,000 | 1.4% |
| 2022 | $4,979 | $232,000 | 2.1% |
| 2023 | $7,329 | $214,000 | 3.4% |
Two changes in the same report moved with the jump. Points: the share of refinances paying any discount points went from 40.8 percent in 2021 to 67.7 percent in 2023, and the median amount paid by those who bought them went from about $1,619 to about $3,902. Loan size: the median refinance loan shrank from $245,000 to $214,000 over the same years. Both push the cost-to-loan ratio up, but the dollar cost did most of the work: $7,329 against the 2021 median loan of $245,000 would already be about 3.0 percent, and the smaller 2023 loan takes it to about 3.4 percent.
Before comparing any published average for the cost to refinance with your quote, check which lines it counts. A figure can follow HMDA's A, B and C lines, add government fees and taxes, or leave out optional points, and each choice moves the number. No average can price your file. Use the HMDA medians as a sanity check on the size of the stack, then build your own total below.
Cash-out costs more before the first fee is printed
The worksheet lines look the same for a cash-out refinance and a rate-and-term refinance. The price underneath does not. For conventional loans sold to Fannie Mae, the loan-level price adjustment matrix (dated September 30, 2026, checked October 24, 2026) charges a cash-out refinance a larger adjustment than a limited cash-out refinance in all 45 cells where both tables publish a figure, nine credit score bands across the five loan-to-value bands up to 80 percent. At a 740 to 759 score and 75.01 to 80 percent loan-to-value, the adjustment is 1.125 percent for limited cash-out and 2.375 percent for cash-out. At 780 and above it is 0.500 percent against 1.375 percent.
On a $300,000 loan, if those adjustments were charged as up-front points, they would come to $3,375 against $7,125 at the 740 to 759 tier, and $1,500 against $4,125 at 780 and above. The matrix sets what Fannie Mae charges the lender; how much reaches your quote, and whether as points or as rate, is the lender's pricing decision. What the matrix settles is direction: taking cash out moves the same borrower to a more expensive row before any lender sets its own fees. The rate-and-term vs cash-out guide shows how lenders classify the loan, and refinancing with a lower credit score maps the full grid.
Government-backed refinances add a program fee to the stack
FHA and VA refinances carry a program fee that a conventional refinance does not have in that form. The VA funding fee, per the VA's current schedule effective April 7, 2023 and checked October 24, 2026, is 0.5 percent of the loan amount on an Interest Rate Reduction Refinance Loan, and 2.15 percent for a first-use cash-out refinance or 3.3 percent after first use. The VA says the fee can be financed into the loan or paid at closing, and veterans receiving VA disability compensation, and several other groups the VA lists, are exempt. For FHA, the CFPB report notes that in the period it examined FHA charged an up-front mortgage insurance premium of 1.75 percent of base loan amounts, with the exception of a few limited programs, and that a borrower-paid premium belongs in HMDA total loan costs.
Those fees belong in the worksheet as true costs, because they exist only because a new loan is being made. On a $300,000 VA cash-out refinance at first use, 2.15 percent is $6,450 before a single lender or title charge. It also helps explain the report's loan-type pattern: FHA refinances had the highest median total loan costs of any loan type in 2023, and for FHA purchase loans the report says the high median likely reflects the required up-front premium. The VA streamline refinance guide shows how the 0.5 percent fee is excluded from the VA's own 36-month recoupment test but not from yours.
Lender fees and discount points: Section A
Section A is the price the lender itself sets: origination, application, processing, underwriting, and similar lender service charges, plus discount points when you agree to buy the rate down. Labels vary freely between lenders, because no rule fixes the packaging. One lender shows a single origination line, another itemizes four charges. Compare the Section A total, at the same rate structure, and ignore the labels. The lender fees explained guide on this site goes line by line through what each common label claims to pay for and which totals cannot rise at closing under the tolerance rules.
Points need their own line in the worksheet because they are optional in a way underwriting is not. One point costs 1 percent of the loan amount, paid at closing, in exchange for a lower rate. There is no fixed rate reduction per point, so a point only earns its cost if the monthly saving it buys repays the point itself inside your stay. In the worksheet below, the illustration buys one point on a $350,000 balance for $3,500. Price your own worksheet twice, with and without points, because the discount points guide shows that a point buying a 0.25 cut needs until about month 60 to repay by payment and month 48 in interest saved.
Third-party and government fees: Sections B, C, and E
Section B holds services the lender requires but chooses the provider for, such as the credit report, flood certification, and in many files the appraisal ordered through the lender channel. Section C holds services you can shop for, most often title search, the lender title policy, and settlement or closing services. Section E holds taxes and other government fees, principally the recording charge for filing the new mortgage. The third-party fees guide and the title insurance and settlement guide price each of these lines separately and explain which ones a phone call can actually move.
Shopping works only where the form allows it, and that is Section C. Get at least one outside quote for title and settlement before you accept the lender default provider, and ask whether a reissue or refinance title rate applies in your state when the same insurer wrote the policy on your current loan. Every dollar trimmed here lowers the break-even numerator dollar for dollar. The recording fees and transfer taxes guide covers the government lines, which are set by the county or state and cannot be negotiated, only verified against the published schedule for your jurisdiction.
- Section B: required services, provider chosen by the lender. Compare the total across lenders, because you cannot shop the lines.
- Section C: title, settlement, and other shoppable services. Get one outside quote before accepting the default provider.
- Section E: recording and government charges. Not negotiable, but verifiable against the county or state schedule.
- Appraisal: ordered through the lender channel even when it sits in Section B. You pay for it and you have a right to a copy.
Prepaids, escrow deposits, and per-diem interest: Sections F and G
Section F collects bills paid in advance at closing: per-diem interest from the closing date to the end of that month, the first period of homeowner insurance premiums, and prepaid property taxes. Section G collects the opening deposits for the new escrow account, sized so the account can pay the next tax and insurance bills on time, subject to the federal cushion limit of one-sixth of annual escrow charges. The prepaid interest and per-diem guide works the daily interest arithmetic, and the escrow cushion and analysis guide explains the cushion cap and the annual true-up that follows.
Two offsets keep this stack honest. First, if your current loan has an escrow account, its remaining balance must be refunded within 20 days of payoff, not counting weekends and legal public holidays, under Regulation X, 12 CFR 1024.34(b) (checked October 24, 2026), or, if you agree and the new lender was the original lender, owns the old loan, or will use the same servicer, credited straight to the new escrow account, so part of the new deposit is the same money coming back in a different envelope. Second, the prepaid bills would have been paid anyway. For those two reasons Sections F and G belong in your cash plan and out of your break-even math. The worksheet below shows them in full, visibly, and then excludes them from the true cost total on purpose, with the exclusion labelled rather than hidden.
Lender credits: the line that subtracts
A lender credit is the mirror of a point. Instead of paying cash at closing to buy the rate down, you accept a higher rate and the lender pays part of your closing costs, shown as a credit in Section J. In the worksheet below the illustration takes a $1,200 credit, so the net true cost is the gross stack minus $1,200. A credit is not free money and it is not a fee. It is the rate paying the stack over time instead of you paying it once, which is why the lender credits explained guide and the no-closing-cost refinance tradeoff guide judge credits against your stay horizon.
The worksheet rule is simple: a credit reduces true closing costs for break-even, and in exchange the monthly saving shrinks because the rate is higher. Run both structures through the calculator. A short stay often favors the credit, because there are fewer months of higher rate to repay it. A long stay usually favors paying the stack in cash at the lower rate. What never works is counting the credit as a saving while also counting the lower, uncredited rate as the payment. Pick one structure per run.
Add the worksheet, then divide by the monthly saving
The table below is the whole method on one page, priced as a labelled illustration on a $350,000 balance. Add Sections A, B, C, and E, add points, subtract the lender credit, and that is the true cost total. Add Sections F and G separately for the cash plan. Then divide the true total by the monthly principal and interest saving, computed on the same term for both loans, and the result is the break-even month. The how to refinance step by step guide puts this worksheet inside the full procedure, from first quote to first payment, and the calculator on this site runs the same division with your figures. Once you have that total, how much lower the rate needs to be shows which rate drop repays it by month 36 or month 60 at three balances.
Read the illustration totals as a shape, not as a market price. On this balance the true stack lands at $6,940 after the credit, which is about 2 percent of the loan amount, and the cash to close lands higher at $13,440 because prepaids and escrow ride along. Your stack will differ by state, by lender, by whether you buy points, and by how much of Section C you shop. What should not differ is the structure: every real quote you receive can be forced into these same lines, and a lender who cannot place a charge in one of them has not finished explaining the quote. Which of these costs reach a tax return is sorted in refinance closing costs and taxes.
This worksheet is educational, not a loan offer or financial advice; the Loan Estimate issued for your file is the priced document.
- Copy each Loan Estimate line into the worksheet by section: A, B, C, and E into true costs, F and G into the cash plan only.
- Price points as their own line at 1 percent of the balance per point, and run the worksheet with and without them.
- Get one outside quote for the Section C title and settlement lines before accepting the lender default provider.
- Subtract any lender credit in Section J from the gross true total, and rerun the payment at the credited rate, not the uncredited one.
- Divide net true costs by the monthly saving on a term-matched comparison. That month must land inside the stay you can defend.
- Check the size of the result against the HMDA medians above. Sections A through C of this illustration come to $8,015, a little above the 2023 national median of $7,329; the illustration includes a full point of $3,500, and without it the same lines total $4,515.
| Worksheet line | Section | Illustration on $350,000 |
|---|---|---|
| Lender charges, origination, underwriting, and processing | A | $1,750 |
| Discount points, 1 point at 1 percent of the balance | A | $3,500 |
| Appraisal $550, credit report $90, flood certification $25 | B | $665 |
| Title search and lender policy $1,450, settlement $650 | C | $2,100 |
| Recording fees | E | $125 |
| Gross true closing costs | A+B+C+E | $8,140 |
| Lender credit | J | -$1,200 |
| Net true closing costs, the break-even numerator | Total | $6,940 |
| Prepaid insurance $1,800, prepaid taxes $1,350, per-diem interest $950 | F | $4,100 |
| Initial escrow deposits | G | $2,400 |
| Prepaids and escrow, cash plan only, not break-even | F+G | $6,500 |
| Cash to close in this illustration, before payoff adjustments | Net true + F + G | $13,440 |
The common error is quoting one stack as if it were another. Cash to close overstates the cost of refinancing because it includes your own prepaid bills. A lender fee alone understates it because appraisal, title, and government charges are real and one-time. The worksheet total, Sections A through E plus points minus credits, is the only version that belongs over a monthly saving. To build yours from a Loan Estimate:
Totaling one $350,000 fee stack line by line
Worked example, every line arithmetic-checked. Balance $350,000. Lender charges $1,750 plus one discount point at 1 percent of $350,000, which is $3,500, plus third-party and government fees of $2,890 (appraisal $550, credit report $90, flood certification $25, title $1,450, settlement $650, and recording $125; $550 + $90 + $25 + $1,450 + $650 + $125 = $2,890) gives gross true closing costs of $1,750 + $3,500 + $2,890 = $8,140. Subtract the $1,200 lender credit and net true closing costs are $6,940. Prepaids and escrow add $6,500 ($1,800 + $1,350 + $950 + $2,400 = $6,500), so cash to close in this simplified illustration is $6,940 + $6,500 = $13,440, before payoff adjustments on the old loan. For break-even, the current loan at a hypothetical 7.5 percent with 324 months left runs $2,523 a month in principal and interest, and the new loan at a hypothetical 6.5 percent on the same 324 months runs $2,294, a saving of $228 a month. Break-even is $6,940 divided by $228, which lands in month 31. Stay past month 31 and the refinance is ahead on payments alone; leave before it and the costs were never repaid. Balance $350,000, terms matched at 324 months, net true closing costs $6,940, planned stay seven years (84 months). Every fee and rate in this example is a labelled illustration chosen to show the arithmetic, not a market average, a survey figure, or a quote.
Common questions
What is included in the total cost of a refinance?
True closing costs: lender charges and any discount points in Section A, required services in Section B, shoppable title and settlement services in Section C, and government charges in Section E, minus any lender credit. Prepaids and escrow deposits in Sections F and G are real cash at closing but they are your own bills collected early, so they belong in the cash plan and not in the break-even total.
Why is my cash to close higher than my closing costs?
Because cash to close adds Sections F and G to the true cost stack. In the worksheet illustration, net true costs are $6,940 while cash to close is $13,440, and the entire $6,500 difference is prepaid insurance, prepaid taxes, per-diem interest, and opening escrow deposits. Those bills are owed on the current loan too, on their normal dates, which is why they raise the cash needed without raising the cost of refinancing itself.
Are the fees in this worksheet typical or average fees?
No, and that is deliberate. They are labelled illustrations on a $350,000 balance, chosen in round numbers so you can check the arithmetic and copy the structure. This site does not publish invented lender fee averages as market data. Your Loan Estimate is the priced document for your file, and the worksheet exists so you can total that document correctly when it arrives.
Can I roll the closing costs into the loan instead of paying cash?
Usually yes, by increasing the loan amount, and it changes the math rather than removing the cost. The rolled amount earns interest on every payment for as long as you hold the loan, and it slightly raises the payment, which shrinks the monthly saving. If you roll costs in, count the full rolled amount in the break-even numerator and run the calculator on the higher balance.
Does a lender credit make a refinance cheaper?
It makes the closing cheaper and the loan more expensive, month by month, because the credit is paid for with a higher rate. For a short stay that trade often wins, because you leave before the higher rate collects back the credit. For a long stay, paying the stack in cash at the lower rate usually wins. The worksheet handles the credit correctly only when the payment in the same run is the credited rate payment.
How do I turn my total cost into a decision?
Divide net true closing costs by the monthly principal and interest saving, with both payments computed on the same term. In the illustration, $6,940 divided by $228 a month lands in month 31. If you will plausibly stay well past that month, the cost is repaid with room to spare. If your earliest move date sits near or before it, negotiate the stack down, test a lender credit structure, or keep the current loan.
What is the average cost to refinance a mortgage?
A public figure built from reported loans is the HMDA median: $7,329 in total loan costs for refinances in 2023, up from $4,979 in 2022 and $3,336 in 2021, per the CFPB's December 2024 report. It counts lender, third-party and points charges from Closing Disclosure Sections A through C, but not government fees, prepaids or lender credits. Before comparing another average with it, check which lines that average counts.
Sources and verification
- Consumer Financial Protection Bureau, Loan Estimate explainer: consumerfinance.gov page-by-page guide to the Loan Estimate: Section A lender charges, Sections B and C third-party services, Section E government charges, Sections F and G prepaids and escrow, points, and lender credits in Section J. Checked October 18, 2026.
- Consumer Financial Protection Bureau, Closing Disclosure explainer: consumerfinance.gov guide to the final cost statement: total closing costs, cash to close, lender credits, prepaid interest for the period between closing and the first payment, and the comparison with the Loan Estimate. Checked October 18, 2026.
- Consumer Financial Protection Bureau, owning a home and refinance guidance: consumerfinance.gov guidance on what fees and charges are paid when closing on a mortgage, and on shopping and comparing total loan costs rather than the rate alone. Checked October 18, 2026.
- Freddie Mac Primary Mortgage Market Survey: Weekly national average rate survey. The release dated October 29, 2026 put the 30-year fixed average at 7.24 percent and the 15-year fixed average at 6.60 percent. Used here only as dated market context. Every fee and rate in the worksheet example is a labelled illustration, not a survey figure and not a market average. Checked November 1, 2026.
- Consumer Financial Protection Bureau, 2023 Mortgage Market Activity and Trends (December 2024): HMDA medians for refinances: total loan costs $3,664 (2018) to $7,329 (2023), Table 3H; median refinance loan amount $214,000 in 2023, Table 3E; points share and median points, Table A2; FHA up-front premium of 1.75 percent during the period examined, footnote 23. Checked October 24, 2026.
- Regulation C, 12 CFR 1003.4(a)(17): HMDA total loan costs are the Closing Disclosure total loan costs under Regulation Z 12 CFR 1026.38(f)(4). Checked October 24, 2026.
- Fannie Mae, Loan-Level Price Adjustment Matrix (September 30, 2026): Limited cash-out and cash-out refinance adjustments by credit score and loan-to-value band. Checked October 24, 2026.
- U.S. Department of Veterans Affairs, VA funding fee and loan closing costs: Funding fee effective April 7, 2023: 0.5 percent for an IRRRL; 2.15 percent first use and 3.3 percent after first use for cash-out refinancing; exemptions. Checked October 24, 2026.
- Regulation X, 12 CFR 1024.34(b): Escrow balance returned within 20 days of payoff, excluding weekends and legal public holidays, or credited to a new escrow account in the cases the rule allows. Checked October 24, 2026.
This page is a worksheet, not a price list. Every dollar figure in the table and example is a labelled illustration on a stated $350,000 balance, not an average fee, a typical fee, or a quote. Only a Loan Estimate issued for your loan prices your file, and fees vary by lender, state, and the services your loan requires.