Act of Dec. 7, 1990, P.L. 615, No. 156, § 3 (Official Visitation of Prisons Act)
Visitation
(a) Time.--Any official visitor is hereby authorized to enter and visit any local or State correctional facility on any and every day, including Sundays, between the hours of 9 a.m. and 5 p.m. Visits at any other time shall be made only with the special permission of the correctional official in charge of the facility.
(b) Denial of entry.--If the correctional official in charge of a State correctional facility is of the opinion that the visit would be dangerous to the discipline or welfare of the facility or the safety of the visitor, the correctional official in charge of the facility may temporarily deny entry to any official visitor if the Secretary of Corrections has previously declared that an emergency situation exists within the facility. If this temporary exclusion exceeds 72 hours, the official visitor may apply to Commonwealth Court for a ruling upon the Secretary of Corrections to show cause why the official visitor should not be permitted entry into the correctional facility. (c) Temporary denial of visitation for local facilities.--If the correctional official in charge of a local correctional facility has previously determined that an emergency exists at the facility, the correctional official may, with the approval of the president judge of the court of common pleas for the district where the facility is located, temporarily deny entry to an official visitor. If this temporary exclusion exceeds 72 hours, the official visitor may apply to Commonwealth Court for a ruling upon the president judge to show cause why the official visitor should not be permitted entry into the correctional facility.
(d) Interviews.--Official visitors shall have the right to interview privately any prisoner or inmate confined in any State or local correctional facility and for that purpose to enter the cell, room or apartment wherein any prisoners or inmates are confined. However, if the superintendent or person in charge of the facility at the time of the visit is of the opinion that entry into a cell would be dangerous to the discipline of the facility, then the superintendent or person in charge may conduct any inmates, with whom the official visitor may desire a private interview, into another cell or room as he may designate and there permit the private interview between the official visitor and the inmate to take place.
(e) Official visitors and employees not exempt from prosecution.--Official visitors and their employees shall not be exempt from prosecution for any criminal offense, including, but not limited to, a violation of 18 Pa.C.S. §§ 5121 (relating to escape), 5122 (relating to weapons or implements for escape) and 5123 (relating to contraband).
(f) Decree of court.--If an official visitor violates any provision of this section, any superintendent, warden or official in charge of a local or State correctional facility may apply to the appropriate court for a ruling upon the visitor to show cause why he or she should not be deprived of his or her official visitation status, and, upon proof to the satisfaction of the court, the court shall enter a decree against the official visitor depriving him or her of all rights, privileges and functions of official visitors.