When you sell a house that has a HELOC on it, the HELOC gets paid off at closing from the sale money — before you receive any cash. A HELOC is a loan tied to your home, so it must be cleared when the home changes hands. The good news is that this usually happens automatically as part of the sale. I’ve walked many sellers through this, and once you understand the order things get paid, it’s simple. Let me explain.
Why a HELOC Must Be Paid Off When You Sell
A HELOC is secured by your home, which means your home is the guarantee for the loan. This is called a lien — a legal claim on your property. You can’t hand a clean home to a buyer while a lien is still attached, so the HELOC has to be paid off and the lien removed before the sale can finish.
Think of it like selling a car that still has a loan on it. Before the new owner can get a clear title, the old loan has to be paid off. A home works the same way — the HELOC gets cleared so the buyer receives the home free of your debts.
The Order of Payment at Closing
When your home sells, the money from the buyer is used to pay off what you owe, in a specific order. Here’s how it works:
| Order | What Gets Paid |
|---|---|
| 1st | Your first mortgage (the main home loan) |
| 2nd | Your HELOC or second mortgage |
| 3rd | Selling costs (agent fees, taxes, closing costs) |
| Last | Whatever is left over goes to you |
So your first mortgage gets paid first, your HELOC second, and you keep the rest. As long as your home sells for more than you owe, you’ll walk away with cash.
What If You Owe More Than the Home Sells For?
Here’s the situation to watch for. If your first mortgage plus your HELOC add up to more than your home sells for, there won’t be enough money to pay everyone. This is rare when you have good equity, but it can happen if home values drop or you’ve borrowed heavily.
If this happens, you have a few choices: pay the difference out of your own pocket, ask your lender about a “short sale” (where they agree to accept less), or delay selling until you have more equity. This is exactly why it’s smart to know your numbers before you list. To understand your equity, see our guide on how much you can borrow against your home.
Can You Keep Your HELOC After Selling?
No — once the home securing the HELOC is sold, that HELOC is closed. The line of credit was tied to that specific home, so it can’t move with you. If you want borrowing power on your next home, you’d open a new HELOC on the new property after you buy it.
One tip I share with clients: if you’re planning to buy before you sell, set up any new borrowing before you list your current home, because most lenders won’t approve a HELOC on a home that’s already on the market. To learn more, see our guide on using a HELOC for a down payment.
Steps to Take Before You Sell
- Check your payoff amount. Ask your HELOC lender exactly what you owe, including any fees.
- Watch for early-closure fees. Some HELOCs charge a fee if you close the line within the first few years.
- Know your equity. Make sure your home’s value comfortably covers both loans.
- Tell your agent and title company. They’ll handle paying off the HELOC at closing.
When you sell a home with a HELOC, the loan is paid off at closing from the sale proceeds — your first mortgage first, then the HELOC, then your selling costs, with the rest going to you. As long as your home is worth more than you owe, the process is smooth and automatic. Just check your payoff amount and any early-closure fee before you list, and remember the HELOC closes with the sale. Know your numbers, and selling with a HELOC is nothing to worry about.
Frequently Asked Questions
Do I have to pay off my HELOC when I sell my house?
Yes. Because a HELOC is secured by your home, it must be paid off when you sell, so the buyer receives the home free of your debts. The payoff happens automatically at closing, using the money from the sale. Your first mortgage is paid first, then your HELOC, before you receive any remaining cash. You don’t usually write a separate check — the title company handles it as part of the closing process.
What if my home doesn’t sell for enough to cover my HELOC?
If your first mortgage plus your HELOC total more than your sale price, there won’t be enough to pay both. This is uncommon with good equity, but possible if values drop. Your options include paying the shortfall from your own funds, pursuing a short sale where the lender accepts less, or waiting to sell until you’ve built more equity. Knowing your payoff amounts and your home’s value before you list helps you avoid this surprise.
Can I transfer my HELOC to my new home?
No. A HELOC is tied to the specific home used as collateral, so it can’t move with you. When you sell, that HELOC closes. If you want a line of credit on your next home, you’ll apply for a new HELOC after buying it. If you plan to buy before selling, set up any new borrowing before you list your current home, since lenders generally won’t approve a HELOC on a home that’s already for sale.
References
- Consumer Financial Protection Bureau. (2024). What is a lien?
Home Equity Mart is not a lender and does not make credit decisions. This article is general education, not financial or legal advice. Verify any lender’s license at NMLS Consumer Access.


