The Mechanic's Lien That Survives Your Los Angeles County Foreclosure Purchase
The $87,000 Surprise in Glendale
An investor purchased a single-family residence at a Los Angeles County trustee sale in August 2023. The property, located in Glendale, sold for $478,000—approximately $120,000 below comparable sales in the neighborhood. The foreclosing lender was a regional bank holding a deed of trust recorded in March 2019. The title appeared clean at auction: one senior deed of trust in foreclosure, property taxes current, no visible lis pendens beyond the foreclosure itself.
Sixty days after recording the trustee's deed, the investor received a demand letter from a roofing contractor claiming an unpaid balance of $87,400 for work performed between November 2022 and February 2023. The mechanic's lien had been recorded in April 2023—more than four years after the deed of trust. The investor assumed the lien was junior and had been wiped out by the foreclosure sale.
The contractor's attorney disagreed. Under California's relation-back doctrine, the mechanic's lien's priority dated not to its recording but to the commencement of the work of improvement on the property. A kitchen and bathroom remodel had begun in September 2022—after the deed of trust was recorded, but before the roofing work. However, the overall "work of improvement" that included the roof had actually commenced in June 2018, when the original owner hired a general contractor to begin a phased renovation project that continued intermittently over several years.
Because the work of improvement commenced before the March 2019 deed of trust was recorded, the mechanic's lien related back to June 2018—making it senior to the foreclosed deed of trust. The investor now owned a property encumbered by an $87,400 lien that survived the trustee sale.
How California's Relation-Back Doctrine Creates Hidden Senior Liens
California Civil Code Section 8450 establishes the priority framework for mechanic's liens. The statute provides that a mechanic's lien has priority over any lien, mortgage, deed of trust, or other encumbrance that attaches after the commencement of the work of improvement. The critical phrase is "commencement of the work of improvement"—not the commencement of the specific claimant's work, and not the recording of the lien itself.
Under California Civil Code Section 8002, "commencement of construction" means the first actual and visible work of improvement. This includes site preparation, demolition, grading, or the delivery of materials to be used in the construction. A dumpster placed on the driveway for a demolition project can constitute commencement. Surveying stakes driven into the ground can constitute commencement. The delivery of lumber that sits on the property for weeks before framing begins can constitute commencement.
The relation-back doctrine means that every mechanic's lien arising from a work of improvement relates back to the single commencement date—regardless of when individual contractors started their specific tasks. A roofer who begins work three years after the foundation was poured still claims priority as of the foundation date, provided the roof is part of the same continuous work of improvement.
California Civil Code Section 8052 attempts to define when a work of improvement is "completed" (which starts certain claimant deadlines), but the statute does not cleanly address when one work of improvement ends and a new one begins. Courts have generally held that a work of improvement continues as long as there is no substantial cessation of work combined with the owner treating the project as complete. A phased renovation project—common in Los Angeles where owners frequently update properties incrementally—can constitute a single work of improvement spanning years.
This creates the precise trap that caught the Glendale investor. A deed of trust recorded in the middle of a multi-year renovation project may be junior to mechanic's liens that won't be recorded until years later.
The 90-Day Notice Requirement That Doesn't Protect You
California Civil Code Section 8416 requires that a preliminary notice (commonly called a "20-day preliminary notice") be given by most claimants as a prerequisite to recording a valid mechanic's lien. This notice must be served on the property owner, the construction lender, and the general contractor within 20 days of the claimant first furnishing labor or materials. The notice preserves the claimant's lien rights for work performed up to 20 days before the notice was served and all work thereafter.
Investors sometimes assume this preliminary notice requirement provides protection—that if no preliminary notices were served, no valid mechanic's liens can exist. This assumption is dangerous for two reasons.
First, general contractors and laborers providing actual labor for wages are exempt from the preliminary notice requirement under California Civil Code Section 8200(e). A general contractor can record a mechanic's lien without ever having served a preliminary notice. If the foreclosed property was being renovated by a general contractor who performed work with his own hands (rather than purely supervising subcontractors), that contractor's lien rights may be intact even without preliminary notice.
Second, the preliminary notice is served on the owner—not recorded in the public record. Unless the owner or lender files the preliminary notices with the county recorder (which they have no obligation to do), there is no public record of which contractors have preserved their lien rights. An investor examining the recorded documents in Los Angeles County will not find preliminary notices indexed with the property.
The 90-day rule that investors occasionally reference is actually the deadline for recording a mechanic's lien after completion. Under California Civil Code Section 8412, a claimant other than a direct contractor must record the mechanic's lien within 90 days after completion of the work of improvement. A direct contractor has 90 days under Section 8412 as well, but may also have additional time if they recorded a claim of lien and then filed suit within the required timeframe.
This 90-day window runs from completion of the entire work of improvement—not from completion of the individual claimant's scope. If a work of improvement is still ongoing at the time of foreclosure, no mechanic's liens may have been recorded yet, but multiple contractors may have preserved their lien rights through preliminary notices. Those contractors can record their liens within 90 days after the work of improvement is eventually completed—which could be after the investor takes title and finishes the renovation themselves.
Why Standard Title Searches Fail in This Scenario
A conventional title search for a Los Angeles County trustee sale examines recorded documents: deeds, deeds of trust, mechanic's liens, judgment liens, tax liens, and lis pendens. If no mechanic's lien has been recorded prior to the foreclosure sale, the title search will not reveal it.
But the absence of a recorded mechanic's lien is not the same as the absence of mechanic's lien rights. The relation-back doctrine means the priority of a mechanic's lien is established by construction activity—not by recording. A contractor who has served proper preliminary notice and performed work within a continuing work of improvement has lien rights that predate the recording.
Moreover, Los Angeles County does not have a publicly searchable database of preliminary notices. The preliminary notices are private communications between the claimant, the owner, the lender, and the general contractor. The California Contractors State License Board does not collect or index preliminary notices. The Los Angeles County Registrar-Recorder/County Clerk does not index preliminary notices unless someone voluntarily records them (which is rare, because there is no legal benefit to recording a preliminary notice).
The only publicly recorded documents in a construction scenario are:
- Building permits (searchable through the Los Angeles Department of Building and Safety, but not indexed by the title plant)
- Recorded mechanic's liens (indexed by the title plant, but only after recording)
- Stop payment notices (filed with construction lenders, not recorded with the county)
- Notices of completion (recorded by the owner after the work is done, which starts the 90-day clock—but owners frequently fail to record these)
Without a notice of completion recorded by the owner, the 90-day deadline does not even begin to run until actual completion of the work of improvement. An owner in financial distress—the typical situation preceding a foreclosure—rarely records a notice of completion, because doing so accelerates contractor payment deadlines. This means contractors have extended time to record their liens after the trustee sale.
A title search will also miss building permits, because the Los Angeles Department of Building and Safety's permit database is separate from the county recorder's grantor-grantee index. A permit for a $200,000 renovation pulled eighteen months before the foreclosure is a red flag that substantial contractor work may have been performed—but that permit will not appear in a standard title report unless someone specifically requests a permit search as a supplemental inquiry.
What TitlePin Would Have Shown
A TitlePin report for this Glendale property would have flagged multiple risk indicators before the investor placed a bid.
First, the report would have shown the recorded deed of trust date (March 2019) alongside any indexed construction-related recordings—including any mechanic's liens recorded before or after that date, any lis pendens filed by contractors, and any recorded notices of completion or cessation. The absence of a notice of completion is itself a flag: it indicates the 90-day mechanic's lien deadline may not have started running.
Second, TitlePin's property profile would have correlated permit data where available, alerting the investor that building permits for substantial work existed on the property. A permit for roof work, combined with no recorded mechanic's lien for roofing, suggests either the roofer has been paid or the roofer's lien deadline has not yet expired. The investor would know to investigate further before bidding.
Third, the report would have noted the gap between the deed of trust recording date and the permit dates. When permits predate the deed of trust, the investor knows immediately that any mechanic's liens arising from that permitted work will have priority over the foreclosing lender. In the Glendale case, permits from June 2018 predated the March 2019 deed of trust—meaning the work of improvement commenced before the deed of trust attached.
Fourth, TitlePin's lien timeline visualization would have shown the investor the precise relationship between recorded encumbrances and the commencement date of construction activity. Instead of assuming the April 2023 mechanic's lien recording date established its priority, the investor would have seen that the lien's effective priority date related back to 2018.
Armed with this information, the investor could have reduced their bid by $87,400 (the lien amount) plus an additional cushion for legal fees to resolve the dispute—or walked away entirely if the numbers no longer worked.
The Direct Contractor Exception and Why It Matters
California Civil Code Section 8200(e) exempts direct contractors from the preliminary notice requirement. A direct contractor is a contractor who has a direct contractual relationship with the property owner (or the owner's agent)—as opposed to a subcontractor whose contract is with the general contractor.
In practice, this means a general contractor who performed work on the foreclosed property can record a mechanic's lien without ever having served a preliminary notice. The investor cannot rely on the absence of preliminary notices in the file to conclude that no valid contractor claims exist.
Additionally, laborers who provide actual labor for wages (as opposed to contractors providing materials or labor through a business entity) are also exempt from the preliminary notice requirement. A framing crew's individual workers, if unpaid, could potentially assert mechanic's lien rights without having served any preliminary notice—though this is less common because individual laborers rarely record mechanic's liens.
For the foreclosure investor, this means that even if the previous owner claims "no contractors sent preliminary notices," valid mechanic's lien rights may still exist for the general contractor and certain laborers. The only way to discover these potential claims is to investigate the construction history of the property: pull permits, identify contractors, and determine whether they have been paid.
The Foreclosure Sale Does Not Always Extinguish Junior Liens
Californian investors sometimes operate under the assumption that a trustee sale extinguishes all junior liens—and therefore even if a mechanic's lien exists, it will be wiped out if it is junior to the foreclosed deed of trust.
This assumption is correct as to junior liens. California Civil Code Section 2910 and the general principle of "first in time, first in right" mean that a properly conducted trustee sale under a senior deed of trust will extinguish junior mechanic's liens.
But the relation-back doctrine can make a mechanic's lien senior—not junior. If the work of improvement commenced before the deed of trust was recorded, the mechanic's lien has priority over the deed of trust, and the trustee sale does not extinguish it.
The trustee sale extinguishes liens junior to the foreclosing instrument. It does not extinguish liens senior to the foreclosing instrument. A mechanic's lien with a relation-back priority date earlier than the deed of trust survives the foreclosure exactly like a senior property tax lien or a senior deed of trust would survive.
In the Glendale scenario, the mechanic's lien related back to June 2018. The deed of trust was recorded in March 2019. The mechanic's lien was senior. The trustee sale did not extinguish it.
Practical Steps for Los Angeles County Foreclosure Bidders
Before bidding on any Los Angeles County trustee sale property, the investor should take the following steps beyond the standard title search:
Pull building permits from LADBS. The Los Angeles Department of Building and Safety maintains an online permit database searchable by address. Identify all permits pulled in the years preceding the foreclosure. Note the permit dates relative to the deed of trust recording date. If permits predate the deed of trust, any mechanic's liens arising from that work will have priority.
Inspect the property for visible construction. California Civil Code Section 8002 defines commencement as the first "actual and visible" work. If you can see evidence of recent construction—new roofing, fresh framing, a dumpster, material deliveries—construction is likely ongoing or recently completed. Lien rights may exist.
Search for recorded notices of completion. If the owner recorded a notice of completion, the 90-day mechanic's lien deadline has started running. If the deadline has passed without a lien being recorded, lien rights are likely extinguished. If no notice of completion was recorded, the deadline has not started.
Request a TitlePin report specifically identifying the construction timeline. The correlation between deed of trust recording dates and permit/construction commencement dates is the critical analysis. A standard title search does not perform this analysis.
Bid accordingly. If there is any indication of unresolved construction work with no recorded mechanic's liens, assume liens may be recorded post-sale. Reduce the bid by the estimated lien amounts plus legal contingency.
Key Takeaways
California's relation-back doctrine (Civil Code Section 8450) can make a mechanic's lien recorded after a deed of trust senior to that deed of trust—if the work of improvement commenced before the deed of trust was recorded.
The 90-day mechanic's lien recording deadline runs from completion of the entire work of improvement, not from the foreclosure date—and does not start at all unless a notice of completion is recorded.
Preliminary notices are not publicly recorded in Los Angeles County, so their absence from a title search does not mean contractors lack valid lien rights.
General contractors and laborers for wages are exempt from the preliminary notice requirement entirely (Civil Code Section 8200(e)).
Building permits from LADBS are not indexed in the county recorder's title plant and must be searched separately to identify construction activity predating the deed of trust.
Sources
- California Civil Code Section 8450 (mechanic's lien priority)
- California Civil Code Section 8002 (definition of commencement of construction)
- California Civil Code Section 8052 (completion of work of improvement)
- California Civil Code Section 8412 (90-day deadline to record mechanic's lien)
- California Civil Code Section 8416 (preliminary notice requirement)
- California Civil Code Section 8200(e) (exemption from preliminary notice for direct contractors and laborers)
- California Civil Code Section 2910 (lien priority rules)
- Los Angeles Department of Building and Safety permit records (https://www.ladbs.org)
- Los Angeles County Registrar-Recorder/County Clerk (recorded document searches)