> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Civil Code - CIV § 2881. — Section 2881.

- **Citation**: Cal. Civil Code - CIV § 2881.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Civil Code - CIV (CIV)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/civil-code/division-3/part-4/title-14/chapter-1/article-2/section-2881](https://corpuslaw.us/codes/california/civil-code/division-3/part-4/title-14/chapter-1/article-2/section-2881)
- **Semantic URL**: [https://corpuslaw.us/codes/california/civil-code/division-3/part-4/title-14/chapter-1/article-2/section-2881](https://corpuslaw.us/codes/california/civil-code/division-3/part-4/title-14/chapter-1/article-2/section-2881)

## Hierarchy

Title CIV — Civil Code - CIV > Division 3. — DIVISION 3. OBLIGATIONS [1427. - 3273.91.] > Part 4. — PART 4. OBLIGATIONS ARISING FROM PARTICULAR TRANSACTIONS [1738. - 3273.91.] > Title 14. — TITLE 14. LIEN [2872. - 3081.] > Chapter 1. — CHAPTER 1. Liens in General [2872. - 2914.] > Article 2. — ARTICLE 2. Creation of Liens [2881. - 2885.]

## Text

A lien is created:

1.

By contract of the parties; or,

2.

By operation of law.
