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

# N.D. Cent. Code § 32-22-20 — Habeas corpus to give bail

- **Citation**: N.D. Cent. Code § 32-22-20
- **Node Type**: section
- **Jurisdiction**: North Dakota (state)
- **Code Body**: North Dakota Century Code (Aug. 2026 snapshot) (N.D. Cent. Code)
- **Official Source**: [https://ndlegis.gov/cencode/t32c22.pdf#nameddest=32-22-20](https://ndlegis.gov/cencode/t32c22.pdf#nameddest=32-22-20)
- **Canonical URL**: [https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-20](https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-20)
- **Semantic URL**: [https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-20](https://corpuslaw.us/codes/north-dakota/title-32/chapter-32-22/section-32-22-20)

## Hierarchy

Title 32 > Chapter 32-22

## Text

32-22-20. Habeas corpus to give bail

Whenever a person is imprisoned or detained in custody on a criminal charge, for want of

bail, such person is entitled to a writ of habeas corpus for the purpose of giving bail, upon

averring that fact in such person's petition, without alleging that the person is confined illegally.

Any judge in or out of the court in which the judge is authorized to act may take an undertaking

of bail from any person who has been committed on a criminal charge, when brought before the

judge on a writ of habeas corpus, as in other cases, if the offense is bailable, and file the

undertaking in the proper court.
