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

# Wis. Stat. § 781.04 — Habeas corpus

- **Citation**: Wis. Stat. § 781.04
- **Node Type**: section
- **Jurisdiction**: Wisconsin (state)
- **Code Body**: Wisconsin Statutes (updated through 2025 Wis. Act 247) (Wis. Stat.)
- **Official Source**: [https://docs.legis.wisconsin.gov/document/statutes/781.04](https://docs.legis.wisconsin.gov/document/statutes/781.04)
- **Canonical URL**: [https://corpuslaw.us/codes/wisconsin/chapter-781/section-781-04](https://corpuslaw.us/codes/wisconsin/chapter-781/section-781-04)
- **Semantic URL**: [https://corpuslaw.us/codes/wisconsin/chapter-781/section-781-04](https://corpuslaw.us/codes/wisconsin/chapter-781/section-781-04)

## Hierarchy

Chapter 781 — Extraordinary remedies

## Text

(1) In an action or proceeding seeking the remedy available by habeas corpus, the court may admit the prisoner to bail in accordance with ch. 969.

(2) If the prisoner is detained upon any criminal accusation, no order for discharge may be made until sufficient notice of the time and place of the hearing on the application is given to the district attorney of the county in which the action or proceeding is pending.
