Loading

What Is a Second Lien?

A second lien is a lender's claim on a home that ranks behind the first mortgage. A home equity loan or line of credit taken out while a first mortgage is still in place is a second lien. If the home is sold to pay the debts, the first loan is paid before the second.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"

Key Takeaways

  • A second lien, also called a junior lien, is a loan secured by your home while another loan is still secured by it.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
  • Fannie Mae requires a second lien to have a promissory note, a recorded mortgage or deed of trust, and to be clearly behind the first mortgage.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
  • If a second lien stays in place when the first mortgage is refinanced, Fannie Mae requires a recorded resubordination agreement, unless state law keeps the lien in its place.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
  • Under Fannie Mae's rules, paying off a second lien that was not used to buy the home makes the loan a cash-out refinance, even with no cash to you.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
  • On an FHA cash-out refinance, all loans on the home together can reach 80% of the adjusted value.[3]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)

How a Second Lien Works

A lien is a lender's legal claim on the home until its loan is paid off. When a home secures two loans, the claims line up in order. The first mortgage holds the first lien, and the loan behind it holds the second.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"

The order matters when the home is sold to pay the debts. The first loan is paid first, and the second is paid from what is left, so the CFPB says second liens often carry higher rates.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?" The second mortgage page covers the kinds of second loans and your right to cancel one.

A home equity loan on a home that already has a mortgage is a second lien with its own separate payment.[4]Consumer Financial Protection Bureau, "Using home equity to meet financial needs" (Older Americans Housing Guide) At GoodLoan, the home equity loan has a fixed rate and leaves the first mortgage as it is.

What Makes a Lien a Second Lien

Fannie Mae, which buys many first mortgages, sets out what it accepts behind its loans. A second lien must be:[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

  • evidenced by a promissory note, the borrower's written promise to repay;
  • reflected in a recorded mortgage, deed of trust or other security instrument; and
  • clearly subordinate to the first mortgage, meaning it ranks behind it.

The lender must tell Fannie Mae, the appraiser and the mortgage insurer about the second lien and its repayment terms.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) Every lien behind the first counts when the lender works out the combined loan-to-value ratio, even one signed by someone else, such as a business loan secured by the home.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Subordination, Plainly

Subordination is an agreement that one lien stays behind another. It comes up when you refinance the first mortgage but keep the second.

The refinance pays off the old first mortgage, and a new first loan is recorded. The holder of the second lien has to agree to stay behind the new first loan. Fannie Mae requires that agreement, a resubordination agreement, to be signed and recorded.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

There are two limits to that rule:

  • If state law lets the second lien keep its place behind the new first loan, Fannie Mae does not require the agreement.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
  • Title insurance does not replace it. Fannie Mae still requires the new first loan to be free of liens that rank ahead of it.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

FHA has the same idea on a streamline refinance. A second lien already in place when FHA assigns the new loan its case number, its file number, must be resubordinated to the new loan.[3]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)

What a Refinance Does With a Second Lien

When a refinance follows Fannie Mae's rules, Fannie Mae classes the loan by what happens to the second lien. A purchase-money second is a second loan used to buy the home.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

The refinance pays off the first mortgage andFannie Mae treats it as
Pays off a purchase-money second, with no cash outLimited cash-out refinance
Pays off a second that was not used to buy the homeCash-out refinance, with or without more cash
Leaves the second in place, with no cash out beyond the limited amountLimited cash-out refinance, with the second resubordinated
Leaves the second in place and takes cash outCash-out refinance

Source for this table: Fannie Mae Selling Guide B2-1.2-04.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) A Fannie Mae cash-out refinance may pay off second liens of any age.[5]Fannie Mae, Selling Guide B2-1.3-03, Cash-Out Refinance Transactions (12/10/2025)

FHA sets its own rules. On a cash-out refinance, the first loan and all loans behind it together can reach 80% of the adjusted value.[3]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)

On a rate-and-term refinance, the new loan can pay junior liens more than 12 months old. If more than $1,000 was drawn on a line of credit in the past 12 months for anything other than repairs to the home, the part above $1,000 cannot be included in the new loan.[3]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)

Example of a Second Lien in a Refinance

These are example numbers, not an offer. The home is worth $400,000, with $240,000 on the first mortgage and $40,000 on a home equity loan taken out after the purchase.

ChoiceWhat happens to the second lienAll loans on the home
Refinance the first mortgage onlyStays, and must be resubordinated$280,000, or 70% of the value
Pay off both with one loan under Fannie Mae's rulesPaid off, so the refinance is a cash-outOne loan of $280,000 plus costs

In the second row, no extra cash reaches the borrower, yet Fannie Mae's rules still class the loan as a cash-out refinance.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Second Lien vs First Lien

First lienSecond lien
Order of payment at a sale to pay the debtsPaid first[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"Paid from what is left[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
Typical rateLowerOften higher[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
When the first mortgage is refinancedReplaced by the new loanPaid off or resubordinated[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
Counted in combined loan-to-valueYes[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)Yes[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Frequently Asked Questions

Is a second lien the same as a second mortgage?

Yes. The CFPB uses "second mortgage" and "junior lien" for the same thing: a loan secured by your home while another loan is still secured by it.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"

What is a subordination agreement?

It is a recorded agreement in which a lender agrees its lien stays behind another one. Fannie Mae requires one when a second lien stays in place through a refinance, unless state law keeps its place.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Can I refinance my first mortgage and keep my home equity loan?

Often yes, if the home equity loan's lender agrees to resubordinate. Fannie Mae requires that agreement to be signed and recorded.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Does paying off a second lien make my refinance a cash-out?

Under Fannie Mae's rules, it does when the second lien was not used to buy the home, even if no other cash reaches you.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)

Is a HELOC a second lien?

Yes, when the home already has a first mortgage. Home equity lines of credit, the HELOCs people search for, are a common kind of second mortgage.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"

The Bottom Line

A second lien is a loan claim on a home that ranks behind the first mortgage, paid only after the first loan is paid. When the first mortgage is refinanced, the second lien is either paid off or kept behind the new loan through subordination.

The guide to how a second lien or HELOC affects your refinance goes deeper. See more terms in the GoodLoan glossary and the refinance and home equity guide.

Want to see this on your own numbers? We look them up for you, with no impact on your credit score. Call, text or chat (866) 599-0088, 8am to 8pm Eastern.

Article Sources

GoodLoan writers use primary sources only: regulators, government agencies, program handbooks and filings.

  1. Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?". https://www.consumerfinance.gov/ask-cfpb/what-is-a-second-mortgage-loan-or-junior-lien-en-105/. Accessed 11/24/2026. ↩
  2. Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025). https://selling-guide.fanniemae.com/sel/b2-1.2-04/subordinate-financing. Accessed 11/24/2026. ↩
  3. U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026). https://www.hud.gov/sites/default/files/Housing/documents/40001-hsgh-Update-18.pdf. Accessed 11/24/2026. ↩
  4. Consumer Financial Protection Bureau, "Using home equity to meet financial needs" (Older Americans Housing Guide). https://files.consumerfinance.gov/f/documents/cfpb_jith-using-home-equity-guide.pdf. Accessed 11/24/2026. ↩
  5. Fannie Mae, Selling Guide B2-1.3-03, Cash-Out Refinance Transactions (12/10/2025). https://selling-guide.fanniemae.com/sel/b2-1.3-03/cash-out-refinance-transactions. Accessed 11/24/2026. ↩