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

# G.S. 17-31 — Subpoenas to witnesses.

- **Citation**: G.S. 17-31
- **Node Type**: section
- **Jurisdiction**: North Carolina (state)
- **Code Body**: North Carolina General Statutes (compiled through S.L. 2026-30) (G.S.)
- **Official Source**: [https://www.ncleg.gov/EnactedLegislation/Statutes/HTML/BySection/Chapter_17/GS_17-31.html](https://www.ncleg.gov/EnactedLegislation/Statutes/HTML/BySection/Chapter_17/GS_17-31.html)
- **Canonical URL**: [https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-31](https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-31)
- **Semantic URL**: [https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-31](https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-31)

## Hierarchy

Chapter 17 > Article 6

## Text

§ 17-31.  Subpoenas to witnesses.
Any party to a proceeding on a writ of habeas corpus may procure the attendance of witnesses at the hearing, by subpoena, to be issued by the clerk of any superior court, under the same rules, regulations and penalties prescribed by law in other cases. (1868-9, c. 116, s. 34; Code, s. 1659; Rev., s. 1845; C.S., s. 2233.)
