Arizona Revised Statutes homeSearch Arizona

Ariz. Rev. Stat. § 13-712 (2026)

Calculation of terms of imprisonment

Edition and currency
text as last checked Oct. 2026 (this copy records no edition or section history). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTtext as last checked Oct. 2026 (this copy records no edition or section history) ACTIVE · 30 IN 5Y cited 1970–2026 97citing cases
At a glance

Courts have cited this section in 97 opinions since 1970, 30 of them in the last five years. The most litigated part is subsection (B) (82 cases).

A. A sentence of imprisonment commences when sentence is imposed if the defendant is in custody or surrenders into custody at that time.  Otherwise it commences when the defendant becomes actually in custody.

B. All time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense shall be credited against the term of imprisonment otherwise provided for by this chapter. A person who is found competent to stand trial after an involuntary commitment pursuant to section 13-4521 shall receive credit for all time that the person spent under the jurisdiction of the secure state mental health facility against a term of imprisonment for any of the charges that were the basis for the involuntary commitment.

C. If a sentence of imprisonment is vacated and a new sentence is imposed on the defendant for the same offense, the new sentence is calculated as if it had commenced at the time the vacated sentence was imposed, and all time served under the vacated sentence shall be credited against the new sentence.

D. If a person serving a sentence of imprisonment escapes from custody, the escape interrupts the sentence. The interruption continues until the person is apprehended and confined for the escape or is confined and subject to a detainer for the escape. Time spent in actual custody before return under this subsection shall be credited against the term authorized by law if custody rested on an arrest or surrender for the escape itself, or if the custody arose from an arrest on another charge which culminated in a dismissal or an acquittal, and the person was denied admission to bail pending disposition of that charge because of a warrant lodged against such person arising from the escape.

E. The sentencing court shall include the time of commencement of sentence under subsection A of this section and the computation of time credited against sentence under subsection B, C or D of this section in the original or an amended commitment order, under procedures established by rule of court.

