> 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).

# NMSA 1978, § 48-2-12 — Contractor liable for liens of subcontractors

- **Citation**: NMSA 1978, § 48-2-12
- **Node Type**: section
- **Jurisdiction**: New Mexico (state)
- **Code Body**: New Mexico Statutes Annotated 1978 (through the 2026 session) (NMSA 1978)
- **Official Source**: [https://nmonesource.com/nmos/nmsa-unanno/en/item/18551/index.do#!b/48-2-12](https://nmonesource.com/nmos/nmsa-unanno/en/item/18551/index.do#!b/48-2-12)
- **Canonical URL**: [https://corpuslaw.us/codes/new-mexico/chapter-48/article-2/section-48-2-12](https://corpuslaw.us/codes/new-mexico/chapter-48/article-2/section-48-2-12)
- **Semantic URL**: [https://corpuslaw.us/codes/new-mexico/chapter-48/article-2/section-48-2-12](https://corpuslaw.us/codes/new-mexico/chapter-48/article-2/section-48-2-12)

## Hierarchy

Chapter 48 — Liens and Mortgages > Article 2 — Mechanics' and Materialmen's Liens

## Text

48-2-12. Contractor liable for liens of subcontractors

The contractor shall be entitled to recover upon a lien filed by the contractor only such amount as may be due to the contractor according to the terms of the contract, after deducting all claims of subcontractors under the contractor who have filed liens for work done and materials furnished, and during the pendency of the action, the owner may withhold from the contractor the amount of money for which the lien is filed unless the lien was asserted as a result of the owner's failure to pay the contractor for work done and materials furnished, and in case of judgment against the owner or the owner's property upon the lien, the owner shall be entitled to deduct from any amount due or to become due by the owner to the contractor the amount of the judgment. If the amount of the judgment exceeds the amount due by the owner to the contractor, or if the owner settles with the contractor in full, the owner shall be entitled to recover back from the contractor any amount paid by the owner, in excess of the contract price, and for which the contractor was originally the party liable.

Laws 1880, ch. 16, § 12; C.L. 1884, § 1530; C.L. 1897, § 2227; Code 1915, § 3328; C.S. 1929, § 82-211; 1941 Comp., § 63-211; 1953 Comp., § 61-2-11; 2007, ch. 212, § 4.
