Kansas Statutes Annotated homeSearch Kansas
K.S.A.Chapter 22

K.S.A. § 22-3504 (2026)

Correction of sentence

Edition and currency
laws through the 2026 session (checked Sept. 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTlaws through the 2026 session (checked Sept. 2026) ACTIVE · 342 IN 5Y cited 1981–2026 762citing cases
At a glance

Courts have cited this section in 762 opinions since 1981, 342 of them in the last five years. The most litigated part is subsection (1) (203 cases).

22-3504. Correction of sentence. (a) The court may correct an illegal sentence at any time while the defendant is serving such sentence. The defendant shall receive full credit for time spent in custody under the sentence prior to correction. Unless the motion and the files and records of the case conclusively show that the defendant is entitled to no relief, the defendant shall have a right to a hearing, after reasonable notice to be fixed by the court, to be personally present and to have the assistance of counsel in any proceeding for the correction of an illegal sentence.

(b) Clerical mistakes in judgments, orders or other parts of the record and errors in the record arising from oversight or omission may be corrected by the court at any time and after such notice, if any, as the court orders.

(c) For the purposes of this section:

(1) "Illegal sentence" means a sentence: Imposed by a court without jurisdiction; that does not conform to the applicable statutory provision, either in character or punishment; or that is ambiguous with respect to the time and manner in which it is to be served at the time it is pronounced. A sentence is not an "illegal sentence" because of a change in the law that occurs after the sentence is pronounced.

(2) "Change in the law" means a statutory change or an opinion by an appellate court of the state of Kansas, unless the opinion is issued while the sentence is pending an appeal from the judgment of conviction.

(d) The amendments made to this section by this act are procedural in nature and shall be construed and applied retroactively.

History: L. 1970, ch. 129, § 22-3504; L. 2017, ch. 62, § 9; L. 2019, ch. 59, § 15; May 23.

The 20 cases that cite K.S.A. § 22-3504 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENState v. Smith, 441 P.3d 1041 (Kan. 2019).
cites § 22-3504 61×subsections: (1) 10×cited by 39 cases
Where it cites § 22-3504
“60-1507 and K.S.A. 22-3504. The second of these statutes, K.”
Holding on this section
A criminal defendant's failure to raise the issue of jail credit on direct appeal does not foreclose a motion for relief under K.S.A. 22-3504(2).
Later courts cite it for
“if an alternative basis exists for the district court's ruling.” · 2 citing courts
2
GREENState v. Clark, 486 P.3d 591 (Kan. 2021).
cites § 22-3504 33×subsections: (a) 3× (c)(2) (d)cited by 30 cases
Where it cites § 22-3504
“The legality of a sentence under K.S.A. 2020 Supp. 22-3504 is controlled by the law in effect at the time the sentence was pronounced.”
The case’s holding
The legality of a sentence is determined by the law in effect at the time the sentence was originally pronounced.
Later courts cite it for
“based on the foregoing analysis, we affirm the judgment of the court of appeals, reverse the judgment of the district court, vacate clark's 2019 sentence, and remand for resentencing consistent with this opinion.” · 1 citing court
3
GREENState v. Jamerson, 433 P.3d 698 (Kan. 2019).
cites § 22-3504 38×subsections: (1) 20×cited by 20 cases
Where it cites § 22-3504
“Whether a sentence is illegal within the meaning of K.S.A. 22-3504 is also a question of law over which an appellate court has unlimited review.”
The case’s holding
A district court lacks jurisdiction to modify legal sentences when correcting an illegal sentence under the Kansas Sentencing Guidelines Act.
Later courts cite it for
“in doing so, the court has to exercise its independent judgment-within the limitations imposed by the ksga-to determine the appropriate sentence.” · 3 citing courts
4
GREENState v. McCroy, 486 P.3d 618 (Kan. 2021).
cites § 22-3504 37×subsections: (a)cited by 16 cases
Where it cites § 22-3504
“60-2101 and K.S.A. 2018 Supp. 22-3504 to hear the State's appeal of an illegal sentence.”
Later courts cite it for
“in kansas, the right to appeal is entirely statutory and, as a general rule, appellate courts may exercise jurisdiction only when authorized to do so by statute.” · 3 citing courts
5
GREENState v. Murdock, 439 P.3d 307 (Kan. 2019).
cites § 22-3504 15×subsections: (1) 2×cited by 91 cases
Where it cites § 22-3504
“We agree and hold the legality of a sentence under K.S.A. 2018 Supp. 22-3504 is controlled by the law in effect at the time the sentence was pronounced.”
The case’s holding
The legality of a sentence is controlled by the law in effect at the time the sentence is pronounced.
Later courts cite it for
“a party may seek and obtain the benefit of a change in the law during the pendency of a direct appeal, but a party moving to correct an illegal sentence is stuck with the law in effect at the time the sentence was pronounced.” · 12 citing courts
6
GREENState v. Berreth, 273 P.3d 752 (Kan. 2012).
cites § 22-3504 29×subsections: (1) 8×cited by 46 cases
Where it cites § 22-3504
“Ten years after Rolland Berreth was convicted and sentenced for one count of aggravated kidnapping and three counts of aggravated criminal sodomy with a child under 14 years of age, he filed a pro se motion to correct an illegal sentence under K.S.A. 22-3504. His appointed…”
The case’s holding
An appellate court's answer to a question reserved by the state has no effect on the criminal defendant in the underlying case.
Later courts cite it for
“an appellate court's answer to a state's question reserved has no effect on the criminal defendant in tire underlying case” · 4 citing courts
7
GREENState v. Dickey, 350 P.3d 1054 (Kan. 2015).
cites § 22-3504 14×subsections: (1) 8×cited by 182 cases
Where it cites § 22-3504
“2d 618 (1996), stating “[t]he general rule regarding review *1028 of an illegal sentence is that ‘[a] defendant who invites error by stipulating to his or her criminal history cannot request a correction of sentence under K.S.A. 22-3504 after pronouncement of sentence.”
The case’s holding
Pre-statute burglary offenses are scored as nonperson felonies when applying the categorical approach to compare state criminal statutes.
Later courts cite it for
“charging documents, plea agreements, jury instructions, verdict forms, and transcripts from plea colloquies as well as findings of fact and conclusions of law from a bench trial.” · 3 citing courts
8
GREENState v. Hankins, 372 P.3d 1124 (Kan. 2016).
cites § 22-3504 14×subsections: (1) 6×cited by 33 cases
Where it cites § 22-3504
“A claim that a procedural bar to the appellate review of a sentence violates due process does not fit within the limited definition of an illegal sentence for K.S.A. 22-3504 purposes. 2. Liberal rules of construction cannot transform the reality of a pleading's content or the…”
The case’s holding
A successfully completed deferred judgment from another state is not a conviction for criminal history scoring purposes because it lacks a formal judgment of guilt.
9
GREENState v. Sandoval, 425 P.3d 365 (Kan. 2018).
cites § 22-3504 19×subsections: (1) 7×cited by 16 cases
Where it cites § 22-3504
“If a new sentence is pronounced from the bench after probation revocation, any original illegality no longer exists, and the new sentence is not subject to challenge or correction under K.S.A. 22-3504. If the judge instead requires the defendant to serve the original sentence,…”
Later courts cite it for
“after revoking a criminal defendant's probation, a district judge may choose to sentence anew, even if some component of the original sentence was illegal because it failed to match a mandatory statutory minimum.” · 2 citing courts
10
GREENState v. Redding, 444 P.3d 989 (Kan. 2019).
cites § 22-3504 11×subsections: (1)cited by 37 cases
Where it cites § 22-3504
“3d 859 (motion filed as one under K.S.A. 22-3504 and specifically requesting correction of sentence was properly treated as motion to correct illegal sentence, despite containing some requests for relief only available under 60-1507); Makthepharak v.”
The case’s holding
A court is not required to divine every conceivable interpretation of a pro se motion when a litigant repeatedly asserts specific statutory grounds for relief.
Later courts cite it for
“in construing pro se postconviction motions a court should consider the relief requested, rather than a formulaic adherence to pleading requirements.” · 3 citing courts
11
GREENState v. Horton, 423 P.3d 548 (Kan. 2018).
cites § 22-3504 14×subsections: (1) 2×cited by 21 cases
Where it cites § 22-3504
“: *549 Damon Horton seeks review of the Court of Appeals' decision to affirm the district court's summary denial of his motion to correct an illegal sentence under K.S.A. 22-3504. The motion challenged the revocation of his probation over 16 years earlier.”
The case’s holding
A motion to correct an illegal sentence cannot collaterally attack a probation-violation finding; such a finding must be challenged directly, not through the resulting sentence.
12
GREENState v. Sartin, 446 P.3d 1068 (Kan. 2019).
cites § 22-3504 8×subsections: (1) 4×cited by 64 cases
Where it cites § 22-3504
“The robbery conviction was remanded on direct appeal and the State opted against re-prosecuting it; Sartin's sentence was reduced to 570 months. State v. Sartin , No.”
The case’s holding
An appellate court has the authority to consider an illegal sentence issue raised for the first time on appeal.
Later courts cite it for
“an appellate court has the authority to consider an illegal sentence issue raised for the first time on appeal.” · 2 citing courts
13
GREENState v. Mitchell, 505 P.3d 739 (Kan. 2022).
cites § 22-3504 10×subsections: (c)(1) 2×cited by 34 cases
Where it cites § 22-3504
“An appellate court exercises de novo review over the determination of whether a sentence is illegal within the meaning of K.S.A. 2020 Supp. 22-3504. 2. The definition of an illegal sentence does not include a claim that a defendant was denied his or her statutory right to a…”
The case’s holding
A defendant must demonstrate exceptional circumstances, such as unusual events or intervening changes in the law, to justify the filing of a successive habeas corpus motion.
Later courts cite it for
“must show exceptional circumstances to justify the filing of a successive motion.” · 8 citing courts
14
GREENMakthepharak v. State, 314 P.3d 876 (Kan. 2013).
cites § 22-3504 15×subsections: (1) 2×cited by 40 cases
Where it cites § 22-3504
“; Sashada Makthepharak appeals denial of his motion to correct illegal sentence under K.S.A. 22-3504. The motion is primarily based on Makthepharak’s claim that his sentence was entered by a court without jurisdiction because he was never properly certified for adult prosecution.”
The case’s holding
A district court may summarily deny a motion to correct an illegal sentence without a hearing or appointment of counsel if the record conclusively shows no relief is warranted.
Later courts cite it for
“for more than 20 years we have instructed district courts considering a motion to correct an illegal sentence to conduct an initial examination of the motion.” · 3 citing courts
15
GREENState v. Thomas, 383 P.3d 152 (Kan. Ct. App. 2016).
cites § 22-3504 32×subsections: (1) 18×cited by 4 cases
Where it cites § 22-3504
“" Our Supreme Court has defined "illegal sentence" under K.S.A. 22-3504 as: "'(1) a sentence imposed by a court without jurisdiction; (2) a sentence that does not conform to the applicable statutory provision, either in character or the term of authorized punishment; or (3) a…”
Later courts cite it for
“the court's holding in dickey is not a 'change in the law' under a retroactivity analysis, but rather an application of the constitutional rule announced in apprendi and clarified by descamps.” · 1 citing court
16
GREENState v. Trotter, 295 P.3d 1039 (Kan. 2013).
cites § 22-3504 8×cited by 128 cases
Where it cites § 22-3504
“We affirm the summary denial of Trotter’s motion because a motion to correct an illegal sentence under K.S.A. 22-3504 cannot be used to collaterally challenge a conviction.”
The case’s holding
A motion to correct an illegal sentence is limited to correcting the sentence and cannot be used to challenge the validity of a conviction or the sufficiency of a charging document.
Later courts cite it for
“a movant in a k.s.a. 60-1507 motion is presumed to have listed all grounds for relief, and a subsequent motion need not be considered in the absence of a showing of circumstances justifying the original failure to list a ground.” · 15 citing courts
17
GREENState v. Hoge, 150 P.3d 905 (Kan. 2007).
cites § 22-3504 13×subsections: (1) 5×cited by 39 cases
Where it cites § 22-3504
“Also, in general, this court has treated procedural aspects of motions attacking sentences filed under K.S.A. 22-3504 the same as those filed under K.”
Holding on this section
Courts treat the procedural aspects of motions attacking sentences filed under K.S.A. 22-3504 the same as those filed under K.S.A. 60-1507.
Later courts cite it for
“in general, this court has treated procedural aspects of motions attacking sentences filed under k.s.a. 22-3504 the same as those filed under k.s.a. 60-1507.” · 2 citing courts
18
GREENState v. McAlister, 444 P.3d 923 (Kan. 2019).
cites § 22-3504 12×subsections: (1) 6×cited by 16 cases
Where it cites § 22-3504
“McAlister's K.S.A. 22-3504 motions contend that his sentences were based on an incorrect criminal history score because his pre-Kansas Sentencing Guidelines Act (KSGA) burglary convictions should have been classified as nonperson felonies.”
Later courts cite it for
“k.s.a. 22-3504's statutory directive that an illegal sentence may be corrected 'at any time' supersedes the normal procedural hurdles of res judicata and retroactivity.” · 2 citing courts
19
GREENState v. Edwards, 135 P.3d 1251 (Kan. 2006).
cites § 22-3504 12×subsections: (1) 12×cited by 37 cases
Where it cites § 22-3504
“: Darron Edwards appeals the district court’s summary denial of his pro se motion to correct an illegal sentence, filed pursuant to K.S.A. 22-3504(1). As Edwards’ sentence includes a term of life imprisonment, this court has jurisdiction pursuant to K.”
The case’s holding
An illegal sentence does not include a sentence that fails to conform to constitutional requirements (defining illegal sentence and holding it does not include “a sentence [that] fails to conform to constitutional requirements”).
Later courts cite it for
“the statute defining the crime and assigning the category of punishment to be imposed.” · 4 citing courts
20
GREENState v. Neal, 258 P.3d 365 (Kan. 2011).
cites § 22-3504 9×subsections: (1) 2×cited by 69 cases
Where it cites § 22-3504
“; This case arises out of the district court’s summary denial of Eric Neal’s motion to correct an illegal sentence under K.S.A. 22-3504 based upon his claims of an incorrect criminal history score.”
The case’s holding
A sentence resulting from an incorrect criminal history score is an illegal sentence and is not procedurally barred even if the issue could have been raised on direct appeal.
Later courts cite it for
“the motion to correct illegal sentence is not subject to our general rule that a defendant must raise all available issues on direct appeal.” · 6 citing courts

Show all 762 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
198120032026

One bar per year. Tallest: 103 cases in 2021. 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
Kan. Ct. App.433Kan.301D. Kan.1910th Cir.9
By subsection
(1)203 cases
State v. Jamerson, 433 P.3d 698 (Kan. 2019).“Whether a sentence is illegal within the meaning of K.S.A. 22-3504 is also a question of law over which an appellate court has unlimited review.”
State v. Smith, 441 P.3d 1041 (Kan. 2019).“60-1507 and K.S.A. 22-3504. The second of these statutes, K.”
State v. Dickey, 350 P.3d 1054 (Kan. 2015).“2d 618 (1996), stating “[t]he general rule regarding review *1028 of an illegal sentence is that ‘[a] defendant who invites error by stipulating to his or her criminal history cannot request a correction of sentence under K.S.A. 22-3504 after pronouncement of sentence.”
State v. Edwards, 135 P.3d 1251 (Kan. 2006).“: Darron Edwards appeals the district court’s summary denial of his pro se motion to correct an illegal sentence, filed pursuant to K.S.A. 22-3504(1). As Edwards’ sentence includes a term of life imprisonment, this court has jurisdiction pursuant to K.”
State v. Keel, 357 P.3d 251 (Kan. 2015).
Showing the top 5 of 203. More in the list view →
(a)186 cases
State v. Clark, 486 P.3d 591 (Kan. 2021).“The legality of a sentence under K.S.A. 2020 Supp. 22-3504 is controlled by the law in effect at the time the sentence was pronounced.”
State v. McCroy, 486 P.3d 618 (Kan. 2021).“60-2101 and K.S.A. 2018 Supp. 22-3504 to hear the State's appeal of an illegal sentence.”
State v. Louis, 476 P.3d 837 (Kan. Ct. App. 2020).
State v. Bradford, 466 P.3d 930 (Kan. 2020).
State v. Shipley, 510 P.3d 1194 (Kan. Ct. App. 2022).
Showing the top 5 of 186. More in the list view →
(b)28 cases
State v. Bailey, 491 P.3d 1256 (Kan. 2021).
State v. Peters, 555 P.3d 1134 (Kan. 2024).
State v. Sheets, 494 P.3d 168 (Kan. Ct. App. 2021).
State v. Goodridge, 474 P.3d 1265 (Kan. Ct. App. 2020).
State v. White, 494 P.3d 248 (Kan. Ct. App. 2021).
Showing the top 5 of 28. More in the list view →
(c)18 cases
State v. Gales, 452 P.3d 868 (Kan. Ct. App. 2019).
State v. Shipley, 510 P.3d 1194 (Kan. Ct. App. 2022).
State v. Adams, 476 P.3d 796 (Kan. Ct. App. 2020).
State v. Jacobson, 552 P.3d 1239 (Kan. 2024).
State v. Barrett, 495 P.3d 414 (Kan. Ct. App. 2021).
Showing the top 5 of 18. More in the list view →
(c)(1)187 cases
State v. Mitchell, 505 P.3d 739 (Kan. 2022).“An appellate court exercises de novo review over the determination of whether a sentence is illegal within the meaning of K.S.A. 2020 Supp. 22-3504. 2. The definition of an illegal sentence does not include a claim that a defendant was denied his or her statutory right to a…”
State v. Adams, 476 P.3d 796 (Kan. Ct. App. 2020).
State v. Louis, 476 P.3d 837 (Kan. Ct. App. 2020).
State v. Bradford, 466 P.3d 930 (Kan. 2020).
State v. Gulley, 505 P.3d 354 (Kan. 2022).
Showing the top 5 of 187. More in the list view →
(c)(2)16 cases
State v. Adams, 476 P.3d 796 (Kan. Ct. App. 2020).
State v. Clark, 486 P.3d 591 (Kan. 2021).
State v. Bradford, 466 P.3d 930 (Kan. 2020).
State v. Jacobson, 552 P.3d 1239 (Kan. 2024).
State v. Phipps, 539 P.3d 227 (Kan. Ct. App. 2023).
Showing the top 5 of 16. More in the list view →
(c)(3)1 case
State v. Edmond, 495 P.3d 415 (Kan. Ct. App. 2021).
(d)8 cases
State v. Roat, 466 P.3d 439 (Kan. 2020).
State v. Clark, 486 P.3d 591 (Kan. 2021).
State v. Adams, 476 P.3d 796 (Kan. Ct. App. 2020).
State v. Bradford, 466 P.3d 930 (Kan. 2020).
State v. Clark, 461 P.3d 89 (Kan. Ct. App. 2020).
Showing the top 5 of 8. More in the list view →

Show all 762 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: laws through the 2026 session (checked Sept. 2026). Syfert holds no earlier or later version of this section.

Kansas Statutes Annotated Home  |  Search Kansas  |  Search cases for this section  |  syfert.com