The 20 cases that cite Ariz. Rev. Stat. § 13-712 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENState v. Hasson, 177 P.3d 301 (Ariz. Ct. App. 2008).
cites § 13-712 16×subsections: (A) 6×cited by 9 cases
Where it cites § 13-712
“” Likewise, Defendant’s sentence could not be commuted because persons sentenced to flat-time pursuant to A.R.S. § 13-712 (as per the plea agreement) are not eligible to have their sentences commuted.”
Later courts cite it for
“we give clear and unambiguous statutory language its plain and ordinary meaning unless absurd consequences would result.” · 3 citing courts
2
GREENState of Arizona v. David Soto Cecena, 334 P.3d 1282 (Ariz. Ct. App. 2014).
cites § 13-712 12×subsections: (B) 12×cited by 10 cases
Where it cites § 13-712
“On appeal, he argues the trial court erred in refusing to grant him credit for time served during his presentence incarceration in Mexico pursuant to AR.S. § 13-712(B). For reasons set forth below, we remand this case for further fact finding as to whether his incarceration in…”
Later courts cite it for
“a defendant must show that the arizona charge was a 'but for cause' of his or her out-of-state presentence incarceration.” · 2 citing courts
3
GREENState ex rel. Purcell v. Superior Court, 535 P.2d 1299 (Ariz. 1975).
cites § 13-712 12×cited by 27 cases
Where it cites § 13-712
“A.R.S. § 13-712. The word “loitering” is used to describe a type of conduct which is proscribed when engaged in upon the private property of another, without the consent of or lawful business with the owner or occupant thereof.”
The case’s holding
A statute that reaches conduct the state has no power to regulate is unconstitutionally overbroad.
Later courts cite it for
“any unauthorized physical presence on another's property” · 2 citing courts
4
GREENKhristina Lyn Shifflette v. Hon. Marner, 534 P.3d 101 (Ariz. Ct. App. 2023).
cites § 13-712 13×subsections: (B) 13×cited by 2 cases
Where it cites § 13-712
“Because we conclude the respondent erred, we accept jurisdiction, grant relief, and remand the matter for resentencing.”
5
REDState v. Diaz, 213 P.3d 337 (Ariz. Ct. App. 2009).
cites § 13-712 15×subsections: (B)cited by 2 cases
Vacated in part by State v. Diaz (2010): the Arizona Supreme Court's own opinion in this case ("CONCLUSION ¶ 18 For the reasons above, we vacate ¶¶ 7-14 of the court of appeals’ opinion and affirm the sentence imposed on Diaz by…
Where it cites § 13-712
“§ 13-604 rather than A.R.S. § 13-712. 1 For the reasons stated below, we affirm his conviction but remand to the trial court for resentencing.”
6
GREENState v. Sanders, 575 P.2d 822 (Ariz. Ct. App. 1978).
cites § 13-712 5×cited by 11 cases
Where it cites § 13-712
“Sanders was illegal because the criminal trespass statute A.R.S. § 13-712 was “apparently constitutionally infirm” by virtue of a United States District Court holding that is not otherwise specified in appellant’s briefs.”
7
GREENState of Arizona v. Brandon Albert Seay, 302 P.3d 671 (Ariz. Ct. App. 2013).
cites § 13-712 3×subsections: (B) 3×cited by 9 cases
Where it cites § 13-712
“in custody pursuant to” the charged offenses and entitled to credit under A.R.S. § 13-712(B). 1 A defendant is entitled to credit for “[a]ll time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense.”
8
GREENSteven Lane Fuller v. State of Arizona, 314 P.3d 814 (Ariz. Ct. App. 2013).
cites § 13-712 2×subsections: (B) 2×cited by 6 cases
Where it cites § 13-712
“¶ 14 Finally, unlike in criminal proceedings, where a person who is sentenced receives credit for any pretrial incarceration, see A.R.S. § 13-712(B); Ariz. R.Crim. P. 26.10(b)(2), and might thereby be made whole if ultimately convicted of the charges, a person subjected to civil…”
Later courts cite it for
“acceptance of special action jurisdiction is appropriate when a case presents a novel question of statewide importance that is also a question of law.” · 3 citing courts
cites § 13-712 2×cited by 32 cases
Where it cites § 13-712
“§ 13-302(A) as: “ * * * entering a building, dwelling, house * * * with intent to commit grand or petty theft, or any felony, * * * » Under certain circumstances a burglary can be committed where the accused had the permission of the owner of the property to be there.”
The case’s holding
An offense is a lesser included offense if the charging document describes the lesser offense even if it is not always a constituent part of the major offense.
Later courts cite it for
“the terms of the charging document describe the lesser offense even though the lesser offense would not always form a constituent part of the major offense charged.” · 3 citing courts
10
NEUTRALIn re the Appeal in Maricopa Cnty., Juv. Action No. J-75755, 521 P.2d 641 (Ariz. Ct. App. 1974).
cites § 13-712 32×cited by 3 cases
Where it cites § 13-712
“However, the only definition of trespass which the juvenile's conduct could possibly come within is found in A.R.S. § 13-712 (9). Since the juvenile court did not state which statutory definition of trespass he was relying upon, and since counsel did not question the propriety…”
11
GREENState v. Burns, 298 P.3d 911 (Ariz. Ct. App. 2013).
cites § 13-712 2×subsections: (B) 2×cited by 4 cases
Where it cites § 13-712
“See A.R.S. § 13-712(B) (West 2013) (defendant entitled to credit for all time spent in custody pursuant to an offense until the defendant is sentenced to imprisonment for such offense).”
12
GREENSusan Scheerer v. State of Arizona, 281 P.3d 491 (Ariz. Ct. App. 2012).
cites § 13-712 2×subsections: (C) 2×cited by 2 cases
Where it cites § 13-712
“See A.R.S. § 13-712(C) (“If a sentence of imprisonment is vacated and a new sentence is imposed on the defendant for the same offense, the new sentence is calculated as if it had commenced at the time the vacated sentence was imposed, and all time served under the vacated…”
13
GREENState v. Yug, 501 P.3d 246 (Ariz. Ct. App. 2021).
cites § 13-712 12×subsections: (B) 12×cited by 0 cases
Where it cites § 13-712
“For the following reasons, we conclude that double-time incarceration credit does not apply to a defendant’s subsequently-imposed prison sentence, because A.R.S. § 13-712(B) expressly governs presentence incarceration credit in that context and provides that “[a]ll time actually…”
14
NO FLAGState v. Cutrone, No. 1 CA-CR 22-0280-PRPC (Ariz. Ct. App. Feb. 23, 2023).
cites § 13-712 12×subsections: (B) 12×cited by 0 casesunpublished
Where it cites § 13-712
“He contended that he would have received credit for that period had the State filed the correct petition and that depriving him of credit solely based on the State’s mistake violated his due process and equal protection rights.”
15
REDState of Arizona v. Daniel Diaz, No. 2 CA-CR 2008-0024 (Ariz. Ct. App. July 16, 2009).
cites § 13-712 14×subsections: (B)cited by 0 cases
Where it cites § 13-712
“5 Sentencing ¶7 Diaz next contends the trial court erred by sentencing him as a repetitive offender pursuant to § 13-604(D), rather than under § 13-712, which is the sentencing statute specifically for methamphetamine offenses.”
16
NO FLAGState v. Rodriguez, No. 1 CA-CR 18-0782 (Ariz. Ct. App. Jan. 14, 2020).
cites § 13-712 7×subsections: (B) 7×cited by 0 casesunpublished
Where it cites § 13-712
“280 (1997), and explaining that if the contraband charges been brought “in a timely manner, it’s entirely reasonable for the defendant to have been given a concurrent sentence in this matter, to the sentence he was then serving.”
17
NO FLAGState v. Whitlock, No. 1 CA-CR 16-0022 (Ariz. Ct. App. Sept. 20, 2016).
cites § 13-712 4×subsections: (B) 4×cited by 0 casesunpublished
Where it cites § 13-712
“” A.R.S. § 13-712(B). A defendant is entitled to a full day of credit for any partial day in custody, State v.”
18
NO FLAGState v. Price, No. 1 CA-CR 17-0668 (Ariz. Ct. App. Oct. 2, 2018).
cites § 13-712 4×subsections: (B) 4×cited by 0 casesunpublished
Where it cites § 13-712
“¶6 The State's concession is well taken: "All time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense shall be credited against the term of imprisonment otherwise provided for by this chapter.”
19
NO FLAGState v. Garcia, No. 1 CA-CR 18-0386 (Ariz. Ct. App. June 25, 2019).
cites § 13-712 4×subsections: (A) 2× (B) 2×cited by 0 casesunpublished
Where it cites § 13-712
“However, a person is entitled to credit against a term of imprisonment for “[a]ll time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense.”
20
NO FLAGState v. Headrick, No. 1 CA-CR 21-0458 (Ariz. Ct. App. Aug. 2, 2022).
cites § 13-712 4×subsections: (B) 4×cited by 0 casesunpublished
Where it cites § 13-712
“Cruz-Mata, 138 Ariz. 370, 375 (1983). A defendant is also entitled to credit for time attributable to his court-ordered transfer from state prison to a county jail to face his charges.”

Show all 97 citing cases (list view) →

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
197019982026

One bar per year. Tallest: 14 cases in 2014. 2026 is a partial year. 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
Ariz. Ct. App.93Ariz.3D. Ariz.1
By subsection
(A)4 cases
State v. Hasson, 177 P.3d 301 (Ariz. Ct. App. 2008).“” Likewise, Defendant’s sentence could not be commuted because persons sentenced to flat-time pursuant to A.R.S. § 13-712 (as per the plea agreement) are not eligible to have their sentences commuted.”
State v. Garcia, No. 1 CA-CR 18-0386 (Ariz. Ct. App. June 25, 2019).“However, a person is entitled to credit against a term of imprisonment for “[a]ll time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense.”
State v. Humelhans, No. 1 CA-CR 13-0555 (Ariz. Ct. App. Sept. 23, 2014).
State v. Drew, No. 1 CA-CR 14-0451 (Ariz. Ct. App. Sept. 10, 2015).
(B)82 cases
State of Arizona v. David Soto Cecena, 334 P.3d 1282 (Ariz. Ct. App. 2014).“On appeal, he argues the trial court erred in refusing to grant him credit for time served during his presentence incarceration in Mexico pursuant to AR.S. § 13-712(B). For reasons set forth below, we remand this case for further fact finding as to whether his incarceration in…”
Khristina Lyn Shifflette v. Hon. Marner, 534 P.3d 101 (Ariz. Ct. App. 2023).“Because we conclude the respondent erred, we accept jurisdiction, grant relief, and remand the matter for resentencing.”
State of Arizona v. Brandon Albert Seay, 302 P.3d 671 (Ariz. Ct. App. 2013).“in custody pursuant to” the charged offenses and entitled to credit under A.R.S. § 13-712(B). 1 A defendant is entitled to credit for “[a]ll time actually spent in custody pursuant to an offense until the prisoner is sentenced to imprisonment for such offense.”
Steven Lane Fuller v. State of Arizona, 314 P.3d 814 (Ariz. Ct. App. 2013).“¶ 14 Finally, unlike in criminal proceedings, where a person who is sentenced receives credit for any pretrial incarceration, see A.R.S. § 13-712(B); Ariz. R.Crim. P. 26.10(b)(2), and might thereby be made whole if ultimately convicted of the charges, a person subjected to civil…”
State v. Burns, 298 P.3d 911 (Ariz. Ct. App. 2013).“See A.R.S. § 13-712(B) (West 2013) (defendant entitled to credit for all time spent in custody pursuant to an offense until the defendant is sentenced to imprisonment for such offense).”
Showing the top 5 of 82. More in the list view →
(C)1 case
Susan Scheerer v. State of Arizona, 281 P.3d 491 (Ariz. Ct. App. 2012).“See A.R.S. § 13-712(C) (“If a sentence of imprisonment is vacated and a new sentence is imposed on the defendant for the same offense, the new sentence is calculated as if it had commenced at the time the vacated sentence was imposed, and all time served under the vacated…”

Show all 97 citing cases (list view) →

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: text as last checked Oct. 2026 (this copy records no edition or section history). Syfert holds no earlier or later version of this section.

Arizona Revised Statutes Home  |  Search Arizona  |  Search cases for this section  |  syfert.com