Pennsylvania Consolidated Statutes homeSearch Pennsylvania
Pa. Cons. Stat.42 Pa. Cons. Stat. (Judiciary)Chapter 97

42 Pa. Cons. Stat. § 9712 (2026)

 Sentences for offenses committed with firearms.

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.
Coverage note: this corpus holds the consolidated Pa.C.S. titles only. Unconsolidated P.S. statutes (UTPCPL 73 P.S. § 201-1, Liquor Code, wage payment laws) are not included; a miss here does not mean the statute does not exist. Check palegis.us.
Other sources
CURRENTlaws through the 2026 session (checked Sept. 2026) cited 1985–2026 364citing cases
At a glance

Courts have cited this section in 364 opinions since 1985, 25 of them in the last five years. The most litigated part is subsection (a) (61 cases).

§ 9712.  Sentences for offenses committed with firearms.

(a)  Mandatory sentence.--Except as provided under section 9716 (relating to two or more mandatory minimum sentences applicable), any person who is convicted in any court of this Commonwealth of a crime of violence as defined in section 9714(g) (relating to sentences for second and subsequent offenses), shall, if the person visibly possessed a firearm or a replica of a firearm, whether or not the firearm or replica was loaded or functional, that placed the victim in reasonable fear of death or serious bodily injury, during the commission of the offense, be sentenced to a minimum sentence of at least five years of total confinement notwithstanding any other provision of this title or other statute to the contrary. Such persons shall not be eligible for parole, probation, work release or furlough.

(b)  Proof at sentencing.--Provisions of this section shall not be an element of the crime and notice thereof to the defendant shall not be required prior to conviction, but reasonable notice of the Commonwealth's intention to proceed under this section shall be provided after conviction and before sentencing. The applicability of this section shall be determined at sentencing. The court shall consider any evidence presented at trial and shall afford the Commonwealth and the defendant an opportunity to present any necessary additional evidence and shall determine, by a preponderance of the evidence, if this section is applicable.

(c)  Authority of court in sentencing.--There shall be no authority in any court to impose on an offender to which this section is applicable any lesser sentence than provided for in subsection (a) or to place such offender on probation or to suspend sentence. Nothing in this section shall prevent the sentencing court from imposing a sentence greater than that provided in this section. Sentencing guidelines promulgated by the Pennsylvania Commission on Sentencing shall not supersede the mandatory sentences provided in this section.

(d)  Appeal by Commonwealth.--If a sentencing court refuses to apply this section where applicable, the Commonwealth shall have the right to appellate review of the action of the sentencing court. The appellate court shall vacate the sentence and remand the case to the sentencing court for imposition of a sentence in accordance with this section if it finds that the sentence was imposed in violation of this section.

(e)  Definitions.--As used in this section, the following words and phrases shall have the meanings given to them in this subsection:

"Firearm."  Any weapon, including a starter gun, which will or is designed to or may readily be converted to expel a projectile by the action of an explosive or the expansion of gas therein.

"Replica of a firearm."  An item that can reasonably be perceived to be a firearm.

(Mar. 8, 1982, P.L.169, No.54, eff. 90 days; June 13, 1995, 1st Sp.Sess., P.L.1024, No.17, eff. 120 days; Oct. 11, 1995, 1st Sp.Sess., P.L.1058, No.21, eff. 60 days)

 

1995 Amendments.  Act 17, 1st Sp.Sess., amended subsecs. (a) and (e) and Act 21, 1st Sp.Sess., amended subsec. (a). See the preamble to Act 17, 1st Sp.Sess., in the appendix to this title for special provisions relating to legislative purpose. Section 6 of Act 21, 1st Sp.Sess., provided that the amendment of subsec. (a) shall apply to all offenses committed on or after the effective date of Act 21.

Cross References.  Section 9712 is referred to in sections 9712.1, 9715 of this title; sections 505, 2702.1 of Title 18 (Crimes and Offenses); section 6137 of Title 61 (Prisons and Parole).

