Counties in Pennsylvania by farms

Lancaster County had the highest farms of 67 counties in 2012, at 5,657. Philadelphia County had the lowest, at 22. The median was 783 and the figure for Pennsylvania was 59,309. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Keep it in a collection in your library.
Highest5,657Lancaster County
Median78367 counties
Pennsylvania59,309History

Map of counties, 2012

Adams County: 1,188 countAllegheny County: 428 countArmstrong County: 783 countBeaver County: 646 countBedford County: 1,210 countBerks County: 2,039 countBlair County: 525 countBradford County: 1,629 countBucks County: 827 countButler County: 1,061 countCambria County: 551 countCameron County: 36 countCarbon County: 195 countCentre County: 1,192 countChester County: 1,730 countClarion County: 652 countClearfield County: 533 countClinton County: 469 countColumbia County: 944 countCrawford County: 1,351 countCumberland County: 1,415 countDauphin County: 811 countDelaware County: 76 countElk County: 271 countErie County: 1,422 countFayette County: 941 countForest County: 56 countFranklin County: 1,596 countFulton County: 656 countGreene County: 876 countHuntingdon County: 833 countIndiana County: 1,166 countJefferson County: 577 countJuniata County: 737 countLackawanna County: 303 countLancaster County: 5,657 countLawrence County: 659 countLebanon County: 1,219 countLehigh County: 486 countLuzerne County: 556 countLycoming County: 1,207 countMcKean County: 290 countMercer County: 1,185 countMifflin County: 808 countMonroe County: 283 countMontgomery County: 596 countMontour County: 459 countNorthampton County: 498 countNorthumberland County: 847 countPerry County: 889 countPhiladelphia County: 22 countPike County: 50 countPotter County: 442 countSchuylkill County: 791 countSnyder County: 933 countSomerset County: 1,140 countSullivan County: 179 countSusquehanna County: 1,005 countTioga County: 1,125 countUnion County: 613 countVenango County: 464 countWarren County: 602 countWashington County: 1,915 countWayne County: 711 countWestmoreland County: 1,274 countWyoming County: 508 countYork County: 2,171 count
  • Under 430
  • 430 to 560
  • 560 to 780
  • 780 to 940
  • 940 to 1,200
  • 1,200 and over
count, 2012. Source: USDA NASS, Census of Agriculture: number of farms, nation, states and counties (1997 to 2022) via Data Commons. Boundaries: U.S. Census Bureau cartographic boundary files.

Top 40 counties, 2012

Lancaster County: 5,657 countLancaster County5,657York County: 2,171 countYork County2,171Berks County: 2,039 countBerks County2,039Washington County: 1,915 countWashington County1,915Chester County: 1,730 countChester County1,730Bradford County: 1,629 countBradford County1,629Franklin County: 1,596 countFranklin County1,596Erie County: 1,422 countErie County1,422Cumberland County: 1,415 countCumberland County1,415Crawford County: 1,351 countCrawford County1,351Westmoreland County: 1,274 countWestmoreland County1,274Lebanon County: 1,219 countLebanon County1,219Bedford County: 1,210 countBedford County1,210Lycoming County: 1,207 countLycoming County1,207Centre County: 1,192 countCentre County1,192Adams County: 1,188 countAdams County1,188Mercer County: 1,185 countMercer County1,185Indiana County: 1,166 countIndiana County1,166Somerset County: 1,140 countSomerset County1,140Tioga County: 1,125 countTioga County1,125Butler County: 1,061 countButler County1,061Susquehanna County: 1,005 countSusquehanna County1,005Columbia County: 944 countColumbia County944Fayette County: 941 countFayette County941Snyder County: 933 countSnyder County933Perry County: 889 countPerry County889Greene County: 876 countGreene County876Northumberland County: 847 countNorthumberland County847Huntingdon County: 833 countHuntingdon County833Bucks County: 827 countBucks County827Dauphin County: 811 countDauphin County811Mifflin County: 808 countMifflin County808Schuylkill County: 791 countSchuylkill County791Armstrong County: 783 countArmstrong County783Juniata County: 737 countJuniata County737Wayne County: 711 countWayne County711Lawrence County: 659 countLawrence County659Fulton County: 656 countFulton County656Clarion County: 652 countClarion County652Beaver County: 646 countBeaver County646Lancaster County: 5,657 countLancaster County5,657York County: 2,171 countYork County2,171Berks County: 2,039 countBerks County2,039Washington County: 1,915 countWashington County1,915Chester County: 1,730 countChester County1,730Bradford County: 1,629 countBradford County1,629Franklin County: 1,596 countFranklin County1,596Erie County: 1,422 countErie County1,422Cumberland County: 1,415 countCumberland County1,415Crawford County: 1,351 countCrawford County1,351Westmoreland County: 1,274 countWestmoreland County1,274Lebanon County: 1,219 countLebanon County1,219Bedford County: 1,210 countBedford County1,210Lycoming County: 1,207 countLycoming County1,207Centre County: 1,192 countCentre County1,192Adams County: 1,188 countAdams County1,188Mercer County: 1,185 countMercer County1,185Indiana County: 1,166 countIndiana County1,166Somerset County: 1,140 countSomerset County1,140Tioga County: 1,125 countTioga County1,125Butler County: 1,061 countButler County1,061Susquehanna County: 1,005 countSusquehanna County1,005Columbia County: 944 countColumbia County944Fayette County: 941 countFayette County941Snyder County: 933 countSnyder County933Perry County: 889 countPerry County889Greene County: 876 countGreene County876Northumberland County: 847 countNorthumberland County847Huntingdon County: 833 countHuntingdon County833Bucks County: 827 countBucks County827Dauphin County: 811 countDauphin County811Mifflin County: 808 countMifflin County808Schuylkill County: 791 countSchuylkill County791Armstrong County: 783 countArmstrong County783Juniata County: 737 countJuniata County737Wayne County: 711 countWayne County711Lawrence County: 659 countLawrence County659Fulton County: 656 countFulton County656Clarion County: 652 countClarion County652Beaver County: 646 countBeaver County646
count. Source: USDA NASS, Census of Agriculture: number of farms, nation, states and counties (1997 to 2022) via Data Commons. Retrieved 2026-10-11.

