To perfect a mechanics lien in California, you generally have to serve a preliminary 20-day notice, record the lien claim within 30 to 90 days after the work is complete (the exact window depends on your role and whether a notice of completion was filed), and then file a foreclosure lawsuit within 90 days of recording. Those are the core California mechanics lien requirements and deadlines, and missing any one of them typically ends the claim. The rules live in Civil Code sections 8000 through 9566, and the courts enforce the deadlines strictly.
Who Has to Do What
Your position on the project decides which steps apply to you. Subcontractors, sub-subcontractors, and material suppliers at every tier have to serve a preliminary notice. Direct contractors, meaning those with a contract directly with the property owner, are generally exempt from the preliminary notice requirement, with one exception: if a construction lender is financing the project, the direct contractor must serve the notice too.
Role also drives the recording deadline once the job wraps up. Direct contractors get a longer window than subcontractors and suppliers when the owner records a notice of completion. Keep track of which category you fall into before you start counting days.
The Preliminary 20-Day Notice
The preliminary notice is the step that trips up claimants more than any other. It has to go to the property owner, the general contractor, and the construction lender if one exists, and it has to be served within 20 days of the first day you furnished labor or materials to the project.
A late preliminary notice doesn’t end your lien rights entirely, but it shrinks them. Work performed before the 20-day window preceding your late notice is unrecoverable through a lien. Only labor and materials furnished within those 20 days, plus anything after the notice goes out, remain covered. A subcontractor who realizes months into a job that no notice ever went out will lose most of the claim.
What the Lien Claim Must Contain
Civil Code Section 8416 sets out what belongs in the recorded lien. The claim has to identify the property owner or reputed owner, the claimant, and the direct contractor. It has to give a general statement of the labor, services, equipment, or materials provided, and state the amount owed after credits and offsets. It needs a description of the property that identifies the site, the claimant’s address, and a proof of service affidavit showing the date, place, and manner the lien was served on the property owner. The statute also requires a boldface notice statement to the owner explaining their rights and the foreclosure timeline. The whole claim must be verified under penalty of perjury by the claimant or an authorized agent.1California Legislative Information. California Civil Code 8416
Recording Deadlines
You file the completed lien with the county recorder in the county where the property sits. Which deadline applies depends on whether a notice of completion or notice of cessation has been recorded:
- If no notice of completion or cessation is filed, every claimant has 90 days after the project is complete, or after a continuous 60-day work stoppage, to record.
- If a notice of completion or cessation is filed, direct contractors get 60 days from that recording date. Subcontractors and suppliers get 30 days.2California Contractors State License Board. Homeowner’s Guide to Preventing Mechanics Liens
Those shortened deadlines are where most claims die. A property owner who records a notice of completion right after the job wraps is starting a countdown that many subcontractors don’t realize is running. Check the county recorder’s records if you have any doubt.
A premature notice of completion filed while work is still ongoing can be challenged, and if it wasn’t valid, the shortened deadlines don’t apply.
Serving the Recorded Lien on the Owner
Section 8416 also requires that a copy of the recorded lien be served on the property owner and that the proof of service affidavit be included as part of the recorded document itself.1California Legislative Information. California Civil Code 8416 Personal delivery or certified mail both work. Keep your proof of service carefully; without it, the lien’s validity can be challenged.
The 90-Day Foreclosure Deadline
Recording is only half the work. If the owner still doesn’t pay, you have to file a lawsuit to foreclose the lien within 90 days of the recording date. Miss that window and the lien expires automatically, no matter how sound the underlying debt is.
One narrow extension exists. If you and the property owner agree in writing to extend credit, and you record notice of that credit extension within 90 days of recording the lien, the enforcement deadline moves to 90 days after the credit period expires. Even then, the outside limit is one year after completion of the work.3California Legislative Information. California Civil Code CIV 8460
The foreclosure suit goes in the superior court of the county where the property sits. The complaint describes the work or materials, the amount owed, and shows you followed every procedural step. Name every party with an interest in the property: the owner, the general contractor, other lienholders, and any lender with a deed of trust. The court needs them all to sort out competing claims.
After filing, record a lis pendens (a notice of pending litigation) with the county recorder, generally within 20 days of filing the foreclosure action. This puts prospective buyers and lenders on notice that the property is subject to an active lien dispute. Without it, someone could purchase the property without knowing about your claim.
If the court rules in your favor, it will order the property sold at auction, and the proceeds pay valid liens according to their priority.
When the Contract Has an Arbitration Clause
Many construction contracts require arbitration, and that creates a real problem for the 90-day foreclosure deadline. You cannot arbitrate a lien foreclosure because only a court can order a property sale, but you also cannot ignore the arbitration clause for the payment dispute underneath the lien. Code of Civil Procedure Section 1281.5 handles this: when you file the foreclosure action, you must at the same time either request a stay pending arbitration, or state your intent to request a stay and then file the actual request within 30 days. File the foreclosure without doing this and you waive the right to arbitrate the lien claim and potentially every related claim from the project.
Defenses Owners Can Raise
The procedural deadlines above are also the owner’s first line of defense. A missed preliminary notice, a late recording, or improper service leaves the lien vulnerable to invalidation, and California courts are strict about these dates.
Owners can also dispute the underlying debt. If work was defective, incomplete, or off-specification, the owner can argue the claimed amount is inflated or that nothing is owed. These fights come down to documentation: change orders, inspection reports, daily logs, and correspondence. Meticulous records make the difference.
Penalties for Getting It Wrong
The usual penalty for procedural mistakes is losing the lien. A missed preliminary notice, missed recording deadline, or missed 90-day enforcement deadline leaves the lien either nonexistent or unenforceable, and no court will revive it.
Filing a lien that’s false or exaggerated is worse. Under Civil Code Section 8424, an owner harmed by a wrongful lien can sue the claimant for compensatory damages and attorney’s fees, and punitive damages are available if the claimant acted with malice.4California Legislative Information. California Civil Code 8424
Contractors who record improper liens also face possible discipline from the California Contractors State License Board, which can suspend or revoke a license for violations of the mechanics lien statutes.5California Contractors State License Board. Mechanics Lien One more trap catches people off guard: anyone can technically record a lien, but an unlicensed contractor cannot foreclose on one if the work is valued at more than $500.6California Contractors State License Board. What if a Mechanics Lien is Filed on Your Property Recording a lien you can never enforce wastes time and exposes you to a wrongful lien claim.
When a Mechanics Lien Isn’t Available
Mechanics liens do not attach to public property. On California public works projects, the stop payment notice served on the public agency is the primary payment tool. On federal projects, mechanics liens are also unavailable; the Miller Act requires prime contractors on qualifying federal jobs to post payment bonds, and unpaid subcontractors and suppliers file claims against those bonds within one year of their last day of work.7Office of the Law Revision Counsel. 40 USC 3133 – Rights of Persons Furnishing Labor or Material If your job is on government-owned land, don’t spend time on the lien process; the remedy is somewhere else.