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

# 42 Pa.C.S. § 6504 — Return on writ.

- **Citation**: 42 Pa.C.S. § 6504
- **Node Type**: section
- **Jurisdiction**: Pennsylvania (state)
- **Code Body**: Pennsylvania Consolidated Statutes (Aug. 2026 snapshot) (Pa.C.S.)
- **Official Source**: [https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=42)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-42/chapter-65/section-6504](https://corpuslaw.us/codes/pennsylvania/title-42/chapter-65/section-6504)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-42/chapter-65/section-6504](https://corpuslaw.us/codes/pennsylvania/title-42/chapter-65/section-6504)

## Hierarchy

Title 42 > Chapter 65

## Text

The writ, or the order to show cause why the writ should not issue, shall be directed to the person having custody of the person detained. It shall be returned within three days unless for good cause additional time, not exceeding 20 days, is allowed. The person to whom the writ or the order is directed shall make a return certifying the true cause of the detention and, except as otherwise prescribed by general rules or by rule or order of court, shall produce at the hearing the body of the person detained. (Oct. 5, 1980, P.L.693, No.142, eff. 60 days)
