Key facts
67
Counties in Pennsylvania
Pa. DCED (2026)
2,555
Municipalities in Pennsylvania
Pa. DCED (2026)
6 years
Term of a magisterial district judge or a constable
Pa. Const. art. V, § 15; 44 Pa.C.S. § 7111
Counties, municipalities and school districts
Pennsylvania has 67 counties, sorted into 9 classes by population. Inside them are 2,555 municipalities, according to the state’s Department of Community and Economic Development (March 2026). Each MunicipalityA local government created for a particular community, such as a city, borough, town or village.Read more in the glossary is a city, a borough, a township or the state’s one town, Bloomsburg. The state also has 500 school districts, so a DistrictAn area set up for a purpose, such as the area whose voters elect one representative or the area a school district or other special district serves.Read more in the glossary often covers several municipalities. Counties and municipalities can adopt home rule charters that change how they are run. The state counts 110 home rule jurisdictions.
Cities, boroughs and townships
- Cities (56): Philadelphia is the only first-class city, Pittsburgh is second class, Scranton is second class A, and 53 cities are third class. A city mayor’s powers depend on its CharterA document, adopted under state law, that sets up a local government’s structure and powers. In Pennsylvania, voters adopt or change a home rule charter by referendum.Read more in the glossary or form of government.
- Boroughs (953): voters elect a council and a mayor, each for 4-year terms. The mayor directs the police and can VetoA president’s or governor’s formal rejection of a bill passed by a legislature. Congress can override a presidential veto with a two-thirds vote of the members voting in each chamber.Read more in the glossary ordinances.
- Second-class townships (1,452): a board of 3 or 5 supervisors, elected for 6-year terms, both makes and carries out township policy.
- First-class townships (93): 5 to 15 commissioners serve 4-year terms, elected at large or by ward.
County officers
The state constitution lists the elected county officers: commissioners, controllers or auditors, district attorneys, treasurers, sheriffs, registers of wills, recorders of deeds, prothonotaries and clerks of the courts. They serve 4-year terms and are chosen at municipal elections, and state law adds offices such as coroner. Counties without a home rule charter or optional plan elect 3 commissioners, and each voter may vote for only 2 of them. Public defenders are appointed rather than elected. Home rule counties can set up a different structure. In Philadelphia, the county offices were abolished and the city performs the county’s work.
Judges, magistrates and constables
Pennsylvania elects its judges, and judges of the statewide appeals courts and of the courts of common pleas in its 60 judicial districts serve 10-year terms. After a first election, they can keep their seats through a yes-or-no retention vote with no party label. Magisterial district judges serve 6-year terms and must win a regular election each time. They do not have to be lawyers, but non-lawyers must complete a training course and pass an exam. Constables are elected for 6-year terms in boroughs, townships and the wards of most cities.
School boards, tax collectors and poll officials
Most school districts have 9 school directors, elected for 4-year terms at municipal elections, either districtwide or by region. The board chooses the superintendent. Philadelphia is different: its 9 board members are appointed by the mayor and confirmed by City Council. Tax collectors are elected for 4-year terms, though in third-class cities and first-class townships the elected treasurer collects taxes. Each election district elects a judge of election and 2 inspectors for 4-year terms to run its polling place.
When Pennsylvanians vote
Pennsylvania has two kinds of November elections, and both fall on the Tuesday after the first Monday. The general election comes in even-numbered years. It covers federal offices and the General Assembly, where state House members serve 2 years and state senators serve 4. The governor and lieutenant governor are elected in midterm years, and the attorney general, auditor general and treasurer in presidential years. All five serve 4-year terms. The municipal election comes in odd-numbered years. It covers county, city, borough, township and ward offices, judges, school directors and other local posts.
All elections for judges of the courts for the several judicial districts, and for county, city, ward, borough, and township officers, for regular terms of service, shall be held on the municipal election day; namely, the Tuesday next following the first Monday of November in each odd-numbered year
Questions people ask
What is the difference between a borough and a township in Pennsylvania?
Are Pennsylvania magisterial district judges lawyers?
When are local elections held in Pennsylvania?
Who runs a Pennsylvania school district?
Sources
Checked November 4, 2026. Primary sources first, then official records, then nonpartisan research.
How these facts were checked: our promise. Every substantive fix is listed on the corrections page.
Keep going
Government
What is the difference between a county, a city, a township and a school district?
One address can sit inside a county, a city or township, a school district and special districts. Learn what each local government does.
Offices
What do county commissioners, council members, school boards and constables do?
County commissioners, city councils, school boards and constables shape local budgets, laws and services. See what each office does and who fills it.
Courts
Are judges elected or appointed?
How federal judges, federal magistrate judges and state judges are chosen, and how Pennsylvania’s elected magisterial district judges differ.