Full ranking

Other periods

About this ranking

Places from which 1,000 dollars or more of agricultural products were produced and sold, or normally would have been sold, during the census year, as counted by the USDA Census of Agriculture every five years.

Every value in the ranking comes from the same publisher and the same period, so the counties are compared on one definition. Equal values share a rank.

How to cite

Source: USDA National Agricultural Statistics Service, Census of Agriculture. Census of Agriculture: number of farms, nation, states and counties (1997 to 2022). Retrieved through Data Commons (datacommons.org). https://www.nass.usda.gov/AgCensus/. Retrieved 2026-10-11.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

U.S. Department of Agriculture, National Agricultural Statistics Service. (2026). Census of Agriculture: number of farms, nation, states and counties (1997 to 2022) (Counties in Pennsylvania by farms, 2012) [Data set]. Data Commons. Retrieved October 11, 2026, from https://www.nass.usda.gov/AgCensus/

MLA 9

Census of Agriculture: number of farms, nation, states and counties (1997 to 2022), Counties in Pennsylvania by farms, 2012. U.S. Department of Agriculture, National Agricultural Statistics Service, 11 Oct. 2026, https://www.nass.usda.gov/AgCensus/. Data Commons, https://datacommons.org. Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012. Accessed 11 Oct. 2026.

Chicago (author-date)

U.S. Department of Agriculture, National Agricultural Statistics Service. 2026. Census of Agriculture: number of farms, nation, states and counties (1997 to 2022). Counties in Pennsylvania by farms, 2012. Dataset. Distributed by Data Commons. Accessed October 11, 2026. https://www.nass.usda.gov/AgCensus/. Also distributed by Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012.

Harvard

U.S. Department of Agriculture, National Agricultural Statistics Service (2026) Census of Agriculture: number of farms, nation, states and counties (1997 to 2022), Counties in Pennsylvania by farms, 2012 [Dataset]. Via Data Commons. Available at: https://www.nass.usda.gov/AgCensus/, via Invokely: https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012 (Accessed: 11 October 2026).

BibTeX
@misc{department_counties_in_pennsylvania_by_2012,
  author = {{U.S. Department of Agriculture, National Agricultural Statistics Service}},
  title = {{Census of Agriculture: number of farms, nation, states and counties (1997 to 2022): Counties in Pennsylvania by farms, 2012}},
  year = {2026},
  howpublished = {Data set},
  publisher = {Data Commons},
  url = {https://www.nass.usda.gov/AgCensus/},
  urldate = {2026-10-11},
  note = {Retrieved through Data Commons (https://datacommons.org). Accessed via Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012. Publisher attribution: Source: USDA National Agricultural Statistics Service, Census of Agriculture. Census of Agriculture: number of farms, nation, states and counties (1997 to 2022). Retrieved through Data Commons (datacommons.org). https://www.nass.usda.gov/AgCensus/. Retrieved 2026-10-11.},
}
RIS
TY  - DATA
AU  - U.S. Department of Agriculture, National Agricultural Statistics Service
TI  - Census of Agriculture: number of farms, nation, states and counties (1997 to 2022): Counties in Pennsylvania by farms, 2012
PY  - 2026
DA  - 2026/10/11
PB  - Data Commons
DB  - Invokely
UR  - https://www.nass.usda.gov/AgCensus/
L2  - https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012
Y2  - 2026/10/11
N1  - Retrieved through Data Commons (https://datacommons.org).
N1  - Accessed via Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=2012.
N1  - Publisher attribution: Source: USDA National Agricultural Statistics Service, Census of Agriculture. Census of Agriculture: number of farms, nation, states and counties (1997 to 2022). Retrieved through Data Commons (datacommons.org). https://www.nass.usda.gov/AgCensus/. Retrieved 2026-10-11.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Counties in Pennsylvania by farms using official data, and cite the source.
rank_places {"indicator":"farms","level":"province","within":"Pennsylvania","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=farms&level=province&within=Pennsylvania&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which county has the highest farms?

Lancaster County, with 5,657 in 2012, according to the U.S. Department of Agriculture, National Agricultural Statistics Service.

Which county has the lowest farms?

Philadelphia County, with 22 in 2012.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Department of Agriculture, National Agricultural Statistics Service, Census of Agriculture: number of farms, nation, states and counties (1997 to 2022). Retrieved 2026-10-11.

Farms: other rankings

Counties in Pennsylvania: more rankings