> 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, § 31-9-2 — Competency evaluation; mental or functional examination

- **Citation**: NMSA 1978, § 31-9-2
- **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/18531/index.do#!b/31-9-2](https://nmonesource.com/nmos/nmsa-unanno/en/item/18531/index.do#!b/31-9-2)
- **Canonical URL**: [https://corpuslaw.us/codes/new-mexico/chapter-31/article-9/section-31-9-2](https://corpuslaw.us/codes/new-mexico/chapter-31/article-9/section-31-9-2)
- **Semantic URL**: [https://corpuslaw.us/codes/new-mexico/chapter-31/article-9/section-31-9-2](https://corpuslaw.us/codes/new-mexico/chapter-31/article-9/section-31-9-2)

## Hierarchy

Chapter 31 — Criminal Procedure > Article 9 — Mental Illness and Competency

## Text

31-9-2. Competency evaluation; mental or functional examination

A. Upon motion of a party or the court, the court shall order a mental examination of the defendant before making any determination of the defendant's competency. If the defendant is determined to be indigent, the court shall pay for the costs of the examination from funds available to the court.

B. A court may authorize a district attorney or the department of health to use a report of any examination ordered before a determination of a defendant's competency to stand trial for the purposes of initiating proceedings in accordance with the Mental Health and Developmental Disabilities Code [Chapter 43, Article 1 NMSA 1978] or the Assisted Outpatient Treatment Act [Chapter 30, Article 6A NMSA 1978]; provided that the report remains valid pursuant to the time limits set forth in that code or act.

1953 Comp., § 41-13-3.2, enacted by Laws 1967, ch. 231, § 3; 2025, ch. 4, § 8.
