
The Quick Read: Usually, a conventional cash-out refinance can pay off a HELOC or home equity loan, and when the second lien was not used to buy the home, the new loan is classified as cash-out even if no cash reaches you. Fannie Mae and Freddie Mac write the rules, and Lendmire arranges these loans as a broker through its wholesale lenders. One new first mortgage replaces both old loans, and the leverage cap for cash-out is lower than for a simple rate-and-term refinance. Whether the swap makes sense depends mostly on what you give up in the first mortgage.
What Does “Replacing a Second Lien” Actually Mean?
You own a home with a first mortgage and a second loan behind it, usually a HELOC or a home equity loan. A new first mortgage pays off both, and the second lien is released. You are left with one loan and one payment.
Cash-out refinance estimate
The starting figures are an example value with a balance and a cash request in proportion. Replace them with yours.
Editable benchmark: 7.18% as of November 5, 2026 · Freddie Mac 30-year average via FRED®. A conventional market reference, not a cash-out refinance quote.
Illustrative starting assumptions: a $350,000 home value, a $193,000 current balance, the agency cap on a one-unit principal residence, a thirty-year term at the current Freddie Mac benchmark, and property taxes and insurance estimated at typical national rates. Every field is editable.
Illustrative estimate only — not a Loan Estimate, approval, quote, or commitment to lend. The rate field carries the weekly Freddie Mac thirty-year conventional benchmark, a market reference and not a cash-out refinance quote; a cash-out loan is priced by the lender at lock. The cash available is the loan the program cap allows less the balances paid off, before closing costs, which are not included. The HELOC line is the program’s combined loan-to-value ceiling applied to the same value and balance. Taxes and insurance are editable estimates. Licensed in sixteen states for consumer mortgages.
The label on the new loan is what trips people up. A purchase-money second, such as a piggyback taken at closing to avoid mortgage insurance, can be paid off in a limited cash-out (rate-and-term) refinance. A second used for anything else makes the new loan a cash-out refinance. Fannie Mae’s subordinate financing rules say paying off a non-purchase-money second is cash-out whether or not you take additional cash. Freddie Mac’s cash-out refinance definition is built on the same idea: a mortgage with no specific restrictions on how the proceeds are used.
Lendmire’s cash-out refinance programs page covers the program side of this. The mechanics below apply to a primary residence unless noted.
Key Terms Defined
- Second lien: a loan secured by your home that sits behind the first mortgage in repayment priority.
- Purchase-money second: a second loan that funded part of the home’s purchase price at closing.
- Limited cash-out refinance: a refinance that pays off the existing first mortgage, closing costs and a purchase-money second, with only incidental cash back.
- Cash-out refinance: a refinance with no restriction on how the proceeds are used, priced and capped differently from limited cash-out.
- CLTV: combined loan-to-value, which counts every loan against the home’s appraised value.
- Seasoning: the minimum age of the loan being paid off, or the time you have held title.
How Is the Loan Underwritten, Step by Step?
The deal works in a predictable order. Each step can change the answer.
1. Classify the second. The lender asks what the second funded. For a purchase-money second, the documents that prove it are typically the title policy from your purchase or the closing papers. Fannie Mae’s limited cash-out section names those as acceptable evidence. A HELOC drawn for improvements, debt or anything else sends you to cash-out.
2. Check the seasoning clocks. The first mortgage being paid off must generally be at least 12 months old, measured note date to note date. You also need to have been on title for six months. Freddie Mac’s cash-out product page lays out both tests. Exceptions exist for delayed financing, inheritance and legal awards.
3. Run the file through automated underwriting. Credit, ratios, reserves, occupancy and appraised value all feed the automated finding. Across the wholesale conventional programs Lendmire works with, the starting point is a 620 decision score, and the automated finding governs most files with a total ratio ceiling of 50%. Subject to lender guidelines and full file review.
4. Appraise and test combined leverage. On a one-unit primary residence, cash-out leverage tops out at 80%. For two- to four-unit primary residences, second homes and investment property, it is 75%. Any second lien that stays in place counts toward the cap. When the second is paid off inside the new loan, one new first lien replaces both.
5. Order payoffs and close. Title requests payoff statements on both liens. If a HELOC is being paid off, the lender will typically require the line to be frozen and closed so it cannot be drawn again. That is common practice, not a universal rule.
6. Rescission period. Because this is a refinance of your principal residence, you have until midnight of the third business day to cancel, and Saturdays count. The CFPB explains when that clock starts. Funds are generally disbursed after it ends.
In practice the age of the second lien is not what the test measures, but confirm that with your loan officer for your file.
Does Paying Off a HELOC Count as Cash-Out Even With No Cash?
Yes, when the HELOC or home equity loan funded anything other than the purchase. Many people call it “just a rate-and-term refinance” because no check comes to them. The agencies disagree.
The practical effect is that the lower cash-out leverage cap applies, not the higher limited cash-out leverage. The 95% limit on a one-unit primary residence (97% in some agency-owned and first-time-buyer cases) belongs to limited cash-out. It does not apply here.
Cash-out also carries loan-level price adjustments, built into the pricing by the agencies and based on credit score and leverage. Fannie Mae’s cash-out section and Freddie Mac’s product page both reflect this. Retiring a non-purchase second through a cash-out structure can therefore carry adjustments that the limited cash-out route would not.
Replace, Keep, or Leave Alone? A Decision Table
| Path | What happens | Best when |
|---|---|---|
| Replace the second | New first pays off both liens | Combined balance fits under the 80% cap |
| Keep and subordinate | Second stays, lender resubordinates | Your first mortgage is worth keeping |
| Leave everything alone | No refinance | The new structure costs more than it saves |
If the second stays in place, Fannie Mae requires that the second lender agree to stay behind the new first mortgage. That consent is called resubordination. And if you take cash out while the second stays, the loan is still cash-out.
What Does the Swap Look Like in Practice?
Picture a homeowner with a first mortgage originated years ago and a HELOC drawn for a kitchen remodel. Together the two balances sit comfortably below 80% of the appraised value. The new loan pays off both, the HELOC is closed, and the homeowner is left with one fixed payment instead of a fixed payment plus a variable one.
Simple. But here is the part that decides it: the entire balance, including the old first mortgage, is re-priced at today’s market. If the existing first mortgage carries a rate that is well below what new loans cost, you are trading a cheap, large loan for a pricier, larger one to eliminate a smaller second. That math often fails.
The reverse is also true. If the first mortgage’s terms are close to current market, or the HELOC’s variable payment is the real pain, consolidation can be a clear win. The honest answer is that it is a genuine toss-up for many borrowers, and the stronger move is to compare the blended cost of the old pair against the new single loan before committing.
Costs matter too. Expect appraisal, title and payoff charges. Closing costs can be financed within the leverage limit, but that reduces the cash available to you.
Where the General Rule Breaks
A few edge cases change the classification or the eligibility.
- Purchase-money piggyback. A purchase-money second lien that is rolled into a limited cash-out refinance does not trigger cash-out pricing. Freddie Mac’s no-cash-out section likewise allows payoff of junior liens used entirely to acquire the property.
- Disaster repairs. Fannie Mae has a narrow exception allowing a limited cash-out refinance of a non-purchase second used for disaster-related repairs. The financing, including HELOC draws, must post-date the disaster, and the lender must document that the repairs were completed. See Fannie Mae’s disaster flexibilities.
- Free-and-clear homes. Freddie Mac treats a new mortgage on a property previously owned free and clear as cash-out.
- HELOC as the first lien. A first-lien HELOC is among the exceptions to the 12-month test on Freddie Mac’s side.
- Manufactured homes. Single-width manufactured housing is not eligible for cash-out on a principal residence, and other manufactured-home limits are lower. Check Fannie Mae’s manufactured housing matrix.
- PACE obligations. Loans sold to Freddie Mac must be in first-lien position and stay there, so a PACE obligation can need to be paid off in the refinance.
- Occupancy. A conventional cash-out can be written on a primary residence, a second home or an investment property, although the mechanics in this article assume a primary residence unless noted. Occupancy sets the leverage: 80% on a one-unit primary residence, 75% on two- to four-unit primary residences, second homes and investment property.
- High LTV refinance. This is a limited cash-out option for borrowers above the standard limited cash-out maximum. It is not a way to pay off a non-purchase second.
- Texas. Some states, Texas among them, have their own cash-out rules. On a Texas homestead, a Section 50(a)(6) cash-out is capped at 80% of the home’s value by the state constitution. Ask your loan officer how your state treats it.
What Do Lenders Look For?
Qualification comes down to a short list: what the second originally funded, combined leverage against the cap, credit score, ratios, reserves, the seasoning clocks and the appraised value.
On ratios, manually underwritten loans run at 36% or 45%, with reserve and score factors from the agency Eligibility Matrix. The Fannie Mae Eligibility Matrix shows that minimum reserves apply to cash-out refinances on automated files with ratios above 45%. Credit events carry waiting periods set by the agencies: four years from a chapter 7 discharge, seven from a foreclosure, four from a short sale or deed-in-lieu, shorter with documented extenuating circumstances.
One more point on mortgage insurance. It is required above 80% leverage on the agency path, and it can be cancelled at 80% of original value and ends automatically at 78%. For cash-out that matters less, because the cap is 80% on a one-unit primary residence. There is one exception worth knowing: a wholesale lane reaches 89.99% leverage with no mortgage insurance at a 680 score and a 50% ratio on a thirty-year fixed, primary residence and conforming balance, with its own six months of seasoning. It is not written in Texas.
Documents to gather: payoff statements for both liens, recent mortgage and HELOC statements, proof of income and assets, homeowners insurance, and identification of what the second funded (purchase documents if you claim it was purchase-money). All of it is subject to lender guidelines.
Common Mistakes That Derail These Files
- Assuming a HELOC payoff is rate-and-term because no cash is coming back.
- Forgetting the 12-month first-lien test and the six months on title.
- Treating the 95% or 97% limited cash-out limit as if it applied.
- Keeping the second without checking whether its lender will resubordinate.
- Ignoring that financed closing costs shrink the available cash.
- Leaving the HELOC open after payoff, when the lender will typically want it frozen and closed.
What Are the Alternatives?
If the numbers do not favor giving up your first mortgage, options include keeping both loans, refinancing only the second into a new fixed-term home equity loan, or opening a new HELOC. Each avoids re-pricing the first mortgage, though each carries its own terms.
If you are weighing a cash-out refinance against keeping the loan you have, Lendmire can help you compare the programs and the equity each one reaches.
Frequently Asked Questions
Do I have to pay off my HELOC when I refinance my first mortgage?
Not always. You can keep it if the HELOC lender agrees to resubordinate behind the new first mortgage. If you take cash out while keeping the second, the loan is still cash-out, and the second counts toward the combined leverage cap.
Does my HELOC need to be 12 months old?
The 12-month seasoning test applies to the first mortgage being paid off, not the second. Confirm with your loan officer how your lender treats the age of the second lien. You also need six months on title, with exceptions for delayed financing, inheritance and legal awards.
What if my second mortgage was a piggyback from when I bought?
It can generally be paid off in a limited cash-out refinance, which avoids cash-out pricing. Lenders usually ask for the purchase title policy or closing documents to prove the second was purchase-money.
Can I cancel after signing?
Yes, on a refinance of your principal residence you have until midnight of the third business day to cancel, with Saturdays counting. Waiver is allowed only for a bona fide personal financial emergency, and funds generally are not disbursed until the period ends.
How much cash can I take beyond the payoffs?
The leverage cap sets the ceiling, which is 80% on a one-unit primary residence. Financed closing costs reduce the cash available, and everything depends on the appraised value, lender guidelines and full file review. Nothing here is a commitment to lend.
For your own numbers, request a scenario review with Lendmire.
About Lendmire
Lendmire — NMLS# 2371349 — is a mortgage broker that arranges FHA, VA, conventional and jumbo home purchase and refinance financing in 16 states through wholesale lenders. Every option is subject to the lender’s guidelines and full underwriting. Scotsman Guide named Lendmire a Top Mortgage Workplace in both 2025 and 2026.
For the program’s current guidelines, see conventional loan programs.
Get Started
Ready to find the right loan for you?
See your offer in seconds. No credit pull, no obligation.
Informational only. Not a Loan Estimate, approval, or commitment to lend. Program availability and eligibility are subject to lender guidelines, credit approval, property review, and underwriting.
References
1. Fannie Mae Selling Guide B2-1.2-04, Subordinate Financing
2. Freddie Mac Guide §4301.5, Cash-out refinance
3. Fannie Mae Selling Guide B2-1.3-02, Limited Cash-Out Refinance Transactions
4. Freddie Mac Cash-Out Refinance product page
5. CFPB: How Long Do I Have to Rescind When Does the Right of Rescission Start
6. Fannie Mae Selling Guide B2-1.3-03, Cash-Out Refinance Transactions
7. Fannie Mae’s disaster flexibilities
8. Fannie Mae’s manufactured housing matrix
9. Fannie Mae Eligibility Matrix
This article is part of Lendmire’s cash-out refinance program — full qualification details, guidelines, and scenarios live on the program page.
Related reading: Can You Get Approved for a Cash-Out Refinance With Conventional 12-Month Seasoning? · How Reserves Are Verified on a Conventional Cash-Out Refinance? · Can You Use a Conventional Cash-Out Refinance Right After a Rehab?
Brandon Miller
Founder & CEO, Mortgage Loan Originator, Lendmire LLC
- Mortgage Loan Originator · NMLS# 1129696 · Verify on NMLS Consumer Access
- North Carolina Real Estate Broker · License# 343312 · Verify on NCREC
- North Carolina Insurance Producer · License# 19053198 · Property, Casualty, Life, Health · Verify on NAIC SBS
- Lendmire LLC · Firm NMLS# 2371349 · Verify firm licensure
Required disclosures. Lendmire (NMLS# 2371349) operates as a licensed mortgage broker, not a direct lender or depository. The discussion in this article is general in nature and should not be relied upon as financial, legal, or tax advice — every investment scenario is unique and should be reviewed by a qualified professional. Any loan inquiry is subject to lender underwriting, and this article is not a commitment to lend or a guarantee of approval. Mortgage rates, loan terms, and program guidelines vary by borrower, property, and state, and may change without notice. Equal Housing Opportunity. Verify licensure at NMLS Consumer Access.