
Real estate curriculum · Chapter 21 of 30
Liens and foreclosure
Voluntary and involuntary, specific and general liens; priority by recording, tax liens first, mechanic's liens and subordination; what a foreclosure sale pays and wipes out; deficiency judgments; equitable and statutory redemption, deeds in lieu and short sales. With a 3D lien auction to play.
21.1Section 21.1
Kinds of liens

Who made it, and how much it reaches
A lien is voluntary when the owner creates it (a mortgage) and involuntary when the law imposes it (taxes, mechanic's liens, judgments). It is specific when it attaches to one property and general when it reaches all of the debtor's property.
Both questions decide what a creditor can take: a specific lien is tied to one parcel, a general lien follows the debtor.
- A mortgage is voluntary and specific. Property tax and special assessment liens are involuntary and specific: the law puts them on the parcel taxed or improved. A mechanic's lien, for unpaid work or materials that improved the property, is involuntary and specific too.
- A judgment lien is involuntary and general: it attaches to all of the debtor's real property in the county where it is recorded. A federal tax lien for unpaid income tax is involuntary and general as well.
- Every lien is an encumbrance, but not every encumbrance is a lien. An easement or a deed restriction limits the use of land without securing a debt. A lis pendens, recorded notice that a lawsuit affecting the property is pending, is not a lien either.
Exam trapHiring a contractor does not make a mechanic's lien voluntary. The owner agreed to the work, not to the lien; the law creates it.
21.2Section 21.2
Who is first in line

Taxes first, then first in time
Property tax and special assessment liens generally come ahead of all other liens, even older ones. The rest rank by the date they were recorded: first in time, first in right.
Recording gives everyone notice; a lender who records first can rely on its place, and a later creditor knows it stands behind.
- A first mortgage recorded in 2016 ranks ahead of a second mortgage recorded in 2021, whatever their sizes. If the county's lien for 2025 property taxes attaches later, it still comes first.
- A mechanic's lien is the exception exam writers love. State law sets its priority date, and in many states it relates back to when the work began, so a contractor who started before a mortgage was recorded can rank ahead of it even though the lien was recorded after.
- A judgment lien ranks from its recording in the county. A federal tax lien is not a property tax lien and does not jump the line; it ranks from when it is filed.
- Lienholders can change the order by agreement. In a subordination agreement a lender agrees to stand behind a later lien, as when a home equity lender lets a refinanced first mortgage keep first place.
Exam trapA refinance is a new loan with a new recording date. Without a subordination agreement, it ranks behind every lien already recorded, even though it paid off the old first mortgage.
21.3Section 21.3
Foreclosure: the sale and the payout

Down the line until the money runs out
A foreclosure sale's price pays the costs of the sale, then unpaid property taxes, then the foreclosing lien, then each junior lien in order of priority; anything left goes to the borrower. The sale wipes out junior liens and leaves senior liens on the property.
Each lienholder took its place knowing who stood ahead; the sale honors that order and nothing more.
- Foreclosure is judicial (a lawsuit ending in a court-ordered sale) or nonjudicial (a sale under a power of sale clause in the mortgage or deed of trust, without a lawsuit). Which methods a lender may use is set by state law.
- In this chapter's example a house with $350,000 of claims sells for $300,000. Costs and taxes take $15,000, First Bank its $240,000, the mechanic's lien $30,000, and the second mortgage the last $15,000 of its $40,000. The judgment creditor gets nothing. Both are wiped out anyway; what they are owed remains an unsecured debt of the borrower.
- If the price does not cover the foreclosing loan, the gap is a deficiency. The lender may seek a deficiency judgment against the borrower personally where state law allows; some states limit them.
- When a junior lienholder forecloses, the senior liens stay. The buyer takes the house subject to them, and bids accordingly.
Exam trapWiped out is not paid. A junior lienholder cut off by the sale loses its claim on the house, not the debt itself.
21.4Section 21.4
Redemption and other ways out
Before the sale in every state; after it in some
Until the foreclosure sale, a borrower may redeem by paying the debt in full with interest and costs: the equitable right of redemption. Some states add a statutory right of redemption after the sale, for a period state law sets.
Equity lets a borrower save the property until it is sold; only a statute can reopen a completed sale.
- Statutory redemption generally means repaying the sale price, with the interest and costs the statute allows. Where it exists, the buyer at the sale does not have a final title until the period ends.
- A deed in lieu of foreclosure is the borrower deeding the property to the lender instead. It is quicker and cheaper, but it is a voluntary transfer: the lender takes title subject to any junior liens, which only a foreclosure sale would have cut off.
- In a short sale the lender agrees to accept less than it is owed so the owner can sell to a buyer. Whether the borrower still owes the rest depends on the agreement and on state law.
- Many states have homestead laws that protect some of an owner's equity in a home from certain creditors. They generally do not stop a mortgage lender the owner gave a lien to, or the tax collector; the details are state law.
Exam trapA deed in lieu does not clear the title. If there are junior liens, the lender usually forecloses instead.
21.5Section 21.5
Play it out: the lien auction
Build the line, then run the sale
Priority decides who is paid; who forecloses decides what is wiped out; agreements and state law decide the rest.
Every question in this chapter is one of these moves on one house.
- The scene below starts in 2016 with a single mortgage and records each new lien as the years pass. Put each one where it ranks, then let First Bank foreclose and watch the price pour down the stairs.
- Then change who forecloses, sign a subordination agreement, and find where redemption ends. Every number is the example's assumption.
Exam trapAsk who is foreclosing before asking who gets paid: senior liens are never touched by a junior's sale.
✓Apply it to a new case
A new case
Field exercise · Simulated site photographs
Change the proceeds, keep the priority

What to look for
Record each claim in its stipulated priority before distributing proceeds.
Case record
After sale costs $215,000 remains. A senior lien claims $200,000 and a junior lien claims $30,000. Assume no other claims.
View supporting photograph