The 20 cases that cite 42 Pa. Cons. Stat. § 9712 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENCommonwealth v. Dickson, 918 A.2d 95 (Pa. 2007).
cites § 9712 22×subsections: (b) 4× (a) 2×cited by 121 cases
Where it cites § 9712
“We are asked to consider whether the sentencing enhancement codified at 42 Pa. C.S. § 9712, which imposes a mandatory sentence enhancement on a person who *97 visibly possesses a firearm or firearm replica during the commission of a crime of violence, [1] applies to an unarmed…”
The case’s holding
The mandatory minimum sentence enhancement for visible firearm possession does not apply to unarmed co-conspirators or accomplices.
Later courts cite it for
“if the sentence clearly implicates the legality of sentence, whether it was properly preserved below is of no moment, as a challenge to the legality of sentence cannot be waived.” · 13 citing courts
2
GREENCommonwealth v. Washington, T., 142 A.3d 810 (Pa. 2016).
cites § 9712 4×subsections: (a) 2×cited by 519 cases
Where it cites § 9712
“United States had rejected a claim that Apprendi, the precursor to Alleyne, applied to mandatory minimum sentencing provisions, and explicitly reaffirmed [the Court’s previous upholding of] 42 Pa.C.S. §9712. Thus, had a court been presented with defendant’s current sentencing…”
The case’s holding
A new constitutional rule regarding mandatory minimum sentences does not apply retroactively to collateral attacks on judgments that became final before the rule was announced (Alleyne).
Later courts cite it for
“alleyne does not apply retroactively to cases pending on collateral review.” · 126 citing courts
3
GREENCommonwealth v. Stokes, 38 A.3d 846 (Pa. Super. Ct. 2011).
cites § 9712 11×subsections: (a) (b)cited by 116 cases
Where it cites § 9712
“At sentencing, the Commonwealth invoked 42 Pa.C.S. § 9712, and requested that the court sentence Appellant to a five-year mandatory term based on possession of a firearm during a crime of violence.”
The case’s holding
A sentencing court may determine by a preponderance of the evidence whether a defendant used a firearm for sentencing enhancements even if a jury acquits on firearm charges.
Later courts cite it for
“in reviewing a challenge to the discretionary aspects of sentencing, we evaluate the court's decision under an abuse of discretion standard.” · 8 citing courts
4
GREENCommonwealth v. Foster, 960 A.2d 160 (Pa. Super. Ct. 2008).
cites § 9712 10×subsections: (a) 10×cited by 92 cases
Where it cites § 9712
“We conclude that Appellant, as an unarmed coconspirator in an armed robbery, was improperly sentenced pursuant to 42 Pa.C.S. § 9712(a). We therefore vacate the judgment of sentence and remand for re-sentencing.”
The case’s holding
A challenge to the legality of a sentence is non-waivable.
Later courts cite it for
“argument premised upon double jeopardy-merger principles is considered to relate to the legality of sentence” · 4 citing courts
5
GREENCommonwealth v. Bell, 516 A.2d 1172 (Pa. 1986).
cites § 9712 12×subsections: (a) 2× (b) 2× (d) 2×cited by 119 cases
Where it cites § 9712
“This case requires our review of the applicability and constitutionality of section 9712 of the Mandatory Minimum Sentencing Act, 42 Pa.C.S. § 9712, which requires the imposition of a minimum prison sentence of at least five years *338 upon conviction of certain enumerated…”
The case’s holding
Strict scrutiny requires a classification to be necessary to achieve a compelling state interest (explaining the equal protection standard).
Later courts cite it for
“it is a fundamental principle of constitutional law that a challenge to a statute may not be raised in the abstract, but must find its basis in an injury to the party seeking to have the enactment declared constitutionally infirm.” · 6 citing courts
6
GREENCommonwealth v. Wright, 494 A.2d 354 (Pa. 1985).
cites § 9712 10×subsections: (a) 2× (b) 2×cited by 177 cases
Where it cites § 9712
“The issue in these appeals is the constitutionality of section 9712 of the Mandatory Minimum Sentencing Act, 42 Pa.C.S. § 9712, which requires the imposition of a minimum sentence of five years' total confinement upon persons found to have been in visible possession of a firearm…”
The case’s holding
Visible possession of a firearm is a sentencing factor rather than an element of a crime and may be established by a preponderance of the evidence.
Later courts cite it for
“it is the province of the legislature to determine the punishment imposable for criminal conduct.” · 10 citing courts
7
GREENCommonwealth v. Foster, 17 A.3d 332 (Pa. 2011).
cites § 9712 6×subsections: (a) 6×cited by 136 cases
Where it cites § 9712
“Prior to sentencing, the Commonwealth invoked the mandatory minimum sentencing provision of 42 Pa.C.S. § 9712(a), which provides, Except as provided under section 9716 (relating to two or more mandatory minimum sentences applicable), any person who is convicted in any court of…”
The case’s holding
A challenge to the legality of a sentence is nonwaivable when the sentence affects a trial court's discretionary authority or is inconsistent with legislative parameters.
Later courts cite it for
“a challenge to the legality of sentence, however, need not be preserved and is never waivable.” · 4 citing courts
8
GREENCommonwealth v. Aponte, 855 A.2d 800 (Pa. 2004).
cites § 9712 6×subsections: (b) 2×cited by 101 cases
Where it cites § 9712
“§ 9712 (1982), which contained a provision mandating a minimum sentence of five years imprisonment if the judge found, by a preponderance of the evidence, the defendant visibly possessed a firearm while committing one of the specified felonies. Id., § 9712(a). The High Court…”
The case’s holding
A sentencing enhancement based on a prior conviction does not violate due process when the conviction is an objective matter of public record requiring no jury submission.
Later courts cite it for
“where . . . the judicial finding at sentencing is the fact of a prior conviction, submission to a jury is unnecessary, since the prior conviction is an objective fact that initially was cloaked in all the constitutional safeguards, and is now a matter of public record.” · 9 citing courts
9
GREENApprendi v. New Jersey, 530 U.S. 466 (2000).
cites § 9712 2×cited by 27,770 cases
Where it cites § 9712
“That case involved a challenge to the State's Mandatory *486 Minimum Sentencing Act, 42 Pa. Cons. Stat. § 9712 (1982). According to its provisions, anyone convicted of certain felonies would be subject to a mandatory minimum penalty of five years' imprisonment if the judge…”
The case’s holding
Any fact that increases the prescribed maximum penalty for a crime, other than the fact of a prior conviction, must be submitted to a jury and proven beyond a reasonable doubt.
Later courts cite it for
“other than the fact of a prior conviction, any fact that increases the penalty for a crime beyond the prescribed statutory maximum must be submitted to a jury, and proved beyond a reasonable doubt.” · 4003 citing courts
10
GREENCommonwealth v. Newman, 99 A.3d 86 (Pa. Super. Ct. 2014).
cites § 9712 3×subsections: (c) 3×cited by 623 cases
Where it cites § 9712
“, 42 Pa.C.S. § 9712(c); 42 Pa.C.S. § 9712.1(c); 42 Pa.”
The case’s holding
The mandatory minimum sentence for possessing a firearm in close proximity to narcotics is unconstitutional.
Later courts cite it for
“permits the trial court, as opposed to the jury, to increase a defendant's minimum sentence based upon a preponderance of the evidence that the defendant was dealing drugs and possessed a firearm, or that a firearm was in close proximity to the drugs.” · 46 citing courts
11
GREENCommonwealth v. Bavusa, 832 A.2d 1042 (Pa. 2003).
cites § 9712 6×subsections: (b) 6×cited by 78 cases
Where it cites § 9712
“Although the General Assembly did not speak that explicitly here, we are no less confident that it did not intend to set forth an additional element of the Section 6106(a)(1) felony offense. This case involves an amendatory statute which retained the primary felony offense…”
The case’s holding
Claims raised for the first time on appeal are waived if not presented in the lower court (stating that claims made for the first time on appeal are waived).
Later courts cite it for
“it is one thing to be unlicensed as a result of negligence, ignorance, or indifference, but it is quite another to be absolutely disqualified from licensure and possessing a firearm.” · 4 citing courts
12
GREENCommonwealth v. Williams, 733 A.2d 593 (Pa. 1999).
cites § 9712 6×subsections: (b) 2×cited by 253 cases
Where it cites § 9712
“—Provisions of this section shall not be an element of the crime and notice thereof to the defendant shall not be required prior to conviction, but reasonable notice of the Commonwealth's intention to proceed under this section shall be provided after *598 conviction and before…”
The case’s holding
Sexually violent predator provisions violate due process when they require a defendant to prove they are not a predator through a subjective determination of future dangerousness.
Later courts cite it for
“separate factual determination, the end result of which is the imposition of criminal punishment,” · 5 citing courts
13
GREENCommonwealth v. Ciccone, 152 A.3d 1004 (Pa. Super. Ct. 2016).
cites § 9712 5×cited by 32 cases
Where it cites § 9712
“Under § 9712, after a defendant was adjudicated guilty of the underlying offense, the sentencing court would determine by a preponderance of the evidence whether the defendant visibly possessed a firearm.”
The case’s holding
A mandatory sentencing statute is not void ab initio if it was constitutional at the time the sentence was imposed.
Later courts cite it for
“that a mandatory sentencing statute rendered illegal by alleyne is void ab initio thereby rendering any sentence imposed thereunder invalid.” · 5 citing courts
14
GREENCommonwealth v. Kleinicke, 895 A.2d 562 (Pa. Super. Ct. 2006).
cites § 9712 6×cited by 68 cases
Where it cites § 9712
“Section 9712 requires the imposition of a mandatory minimum sentence of five years upon a defendant's conviction of one of several enumerated crimes if the sentencing court determines the defendant "visibly possessed a firearm" during the commission of the crime.”
The case’s holding
A mandatory minimum sentence does not violate the Sixth Amendment if it does not increase the maximum penalty authorized by the jury's verdict.
Later courts cite it for
“it is settled that it is appellant's responsibility to ensure that this court has the complete record necessary to properly review a claim.” · 3 citing courts
15
GREENCommonwealth v. Watley, 81 A.3d 108 (Pa. Super. Ct. 2013).
cites § 9712 3×subsections: (c)cited by 414 cases
Where it cites § 9712
“In McMillan , the defendant alleged that Pennsylvania’s mandatory minimum statute at 42 Pa.C.S. § 9712, a closely analo *117 gous statute to the applicable mandatory statute herein, was unconstitutional because the fact that the defendant visibly possessed a firearm was not…”
The case’s holding
Intent to deliver a controlled substance is determined by the totality of the circumstances, including the proximity of firearms to the drugs.
Later courts cite it for
“legality of sentence questions are not waivable and may be raised sua sponte by this court.” · 24 citing courts
16
GREENCommonwealth v. Ferguson, 107 A.3d 206 (Pa. Super. Ct. 2015).
cites § 9712 4×subsections: (a) (c)cited by 116 cases
Where it cites § 9712
“5 These sentences were the result of the mandatory minimum sentences found in 42 Pa.C.S. § 9712. That section provides, in relevant part, as follows: (a) Mandatory sentence.”
The case’s holding
Joinder of distinct criminal offenses is proper if the evidence is admissible in separate trials, separable by the jury, and does not cause undue prejudice.
Later courts cite it for
“must be greater than the general prejudice any defendant suffers when the commonwealth's evidence links him to a crime.” · 4 citing courts
17
GREENCommonwealth v. Shull, 148 A.3d 820 (Pa. Super. Ct. 2016).
cites § 9712 2×cited by 116 cases
Where it cites § 9712
“An offender has possessed a deadly weapon if any of the following were on the offender’s person or within his immediate physical control: (1) Any firearm, (as defined in 42 Pa.C.S. § 9712) whether loaded or unloaded, or (ii) Any dangerous weapon (as defined in 18 Pa.”
The case’s holding
A defendant uses a deadly weapon when they employ a device to threaten another, and sentencing departures require a specific factual basis.
Later courts cite it for
“the imposition of the deadly weapon sentencing enhancement does not implicate the supreme court of the united states' holding in alleyne.” · 5 citing courts
18
GREENCommonwealth v. Spells, 612 A.2d 458 (Pa. Super. Ct. 1992).
cites § 9712 6×subsections: (a) 2×cited by 68 cases
Where it cites § 9712
“[4] Timely-filed post-verdict motions were denied by the trial court and Spells was sentenced to the mandatory minimum sentence of five years pursuant to 42 Pa.C.S. section 9712 (Purdon 1982 & Supp.”
The case’s holding
The state constitution provides no broader protection against cruel and unusual punishment than the Eighth Amendment to the United States Constitution.
Later courts cite it for
“the guarantee against cruel punishment contained in the pennsylvania constitution, article 1, section 13, provides no broader protections against cruel and unusual punishment than those extended under the eighth amendment to the united states constitution.” · 7 citing courts
19
GREENCommonwealth v. Barnes, K., 151 A.3d 121 (Pa. 2016).
cites § 9712 2×cited by 81 cases
Where it cites § 9712
“2007), this Court reviewed the mandatory minimum sentence found at 42 Pa.C.S. § 9712 (requiring at least five years’ imprisonment for a person who visibly possesses a firearm during the commission of a crime of violence) and whether it applied to an unarmed co- conspirator.”
The case’s holding
A sentence is illegal for issue preservation purposes if the mandatory minimum sentencing authority is void on its face and no separate mandatory authority supports the sentence.
Later courts cite it for
“typically, an appellant waives any claim that is not properly raised in the first instance before the trial court and preserved at every stage of his appeal.” · 7 citing courts
20
GREENCommonwealth v. Valentine, 101 A.3d 801 (Pa. Super. Ct. 2014).
cites § 9712 2×subsections: (c)cited by 340 cases
Where it cites § 9712
“Appellant’s claim addresses the alleged illegality of imposing a mandatory minimum sentence pursuant to 42 Pa.C.S. §§ 9712 and 9713. 42 Pa.C.SA. § 9712 provides: (a) Mandatory sentence.”
The case’s holding
Mandatory minimum sentencing provisions are unconstitutional if the trial court creates new procedures to have a jury find the factual predicates required by the sentencing statutes.
Later courts cite it for
“the trial court performed an impermissible legislative function by creating a new procedure in an effort to impose the mandatory minimum sentences in compliance with alleyne.” · 5 citing courts

Show all 364 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
198520052026

One bar per year. Tallest: 55 cases in 2016. 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
Pa. Super. Ct.250Pa.70Pa. Commw. Ct.4SCOTUS4Pa. Ct. Com. Pl.3Ala. Crim. App.23rd Cir.24th Cir.2

The 8 courts with the most citing cases, of 28 courts in all.

By subsection
(a)61 cases
Commonwealth v. Foster, 960 A.2d 160 (Pa. Super. Ct. 2008).“We conclude that Appellant, as an unarmed coconspirator in an armed robbery, was improperly sentenced pursuant to 42 Pa.C.S. § 9712(a). We therefore vacate the judgment of sentence and remand for re-sentencing.”
Commonwealth v. Foster, 17 A.3d 332 (Pa. 2011).“Prior to sentencing, the Commonwealth invoked the mandatory minimum sentencing provision of 42 Pa.C.S. § 9712(a), which provides, Except as provided under section 9716 (relating to two or more mandatory minimum sentences applicable), any person who is convicted in any court of…”
Commonwealth v. Washington, T., 142 A.3d 810 (Pa. 2016).“United States had rejected a claim that Apprendi, the precursor to Alleyne, applied to mandatory minimum sentencing provisions, and explicitly reaffirmed [the Court’s previous upholding of] 42 Pa.C.S. §9712. Thus, had a court been presented with defendant’s current sentencing…”
Commonwealth v. Dickson, 918 A.2d 95 (Pa. 2007).“We are asked to consider whether the sentencing enhancement codified at 42 Pa. C.S. § 9712, which imposes a mandatory sentence enhancement on a person who *97 visibly possesses a firearm or firearm replica during the commission of a crime of violence, [1] applies to an unarmed…”
Commonwealth v. Anderson, 650 A.2d 20 (Pa. 1994).
Showing the top 5 of 61. More in the list view →
(b)27 cases
Commonwealth v. Bavusa, 832 A.2d 1042 (Pa. 2003).“Although the General Assembly did not speak that explicitly here, we are no less confident that it did not intend to set forth an additional element of the Section 6106(a)(1) felony offense. This case involves an amendatory statute which retained the primary felony offense…”
Commonwealth v. Dickson, 918 A.2d 95 (Pa. 2007).
Commonwealth v. Reid, 117 A.3d 777 (Pa. Super. Ct. 2015).
Commonwealth v. Aponte, 855 A.2d 800 (Pa. 2004).“§ 9712 (1982), which contained a provision mandating a minimum sentence of five years imprisonment if the judge found, by a preponderance of the evidence, the defendant visibly possessed a firearm while committing one of the specified felonies. Id., § 9712(a). The High Court…”
Commonwealth v. Williams, 733 A.2d 593 (Pa. 1999).“—Provisions of this section shall not be an element of the crime and notice thereof to the defendant shall not be required prior to conviction, but reasonable notice of the Commonwealth's intention to proceed under this section shall be provided after *598 conviction and before…”
Showing the top 5 of 27. More in the list view →
(c)12 cases
Commonwealth v. Newman, 99 A.3d 86 (Pa. Super. Ct. 2014).“, 42 Pa.C.S. § 9712(c); 42 Pa.C.S. § 9712.1(c); 42 Pa.”
Commonwealth v. Watley, 81 A.3d 108 (Pa. Super. Ct. 2013).“In McMillan , the defendant alleged that Pennsylvania’s mandatory minimum statute at 42 Pa.C.S. § 9712, a closely analo *117 gous statute to the applicable mandatory statute herein, was unconstitutional because the fact that the defendant visibly possessed a firearm was not…”
Commonwealth v. Valentine, 101 A.3d 801 (Pa. Super. Ct. 2014).“Appellant’s claim addresses the alleged illegality of imposing a mandatory minimum sentence pursuant to 42 Pa.C.S. §§ 9712 and 9713. 42 Pa.C.SA. § 9712 provides: (a) Mandatory sentence.”
Commonwealth v. Ferguson, 107 A.3d 206 (Pa. Super. Ct. 2015).“5 These sentences were the result of the mandatory minimum sentences found in 42 Pa.C.S. § 9712. That section provides, in relevant part, as follows: (a) Mandatory sentence.”
Commonwealth v. Hartz, 532 A.2d 1139 (Pa. 1987).
Showing the top 5 of 12. More in the list view →
(d)3 cases
Commonwealth v. Boczkowski, 846 A.2d 75 (Pa. 2004).
Commonwealth v. Bell, 516 A.2d 1172 (Pa. 1986).“This case requires our review of the applicability and constitutionality of section 9712 of the Mandatory Minimum Sentencing Act, 42 Pa.C.S. § 9712, which requires the imposition of a minimum prison sentence of at least five years *338 upon conviction of certain enumerated…”
Commonwealth v. Knight, M., 156 A.3d 239 (Pa. 2016).
(e)8 cases
Commonwealth v. Zortman, 23 A.3d 519 (Pa. 2011).
Commonwealth v. Zortman, 985 A.2d 238 (Pa. Super. Ct. 2009).
Commonwealth v. Sterling, 496 A.2d 789 (Pa. 1985).
Commonwealth v. Zortman, 993 A.2d 869 (Pa. 2010).
Commonwealth v. ZORTMAN, 993 A.2d 869 (Pa. 2010).
Showing the top 5 of 8. More in the list view →

Show all 364 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.

Pennsylvania Consolidated Statutes Home  |  Search Pennsylvania  |  Search cases for this section  |  syfert.com