California's 90-Day Mechanic's Lien Notice: The Pre-Foreclosure Trap That Wipes Out Investor Equity
The $87,000 Surprise in Riverside County
An investor purchased a single-family residence at a Riverside County trustee sale in March 2024 for $340,000—approximately 78% of the estimated after-repair value. The property had been through a standard non-judicial foreclosure under a first-position deed of trust. Title appeared clean at the recorder's office: the foreclosing lender was the senior lienholder, and no mechanic's liens appeared of record when the investor ran a last-owner search two days before the sale.
Six weeks after taking possession, the investor received a demand letter from a general contractor claiming an $87,000 mechanic's lien for a kitchen and bathroom remodel completed fourteen months prior. The contractor had recorded a Claim of Lien under California Civil Code §8416 exactly 87 days after the work was completed—within the statutory window—but the recording occurred three weeks after the Notice of Trustee Sale was recorded and just eleven days before the actual auction.
The investor's attorney delivered the bad news: under California Civil Code §8450, a mechanic's lien relates back to the date work commenced, not the date of recording. The remodel began before the deed of trust went into default. The lien had priority over the foreclosing lender's interest. The trustee sale did not extinguish it.
The investor now owned a property encumbered by an $87,000 construction lien with full enforcement rights. The contractor filed a lien foreclosure action under Civil Code §8460, and the investor faced a choice: pay the contractor, litigate the lien's validity, or lose the property at a second foreclosure sale.
How California's Mechanic's Lien Priority Actually Works
California's construction lien statute—codified in Civil Code §§8000–8848—operates on a "relation back" doctrine that confounds investors accustomed to first-in-time, first-in-right recording priorities. Under Civil Code §8450, a mechanic's lien "relates back" to the commencement of work on the property, regardless of when the lien is actually recorded.
This means a contractor who begins work on January 15, completes work on April 30, and records a lien on July 25 (within the 90-day window under §8416) holds a lien with priority dating to January 15. If a deed of trust was recorded on February 1, the mechanic's lien has senior priority—even though the deed of trust appeared on the chain of title months before the lien was recorded.
The practical effect for foreclosure investors is severe. A property can proceed through an entire non-judicial foreclosure process—Notice of Default, Notice of Trustee Sale, and actual trustee sale—while a mechanic's lien is accruing but not yet recorded. The lien can be recorded after the Notice of Trustee Sale, after the investor conducts due diligence, even after the investor is the successful bidder—and still relate back to a date that gives it priority over the foreclosed deed of trust.
The 90-Day Window and Civil Code §8460's Enforcement Timeline
Civil Code §8416 gives contractors, subcontractors, and material suppliers 90 days after completion of work to record a Claim of Lien. "Completion" under California law can mean actual completion, cessation of labor for 60 continuous days, or recordation of a Notice of Completion or Notice of Cessation by the owner.
Once a lien is recorded, Civil Code §8460 requires the claimant to commence an action to enforce the lien within 90 days after recording. If the claimant fails to file suit within this window, the lien expires by operation of law and the property owner can record a Release of Lien under §8480.
Here's where the trap intensifies for foreclosure investors: the 90-day enforcement window under §8460 can be extended. If the claimant files a lis pendens (notice of pending action) before the 90 days expire, and then dismisses the action without prejudice, California courts have held that the limitations period may toll or reset under certain circumstances. Additionally, if the property owner files bankruptcy, the automatic stay under 11 U.S.C. §362 tolls the enforcement deadline.
An investor purchasing at a trustee sale may acquire property where:
- A mechanic's lien was recorded 85 days before the sale
- The contractor has five remaining days to file an enforcement action
- The contractor files suit four days after the sale, within the statutory window
- The investor is now a defendant in a lien foreclosure action they had no notice of before bidding
Why Standard Title Searches Fail to Catch This
Investors preparing for trustee sales typically order one of three products: a litigation guarantee, a trustee sale guarantee, or a property profile. None of these products guarantee against mechanic's liens in the way investors assume.
A standard litigation guarantee searches the chain of title for recorded documents affecting the property. If a mechanic's lien has not yet been recorded—because the contractor is still within the 90-day post-completion window—it will not appear. The guarantee does not, and cannot, search for unrecorded liens.
A trustee sale guarantee (TSG) identifies the priority of liens affecting the property as of a specific date. If the TSG is dated March 1 and a mechanic's lien is recorded on March 10, the TSG is already stale. More critically, a TSG does not analyze whether recorded liens have relation-back priority that could predate the foreclosing deed of trust. The TSG shows that a mechanic's lien exists; it does not analyze whether that lien survives the foreclosure.
Property profiles from data aggregators are even less reliable. These products pull recorder data on a delay—sometimes 7 to 14 days behind actual recordings—and provide no priority analysis whatsoever.
The fundamental problem is structural: California's relation-back doctrine means the relevant question is not "what liens are recorded?" but "when did work commence on the property?" That question cannot be answered by examining the public record. It requires physical inspection of the property, interviews with neighbors, review of building permits, and analysis of contractor prelien notices.
The Preliminary Notice Problem
California Civil Code §8200 requires most claimants (other than laborers) to serve a Preliminary Notice within 20 days of first furnishing labor or materials to preserve their full lien rights. The Preliminary Notice must be served on the owner, general contractor, and construction lender.
Critically, the Preliminary Notice is not recorded. It is served directly on the parties. An investor purchasing at a trustee sale has no access to Preliminary Notices served on the prior owner. There is no public repository of these documents.
This means an investor cannot determine from public records alone whether valid Preliminary Notices were served—a prerequisite to a valid mechanic's lien. The investor must either assume all potential claimants served valid notices (conservative but expensive) or assume none did (risky and potentially catastrophic).
Some sophisticated investors request copies of all Preliminary Notices from the foreclosing lender's counsel before bidding. Lenders receiving construction loan disbursements typically receive these notices and may retain them in their files. However, lenders have no obligation to produce these documents to prospective bidders, and in non-judicial foreclosures, there is often no mechanism to compel production.
Building Permits as a Leading Indicator
The single most reliable leading indicator of mechanic's lien exposure is the building permit record. California Health and Safety Code §17951 requires permits for most construction work exceeding $500 in value. Permit applications are public records, available from the local building department, and typically include:
- The scope of work described
- The estimated project value
- The contractor name and license number
- The date the permit was issued
- The dates of inspections (which approximate when work was performed)
An investor reviewing the Los Angeles County building permit database for a property might discover that a $95,000 whole-house renovation permit was issued eight months ago, with a final inspection signed off four months ago. This tells the investor that:
- Work was completed approximately 120 days ago
- The 90-day recording window under §8416 has closed
- If no mechanic's lien appears of record, the contractor either waived lien rights, was paid, or failed to perfect the lien
Conversely, if the permit shows final inspection 45 days ago, the investor knows the recording window remains open for another 45 days. A contractor could record a lien tomorrow—after the trustee sale—with priority dating back to the start of construction.
The permit record does not capture unpermitted work, which is both common and lien-eligible. A contractor performing $30,000 in unpermitted bathroom work retains full mechanic's lien rights under California law. The lack of a permit does not void the lien.
The Construction Lender's Senior Position—and Its Limits
California Civil Code §8454 provides that a construction deed of trust recorded before work commences has priority over subsequently arising mechanic's liens, but only to the extent of advances made before work commenced and "obligatory" advances made thereafter. This priority rule protects institutional construction lenders who fund projects in draws.
For foreclosure investors, the critical question is whether the foreclosing lender was a construction lender or a subsequent purchase-money or refinance lender. If the original construction lender funded the build and is now foreclosing, mechanic's liens arising during construction are generally junior—unless the lien claimant can prove the lender made advances after receiving notice of the lien claim.
However, if the foreclosing lender is a refinance lender whose deed of trust was recorded after construction was complete, that lender has no construction lender priority. Mechanic's liens arising from subsequent improvement work will relate back to commencement and may have senior priority over the refinance loan.
The foreclosure investor inherits whatever priority position the foreclosed lender held. If the lender was junior to a mechanic's lien, the investor acquires property still encumbered by that lien.
What TitlePin Would Have Shown
TitlePin's pre-auction reports for California properties incorporate building permit data from county building departments, cross-referenced against the recorder's index for mechanic's lien filings. The report flags properties where:
- Building permits were issued within the past 12 months
- Permit valuation exceeds $10,000
- No corresponding mechanic's lien release or contractor payment affidavit appears of record
- The 90-day post-completion recording window remains open or recently closed
For the Riverside County property described above, TitlePin would have shown an open building permit for a $78,000 remodel with final inspection signed 73 days before the trustee sale date. The report would have flagged this as "Active Mechanic's Lien Exposure—Recording Window Open" with an estimated exposure amount based on permit valuation.
TitlePin also queries the California Contractors State License Board database to identify the licensed contractor associated with the permit. If that contractor has a history of recorded mechanic's liens on other properties (public information), the report notes this pattern as an elevated risk factor.
The investor receiving this report would have known before bidding that an $87,000 lien could be recorded at any moment with priority predating the deed of trust. The investor could have adjusted the bid accordingly—or walked away entirely.
Strategies for Investors Who Already Own the Property
An investor who has already purchased and discovers a mechanic's lien has several options under California law, none of them pleasant.
Challenge the lien's validity. Mechanic's liens are strictly construed. If the claimant failed to serve a proper Preliminary Notice, failed to record within 90 days, or failed to include required statutory language in the Claim of Lien, the lien may be void. Civil Code §8416 requires specific content, and courts have invalidated liens for technical defects. An investor can file a petition to release the lien under §8480 if the claimant fails to commence an enforcement action within the 90-day window.
Negotiate a release. Contractors often accept less than the full lien amount to avoid the expense of litigation. A contractor owed $87,000 may accept $50,000 cash within 30 days rather than spend $15,000 in legal fees pursuing a lien foreclosure that takes 18 months. The investor should require a recorded Release of Mechanic's Lien under §8494.
Post a release bond. Civil Code §8424 allows a property owner to record a mechanic's lien release bond in an amount equal to 125% of the lien claim. The bond substitutes for the property as security. The lien is released, and the claimant must pursue the bond rather than the property. This allows the investor to refinance or sell the property while the lien dispute is resolved. Bond premiums run 1–3% of the bond amount.
Litigate. If the investor believes the lien is invalid or inflated, litigation may be appropriate. The claimant bears the burden of proving the lien's validity, the amount owed, and the work performed. Discovery can reveal overbilling, defective work, or failure to comply with licensing requirements (an unlicensed contractor cannot enforce a mechanic's lien under Business and Professions Code §7031).
County-Specific Variations
California's mechanic's lien statute is state law, but procedural enforcement varies by county. In Los Angeles County, mechanic's lien foreclosure actions are filed in the Stanley Mosk Courthouse and assigned to civil departments with significant backlogs—an enforcement action may take 18–24 months to reach trial. In smaller counties like Inyo or Alpine, cases move faster but judges may have less familiarity with construction lien nuances.
San Francisco County has an additional wrinkle: the city's aggressive building inspection program means most significant construction work is permitted and inspected. The permit record is more reliable as a source of mechanic's lien exposure data. In rural counties, unpermitted work is common, and the permit record significantly undercounts actual construction activity.
Orange County and San Diego County both have robust online building permit databases accessible without a records request. Sacramento County's database is less complete, particularly for unincorporated areas where permits are issued by the county rather than city building departments.
Key Takeaways
- California mechanic's liens relate back to the commencement of work under Civil Code §8450, giving them potential priority over deeds of trust recorded after work began—even if the lien itself is recorded months later.
- Contractors have 90 days after completion to record a Claim of Lien under §8416, meaning a valid lien can be recorded after a trustee sale with priority that defeats the investor's title.
- Standard title searches and trustee sale guarantees do not protect against unrecorded mechanic's liens or analyze relation-back priority.
- Building permit records are the single most reliable indicator of mechanic's lien exposure and should be reviewed before any California foreclosure purchase involving improved property.
- Post-acquisition remedies include challenging lien validity, negotiating a release, posting a release bond under §8424, or litigating the enforcement action.
Sources
- California Civil Code §§8000–8848 (Mechanics Lien Law)
- California Civil Code §8200 (Preliminary Notice requirements)
- California Civil Code §8416 (90-day recording deadline)
- California Civil Code §8450 (Relation-back priority)
- California Civil Code §8454 (Construction deed of trust priority)
- California Civil Code §8460 (90-day enforcement deadline)
- California Civil Code §8480 (Petition to release lien)
- California Civil Code §8424 (Release bond)
- California Business and Professions Code §7031 (Unlicensed contractor bar)
- California Health and Safety Code §17951 (Permit requirements)
- Contractors State License Board public license lookup: https://www.cslb.ca.gov/onlineservices/checklicenseII/checklicense.aspx