Cal. CCP § 871.5
This is the official text of Cal. CCP § 871.5, part of California’s Code of Civil Procedure — sets the procedural rules for civil lawsuits in California courts, including filing deadlines, discovery, and judgments.
Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.
Official statutory text
When an action or cross-complaint is brought pursuant to Section 871.3, the court may, subject to Section 871.4, effect such an adjustment of the rights, equities, and interests of the good faith improver, the owner of the land, and other interested parties (including, but not limited to, lessees, lienholders, and encumbrancers) as is consistent with substantial justice to the parties under the circumstances of the particular case. The relief granted shall protect the owner of the land upon which the improvement was constructed against any pecuniary loss but shall avoid, insofar as possible, enriching him unjustly at the expense of the good faith improver. In protecting the owner of the land against pecuniary loss, the court shall take into consideration the expenses the owner of the land has incurred in the action in which relief under this chapter is sought, including but not limited to reasonable attorney fees. In determining the appropriate form of relief under this section, the court shall take into consideration any plans the owner of the land may have for the use or development of the land upon which the improvement was made and his need for the land upon which the improvement was made in connection with the use or development of other property owned by him.
Status: in_force · Read it on the official government site
Need a lawyer in California?
Find a California lawyer
About this page: Statute text is reproduced from official government publishers via the
Open US Law dataset
(Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine
(Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.