California Codes homeSearch California
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 12. Of Special Proceedings of A Criminal NatureChapter 1. Of the Writ of Habeas Corpus

Cal. Penal Code § 1477 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Sept. 26, 2026 (applied Oct. 1, 2026) cited 1975–2020 16citing cases

The writ must be directed to the person having custody of or restraining the person on whose behalf the application is made, and must command him to have the body of such person before the Court or Judge before whom the writ is returnable, at a time and place therein specified.

The 16 cases that cite Cal. Penal Code § 1477 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Villa, 45 Cal. 4th 1063 (2009).
cites § 1477 3×cited by 92 cases
Where it cites § 1477
“Both parties and the Court of Appeal below discuss the relevance of the fact that an order to show cause, should one issue, would be directed to a person—Villa’s federal custodian—who arguably would have no legal obligation to comply. Penal Code section 1477 specifies that…”
The case’s holding
Collateral consequences of a criminal conviction, including deportation, do not of themselves constitute constructive custody for purposes of state habeas corpus relief.
Later courts cite it for
“collateral consequences of a criminal conviction-even those that can later form the basis of a new criminal conviction-do not of themselves constitute constructive custody.” · 3 citing courts
2
GREENMaas v. Superior Court of San Diego Cnty., 1 Cal. 5th 962 (2016).
cites § 1477 1×cited by 36 cases
Where it cites § 1477
“(Pen. Code, § 1477; In re Lawler, supra, 23 Cal.”
The case’s holding
A habeas corpus petitioner may peremptorily disqualify an assigned judge under section 170.6 if the judge did not participate in the underlying criminal action.
Later courts cite it for
“accordingly, a habeas corpus petitioner who files a motion for disqualification in proper form and in compliance with the procedural requirements of section 170.6 has a right to disqualify the judge assigned to try, or hear any matter within, that habeas corpus proceeding.” · 3 citing courts
3
GREENPeople v. Romero, 8 Cal. 4th 728 (1994).
cites § 1477 1×cited by 226 cases
Where it cites § 1477
“) Rather, the writ commands the person having custody of the petitioner to bring the petitioner 4 “before the court or judge before whom the writ is returnable” (Pen. Code, § 1477), except under specified conditions (id.”
The case’s holding
A court may grant affirmative relief in a habeas corpus proceeding only after issuing a writ of habeas corpus or an order to show cause.
Later courts cite it for
“when presented with a petition for a writ of habeas corpus, a court must first determine whether the petition states a prima facie case for relief-that is, whether it states facts that, if true, entitle the petitioner to relief-and also whether the stated claims are for any reason procedurally barred.” · 8 citing courts
4
GREENGomez v. Superior Court, 54 Cal. 4th 293 (2012).
cites § 1477 1×cited by 48 cases
Where it cites § 1477
“” (Pen. Code, § 1477.) The granting of the writ of habeas corpus does not grant *302 the relief requested in the petition; it merely initiates the process of resolving the petitioner’s claim.”
The case’s holding
The summary denial of a habeas corpus petition does not establish the law of the case or have a res judicata effect on future proceedings.
Later courts cite it for
“the summary denial of a habeas corpus petition does not establish law of the case and does not have a res judicata effect in future proceedings.” · 4 citing courts
5
GREENIn re Zepeda, 141 Cal. App. 4th 1493 (Ct. App. 2006).
cites § 1477 1×cited by 28 cases
Where it cites § 1477
“(See Pen. Code, § 1477 [writ of habeas corpus “must be directed to the person having custody of or restraining the person on whose behalf the application is made”].”
The case’s holding
A reviewing court cannot reverse prison disciplinary actions under the due process some evidence standard simply because there is a realistic possibility the prisoner is not guilty.
Later courts cite it for
“implicit in the 'some evidence' standard of review is the recognition that due process requirements imposed by the federal constitution do not authorize courts to reverse prison disciplinary actions simply because, in the reviewing court's view, there is a realistic possibility the prisoner being disciplined is not guilty of the charged infraction.” · 4 citing courts
6
GREENIn re Brindle, 91 Cal. App. 3d 660 (Ct. App. 1979).
cites § 1477 1×cited by 38 cases
Where it cites § 1477
“” Penal Code section 1477 states: “The writ must be directed to the person having custody of or restraining the person on whose behalf the application is made,.”
The case’s holding
The writ of habeas corpus may be used to secure the fundamental rights of a person lawfully in custody.
Later courts cite it for
“in determining whether to provide the services of his office, the public defender 'exercises an original power vested in him by statute, not superior to but coequal with the power of the court' to determine whether a person is entitled to be represented by the public defender.” · 2 citing courts
7
GREENIn re Criscione, 180 Cal. App. 4th 1446 (Ct. App. 2009).
cites § 1477 1×cited by 14 cases
Where it cites § 1477
“(Pen. Code, § 1477.) 2 We have previously granted Warden’s petition for writ of supersedeas, staying enforcement of the superior court order pending our decision on appeal.”
Later courts cite it for
“certainly is not toothless.' 'in light of the constitutional liberty interest at stake, judicial review must be sufficiently robust to reveal and remedy any evident deprivation of constitutional rights.” · 2 citing courts
8
GREENIn re Twinn, 190 Cal. App. 4th 447 (Ct. App. 2010).
cites § 1477 1×cited by 12 cases
Where it cites § 1477
“(Pen. Code, § 1477.) The appeal is pending in this court.”
9
GREENIn re Shigemura, 210 Cal. App. 4th 440 (Ct. App. 2012).
cites § 1477 1×cited by 11 cases
Where it cites § 1477
“Although the inmate’s habeas corpus petition challenged the board’s decision, Penal Code section 1477 requires a petition for a writ of habeas corpus “be directed to the person having custody of or restraining the person on whose behalf the application is made.”
10
GREENPeople v. Villa, 148 Cal. App. 4th 473 (Ct. App. 2007).
cites § 1477 6×cited by 1 case
Where it cites § 1477
“My colleagues conclude it is not fatal that the writ would be directed to the People instead of immigration officials who have actual custody of appellant. They reason that Penal Code section 1477, which requires the writ be directed to the person having custody of the…”
11
GREENIn re Borlik, 194 Cal. App. 4th 30 (Ct. App. 2011).
cites § 1477 1×cited by 9 cases
Where it cites § 1477
“Generally, although a habeas corpus petition is “directed to the person having custody of or restraining the person on whose behalf the application is made" (Pen. Code, § 1477), in his habeas corpus petition, Borlik challenged the actions of California’s Department of…”
12
GREENIn re Criscione, 173 Cal. App. 4th 60 (Ct. App. 2009).
cites § 1477 1×cited by 8 cases
Where it cites § 1477
“(Pen. Code, § 1477.) 3 Hereafter, all undesignated section references and all further references to regulations are to title 15 of the California Code of Regulations.”
13
GREENIn re Estevez, 165 Cal. App. 4th 1445 (Ct. App. 2008).
cites § 1477 1×cited by 8 cases
Where it cites § 1477
“8 Although perhaps immaterial since habeas corpus pleadings are generally captioned “In re [Petitioner’s Name] on Habeas Corpus,” inasmuch as Penal Code section 1477 requires that the writ of habeas corpus “be directed to the person having custody of or restraining the person on…”
14
GREENDurdines v. Superior Court, 76 Cal. App. 4th 247 (Ct. App. 1999).
cites § 1477 1×cited by 12 cases
Where it cites § 1477
“(Pen. Code, §§ 1477, 1480; People v. Romero, supra, 8 Cal.”
15
GREENPeople v. Getty, 50 Cal. App. 3d 101 (Ct. App. 1975).
cites § 1477 1×cited by 25 cases
Where it cites § 1477
“” (Pen. Code, § 1477.) A reply (“return”) to the writ is an essential part of the scheme: “The person upon whom the writ is served must state in his return, plainly and unequivocally: “1.”
The case’s holding
Once an appeal is pending and a Youth Authority commitment is proper on its face, the trial court lacks jurisdiction to recall or modify it.
16
NO FLAGIn re Duval, 257 Cal. Rptr. 3d 557 (Cal. Ct. App. 2020).
cites § 1477 1×cited by 0 cases
Where it cites § 1477
“743, italics added; see Pen. Code, §§ 1477, 1480.) Thus, “[i]ssuance of an OSC [order to show cause] signifies the court’s preliminary determination that the petitioner has pleaded sufficient facts that, if true, would entitle him to relief.”

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
197519972020

One bar per year. Tallest: 3 cases in 2009. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.12Cal.4
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Enactment and amendments

Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.

Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com