18 Pa. Cons. Stat. § 5123 (2026)
Contraband.
Edition and currency
Other sources
Courts have cited this section in 65 opinions since 1978, 23 of them in the last five years. The most litigated part is subsection (a) (27 cases).
§ 5123. Contraband.
(a) Controlled substance contraband to confined persons prohibited.--A person commits a felony of the second degree if he sells, gives, transmits or furnishes to any convict in a prison, or inmate in a mental hospital, or gives away in or brings into any prison, mental hospital, or any building appurtenant thereto, or on the land granted to or owned or leased by the Commonwealth or county for the use and benefit of the prisoners or inmates, or puts in any place where it may be secured by a convict of a prison, inmate of a mental hospital, or employee thereof, any controlled substance included in Schedules I through V of the act of April 14, 1972 (P.L.233, No.64), known as The Controlled Substance, Drug, Device and Cosmetic Act, (except the ordinary hospital supply of the prison or mental hospital) without a written permit signed by the physician of such institution, specifying the quantity and quality of the substance which may be furnished to any convict, inmate, or employee in the prison or mental hospital, the name of the prisoner, inmate, or employee for whom, and the time when the same may be furnished, which permit shall be delivered to and kept by the warden or superintendent of the prison or mental hospital.
(a.1) Mandatory minimum penalty.--Any person convicted of a violation of subsection (a) shall be sentenced to a minimum sentence of at least two years of total confinement, notwithstanding any other provision of this title or any other statute to the contrary. Nothing in this subsection shall prevent the sentencing court from imposing a sentence greater than that provided in this subsection, up to the maximum penalty prescribed by this title for a felony of the second degree. There shall be no authority in any court to impose on an offender to which this subsection is applicable any lesser sentence than provided for in subsection (a) or to place such offender on probation or to suspend sentence. Sentencing guidelines promulgated by the Pennsylvania Commission on Sentencing shall not supersede the mandatory sentences provided in this subsection. If a sentencing court refuses to apply this subsection 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 subsection if it finds that the sentence was imposed in violation of this subsection.
(a.2) Possession of controlled substance contraband by inmate prohibited.--A prisoner or inmate commits a felony of the second degree if he unlawfully has in his possession or under his control any controlled substance in violation of section 13(a)(16) of The Controlled Substance, Drug, Device and Cosmetic Act. For purposes of this subsection, no amount shall be deemed de minimis.
(b) Money to inmates prohibited.--A person commits a misdemeanor of the third degree if he gives or furnishes money to any inmate confined in a State or county correctional institution, provided notice of this prohibition is adequately posted at the institution. A person may, however, deposit money with the superintendent, warden, or other authorized individual in charge of a State or county correctional institution for the benefit and use of an inmate confined therein, which shall be credited to the inmate's account and expended in accordance with the rules and regulations of the institution. The person making the deposit shall be provided with a written receipt for the amount deposited.
(c) Contraband other than controlled substance.--A person commits a misdemeanor of the first degree if he sells, gives or furnishes to any convict in a prison, or inmate in a mental hospital, or gives away in or brings into any prison, mental hospital, or any building appurtenant thereto, or on the land granted to or owned or leased by the Commonwealth or county for the use and benefit of the prisoners or inmates, or puts in any place where it may be secured by a convict of a prison, inmate of a mental hospital, or employee thereof, any kind of spirituous or fermented liquor, medicine or poison (except the ordinary hospital supply of the prison or mental hospital) without a written permit signed by the physician of such institution, specifying the quantity and quality of the substance which may be furnished to any convict, inmate or employee in the prison or mental hospital, the name of the prisoner, inmate or employee for whom, and the time when the same may be furnished, which permit shall be delivered to and kept by the warden or superintendent of the prison or mental hospital.
(c.1) Telecommunication devices to inmates prohibited.--A person commits a misdemeanor of the first degree if, without the written permission of superintendent, warden or otherwise authorized individual in charge of a correctional institution, prison, jail, detention facility or mental hospital, he sells, gives or furnishes to any inmate in a correctional institution, prison, jail, detention facility or mental hospital, or any building appurtenant thereto, or puts in any place where it may be obtained by an inmate of a correctional institution, prison, jail, detention facility or mental hospital, any telecommunication device.
(c.2) Possession of telecommunication devices by inmates prohibited.--An inmate in a correctional institution, prison, jail, detention facility or mental hospital, or any building appurtenant thereto, commits a misdemeanor of the first degree if he has in his possession any telecommunication device without the written permission of the superintendent, warden or otherwise authorized individual in charge of a correctional institution, prison, jail, detention facility or mental hospital.
(d) Drug-sniffing animals.--Any jail or prison may use dogs or other animals trained to sniff controlled substances or other contraband for such purposes in or on any part of the jail or prison at any time.
(e) Definitions.--As used in this section, the following words and phrases shall have the meanings given to them in this subsection:
"Inmate." A male or female offender who is committed to, under sentence to or confined in a penal or correctional institution.
"Telecommunication device." Any type of instrument, device, machine or equipment which is capable of transmitting telephonic, electronic, digital, cellular or radio communications or any part of such instrument, device, machine or equipment which is capable of facilitating the transmission of telephonic, electronic, digital, cellular or radio communications. The term shall include, but not be limited to, cellular phones, digital phones and modem equipment devices.
(June 23, 1978, P.L.498, No.77, eff. 60 days; Dec. 19, 1988, P.L.1275, No.158, eff. 60 days; Dec. 22, 1989, P.L.753, No.105, eff. 60 days; July 6, 1995, 1st Sp.Sess., P.L.1049, No.18, eff. 60 days; June 25, 1997, P.L.284, No.26, eff. 60 days; June 28, 2002, P.L.494, No.84, eff. 60 days)
2002 Amendment. Act 84 added subsecs. (c.1), (c.2) and (e).
1997 Amendment. Act 26 amended subsec. (a.2).
1995 Amendment. Act 18, 1st Sp.Sess., added subsecs. (a.1), (a.2) and (d).
1989 Amendment. Act 105 amended subsec. (a) and added subsec. (c).
Cross References. Section 5123 is referred to in section 3505 of this title; section 3513 of Title 61 (Prisons and Parole).
- Where it cites § 5123
- “In addition, she was convicted of two counts of possession by an inmate, pursuant to 18 Pa.C.S. § 5123(a.2), which provides that: A prisoner or inmate commits a felony of the second degree if he unlawfully has in his possession or under his control any controlled substance in…”
- The case’s holding
- To prove ineffective assistance of counsel, a petitioner must demonstrate that the underlying claim has merit, counsel had no reasonable basis for the action, and the petitioner suffered prejudice.
- Later courts cite it for
- “to prove counsel ineffective, the petitioner must show that: (1) his underlying claim is of arguable merit; (2) counsel had no reasonable basis for his action or inaction; and (3) the petitioner suffered actual prejudice as a result.” · 18 citing courts
- Where it cites § 5123
- “After careful review, we vacate Appellant’s judgment of sentence and remand for a new trial with ____________________________________________ 1 See 18 Pa.C.S. §§ 5123(a) (“controlled substance contraband to confined persons prohibited”) (hereinafter “Contraband Offense”), and…”
- The case’s holding
- A criminal statute that omits a specific mens rea requirement requires a culpability level of recklessness under the Pennsylvania Crimes Code.
- Later courts cite it for
- “the court's alternative analysis on the merits demonstrates that it was well-aware of the nature and scope” · 3 citing courts
- Where it cites § 5123
- “" 18 Pa.C.S. § 5123(a.2). This Court has held that the intent of the legislature in subsection 5123(a.”
- Later courts cite it for
- “one way to ascertain the plain meaning and ordinary usage of terms is by reference to a dictionary definition.” · 2 citing courts
- Where it cites § 5123
- “We must then first determine whether Howell has created an inference of gross proportionality between the two-year mandatory minimum sentence proscribed by 18 Pa.C.S. § 5123(a.1) and the crime of bringing drugs into a prison.”
- Where it cites § 5123
- “[4] 18 Pa.C.S. § 5123(a). [5] Our authority to adopt such standards is grounded on this Court's general supervisory and administrative authority, 42 Pa.”
- The case’s holding
- An order suppressing evidence is appealable only when the record demonstrates that the order terminates or substantially handicaps the prosecution.
- Later courts cite it for
- “the formal purpose of the superior court is to maintain and effectuate the decisional law of the supreme court as faithfully as possible.” · 12 citing courts
- Where it cites § 5123
- “The charge arose from the fact that Williams was in possession of a small amount of marijuana when he entered the State Correctional Institution at Camp Hill as a visitor in July of 1986. 1 The Commonwealth concedes that Williams did not intend to deliver the marijuana to…”
- The case’s holding
- A visitor who brings contraband into a prison violates the statute by mere possession, without any intent to deliver the substance to inmates; the plain statutory language controls over policy concerns.
- Later courts cite it for
- “the legislative purpose in enacting 18 pa.c.s. 5123(a) was obviously to prevent the acquisition of contraband substances by persons confined in prisons and mental hospitals.” · 4 citing courts
- Where it cites § 5123
- “See generally 18 Pa.C.S. § 5123(b) (providing that when a person gives money to an inmate, the funds are credited to the prisoner's account and expended in accordance with the prison's rules and regulations).”
- The case’s holding
- To satisfy due process, the Department must inform an inmate of his total financial liability and the deduction policy and provide a reasonable opportunity to object before any deductions.
- Later courts cite it for
- “due process is a flexible concept which 'varies with the particular situation.” · 4 citing courts
- Where it cites § 5123
- “§ 3925; possession of contraband, 18 Pa.C.S. § 5123; person not to possess a firearm, 18 Pa.”
- The case’s holding
- Reasonable suspicion for an investigative detention exists when gunshot sensor data is combined with a suspect's proximity to the location and evasive behavior.
- Later courts cite it for
- “was based on more than just the data obtained from that system.” · 2 citing courts
- Where it cites § 5123
- “Section 5123(b) of the Crimes Code, 18 Pa.C.S. § 5123(b). If a family member sends cash to an inmate through the mail, it will be deposited in the Inmate General Welfare Fund; if a family member sends an uncertified personal check through the mail, it will be returned.”
- Where it cites § 5123
- “Section 5123 of the Crimes Code, 18 Pa.C.S. § 5123, provides (with emphasis added) a person may “deposit money with the superintendent, warden, or other authorized individual in charge of a State or county correctional institution for the benefit and use of an inmate confined…”
- The case’s holding
- Inmate misconduct findings are matters of internal prison management and are not adjudications subject to appellate review, although the narrow exception permits review of assessments against inmate accounts.
- Later courts cite it for
- “inmate misconducts are a matter of internal prison management and, thus, do not constitute adjudications subject to appellate review.” · 12 citing courts
- Where it cites § 5123
- “” After he was sentenced to a prison term of 35 to 90 months on that count and his judgment of sentence was affirmed on direct appeal, Lehman timely filed a petition for post-conviction relief,2 ____________________________________________ * Retired Senior Judge assigned to the…”
- Where it cites § 5123
- “Finally, defendant points out that Pennsylvania has made it a misdemeanor to give money to an inmate, 18 Pa.C.S. § 5123(b). That statute, it is suggested, makes it plain that an inmate has no property interest under Pennsylvania law in contraband monies, 8 and also serves to…”
- Later courts cite it for
- “otherwise, it will 'always be profitable in the long run for inmates to attempt to smuggle cash into the prison, for they would never totally lose it.” · 2 citing courts
- Where it cites § 5123
- “One is at 18 Pa. C.S. § 5123, which speaks to the giving or furnishing of money directly to an inmate, and to the selling, giving or furnishing to an inmate of “any kind of spirituous or fermented liquor, drug, medicine, poison, opium, morphine, or other kind of narcotics .”
- Where it cites § 5123
- “WIEAND, Judge: The Commonwealth has appealed from an order of the trial court which granted a petition for habeas corpus and dismissed a criminal information charging Michael Williams with violating the provisions of 18 Pa.C.S. § 5123(a) which prohibit contraband to confined…”
- Where it cites § 5123
- “I write separately to note that we are not deciding whether parolees ____________________________________________ * Retired Senior Judge assigned to the Superior Court. 1 18 Pa.”
- Where it cites § 5123
- “The Commonwealth argues that the trial court erred in concluding that chewing tobacco is not poison, and therefore, is not contraband pursuant to 18 Pa.C.S. § 5123(c) and 61 Pa.C.S. § 5902(a)(1).”
- Where it cites § 5123
- “18 Pa.C.S. § 5123. . Judge Spaeth, in his dissenting opinion, concludes the lower court took judicial notice of the greater availability of heroin outside the jail than inside.”
- Where it cites § 5123
- “”6 The parties agree that Lehman was an offender, that the Renewal Center qualifies as a correctional institution, and that Lehman was not 3 18 Pa.C.S. § 5123(a.2) (“A prisoner or inmate commits a felony of the second degree if he unlawfully has in his possession or under his…”
- Where it cites § 5123
- “”6 The parties agree that Lehman was an offender, that the Renewal Center qualifies as a correctional institution, and that Lehman was not 3 18 Pa.C.S. § 5123(a.2) (“A prisoner or inmate commits a felony of the second degree if he unlawfully has in his possession or under his…”
- Where it cites § 5123
- “18 Pa.C.S. § 5123. Appellant was convicted for violating subsection (a.”
- Later courts cite it for
- “blatantly ignored that the common usage of that term . . . includes a person's voluntary, consensual entrustment of himself to a place or a cause.” · 2 citing courts
Show all 65 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.
One bar per year. Tallest: 8 cases in 2017. 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.
(a)27 cases
(a)(2)3 cases
(b)4 cases
(c)3 cases
(e)10 cases
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.
Edition shown: laws through the 2026 session (checked Sept. 2026). Syfert holds no earlier or later version of this section.