If you have a first mortgage and a HELOC or a second mortgage on the same house, a refinance has one extra question attached to it: what happens to the second loan? You have three real answers. You can keep it, fold it into the new loan, or pay it off first. Each one changes the paperwork, the cost, and sometimes what kind of refinance you are even allowed to do.
Plenty of careful homeowners find this out halfway through an application. That is not a planning failure on their part. The rules sit in underwriting guidelines most people never see. This guide lays them out in plain English, then shows you how to weigh HELOC vs refinance using your own numbers.
Why a second lien changes the refinance
A HELOC or home equity loan taken after your first mortgage is recorded as a second lien. Lien order matters because it sets who gets paid first if the home is ever sold or foreclosed. When you refinance, the old first mortgage is paid off and a new one is recorded. Left alone, the HELOC would move up into first position, and no new first mortgage lender will accept that.
So the second lien has to be dealt with before closing. The Consumer Financial Protection Bureau puts it directly: once you have a HELOC, you may need approval from the HELOC lender to refinance your first mortgage, and that lender can say no. If it does, you may need to pay the HELOC off to move forward.
That leaves the three paths.
Option 1: Keep the HELOC and ask for subordination
Subordination means the HELOC lender signs an agreement to stay in second position behind your new first mortgage. Your credit line survives, your HELOC terms stay the same, and only the first mortgage changes.
This tends to fit when:
- the HELOC balance is small or zero and you want to keep the line open for later
- the first mortgage is the only loan whose terms you want to change
- you want to avoid having the HELOC balance counted as cash out in the new loan
A few things to know before you count on it. The HELOC lender reviews the request on its own schedule, and it is not obligated to approve. Some charge a fee for the agreement. The new first mortgage lender will also look at your combined loan-to-value, meaning the new first mortgage plus the HELOC, measured against the appraised value. Some programs count the full line, not just what you have drawn. A $50,000 line with a $5,000 balance can still use up $50,000 of room.
Ask for the subordination early. A slow subordination is a frequent reason a refinance with a second mortgage closes later than planned, because the request often cannot even be submitted until the new loan amount and appraisal are settled.
Option 2: Fold the second lien into one new mortgage
Here the new first mortgage is sized to pay off both the old first and the HELOC or second. You leave closing with one loan and one payment.
The catch is how the refinance gets classified. Under current conventional guidelines, a second lien that was used to buy the home can generally be paid off inside a limited cash-out, or rate-and-term, refinance. A HELOC or home equity loan taken out later, for a kitchen, tuition, or credit cards, is usually a different story. Paying it off with the new loan typically makes the whole transaction a cash-out refinance, even if you never receive a dollar at the closing table.
That label matters because cash-out refinances usually come with a lower maximum loan-to-value and different pricing. For a one-unit primary residence, conventional cash-out refinances are commonly capped at 80% of the appraised value. If your first mortgage plus HELOC balance already sits above that line, consolidating may not be possible, or it may require bringing money to closing.
Where the transaction does qualify as limited cash-out, the cash you can walk away with is small by design. Current conventional guidelines cap it at the greater of 1% of the new loan amount or $2,000.
For veterans, the picture is similar in shape. A VA streamline refinance (IRRRL) generally requires the second lien holder to subordinate, since the IRRRL is built to replace the existing VA loan and not to pay off other debt. Rolling a HELOC into the new loan is normally done through a VA cash-out refinance, which carries its own VA eligibility and funding fee rules.
Option 3: Pay off the HELOC before you refinance
If you have savings earmarked for it, or the balance is small, paying the HELOC down to zero and closing the account removes the second lien from the conversation entirely. The refinance then involves one loan.
Two practical notes. First, paying the balance to zero does not by itself remove the lien. The account has to be closed and the lien released, so ask the HELOC lender for written confirmation of the payoff and the release. Second, weigh what you give up. An open line of credit is a cushion. Closing it to simplify a refinance makes sense for some households and costs others a safety net they would have to rebuild later.
HELOC vs refinance: compare the blended rate, not the headline rate
This is the part where smart people get misled, and it is not their fault. A first mortgage at a low rate looks like the prize worth protecting at any cost. The number that actually describes what your housing debt costs you is the blended rate across both loans.
Here is how to figure yours:
- Multiply your first mortgage balance by its interest rate.
- Multiply your HELOC or second mortgage balance by its interest rate.
- Add the two results together.
- Divide by your combined balance.
Say your first mortgage statement shows $240,000 at 3%, and your HELOC statement shows $60,000 at 9%. These are placeholder numbers, so swap in your own.
- $240,000 × 3% = $7,200
- $60,000 × 9% = $5,400
- $7,200 + $5,400 = $12,600
- $12,600 ÷ $300,000 = 4.2%
Your real cost of borrowing is 4.2%, not 3%. That is the fair benchmark for any single new loan you are considering. A consolidated loan can look worse than your first mortgage and still be better than what you are paying today.
The blended rate is the starting point, not the verdict. A full comparison also includes:
- closing costs on the new loan, and how many months of savings it takes to recover them
- whether you are restarting a 30-year clock on money you had already paid down for years
- the difference between a fixed rate and a HELOC rate that can move
- total interest paid over the time you realistically expect to keep the loan
- your monthly payment today versus after the HELOC draw period ends
That last point needs a closer look.
Watch the end of the HELOC draw period
Most HELOCs have a draw period, often around ten years, when you can borrow and may only owe interest. After that comes a repayment period where principal comes due as well. The CFPB's guide to home equity lines of credit explains that payments can rise sharply at that point, and some plans require a large balloon payment at the end.
If your draw period is ending within the next year or two, look at the payment you will owe once principal kicks in, not the payment you make today. Many homeowners who decide to consolidate are really responding to that future payment. It is better to run that math before the change arrives than after the first higher bill.
Don't assume the interest stays deductible
A common assumption is that HELOC interest is always tax deductible. Under IRS rules, interest on home equity debt is generally deductible only when the money was used to buy, build, or substantially improve the home that secures the loan. Borrowing against your house to pay off credit cards or a car does not qualify. The details, including the loan limits that apply, are in IRS Publication 936. If taxes are part of your decision, a quick conversation with a tax professional is worth having before you choose a path.
What slows these refinances down
Knowing the usual snags lets you get ahead of them:
- a subordination request submitted late, or sitting in the HELOC lender's queue
- a payoff statement that expires before closing, or one that does not include per-diem interest
- a line that stays open after payoff, so the lien is never released
- a new draw on the HELOC after you apply, which changes the numbers underwriting already approved
- an appraisal that comes in lower than expected, pushing combined loan-to-value past a program limit
The best protection is to avoid new draws on the line once you start the process, and to tell your loan officer about the HELOC on day one, including its credit limit and not just its balance.
Your right to cancel
When you refinance a primary residence with a new lender, federal rules often give you a right of rescission, which is three business days after closing to cancel the transaction. The loan funds after that window closes. Plan payoffs of the old first and the HELOC around that timing so you are not surprised by a few extra days of interest.
A calm first step
You do not need to decide between these options on your own tonight. Pull the latest statement for each loan, write down the balance, rate, and credit limit on your HELOC, and note when its draw period ends. That single page is enough for a GoodLoan loan officer to show you what each of the three paths would cost, side by side, in total dollars and not just in rate.
We are licensed through the NMLS, and we say no a lot. If keeping your current loans is the better move, we will tell you that plainly.
Frequently asked questions
Can I refinance my first mortgage and keep my HELOC?
Often, yes. The HELOC lender has to agree to subordinate, meaning it stays in second position behind the new first mortgage. It can decline, and your new lender will check that your combined loan-to-value, including the full credit line, fits the program.
Does paying off a HELOC in a refinance count as cash out?
Under current conventional guidelines it usually does, unless the second lien was used to buy the home. A HELOC opened later for other purposes is typically treated as cash out when it is paid off with the new loan, which can lower the maximum loan-to-value.
Is it better to keep a HELOC or consolidate into one mortgage?
It depends on your blended rate, closing costs, how long you plan to keep the loan, and whether your HELOC payment is about to rise. Compare the total cost of each path over the years you expect to stay, not just the rate on the first mortgage.
How long does a subordination agreement take?
It varies by HELOC lender. Some return it in days, others take several weeks. Start the request as early as your loan officer allows so it does not hold up closing.
Will closing my HELOC hurt my credit?
Closing a credit line reduces your total available credit, which can affect your credit utilization. How much it matters depends on the rest of your credit profile, so if you plan other borrowing soon, ask about timing before you close the line.