Counties in Pennsylvania by farms

Lancaster County had the highest farms of 67 counties in 2017, at 5,108. Forest County had the lowest, at 36. The median was 670 and the figure for Pennsylvania was 53,157. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Keep it in a collection in your library.
Highest5,108Lancaster County
Median67067 counties
Pennsylvania53,157History

Map of counties, 2017

Adams County: 1,146 countAllegheny County: 389 countArmstrong County: 668 countBeaver County: 613 countBedford County: 1,159 countBerks County: 1,809 countBlair County: 496 countBradford County: 1,449 countBucks County: 824 countButler County: 955 countCambria County: 557 countCameron County: 37 countCarbon County: 200 countCentre County: 1,023 countChester County: 1,646 countClarion County: 594 countClearfield County: 497 countClinton County: 267 countColumbia County: 779 countCrawford County: 1,091 countCumberland County: 1,260 countDauphin County: 692 countDelaware County: 61 countElk County: 232 countErie County: 1,162 countFayette County: 834 countForest County: 36 countFranklin County: 1,581 countFulton County: 545 countGreene County: 722 countHuntingdon County: 714 countIndiana County: 951 countJefferson County: 468 countJuniata County: 670 countLackawanna County: 263 countLancaster County: 5,108 countLawrence County: 587 countLebanon County: 1,149 countLehigh County: 381 countLuzerne County: 451 countLycoming County: 1,043 countMcKean County: 259 countMercer County: 1,168 countMifflin County: 711 countMonroe County: 233 countMontgomery County: 565 countMontour County: 356 countNorthampton County: 459 countNorthumberland County: 728 countPerry County: 759 countPhiladelphia County: 43 countPike County: 53 countPotter County: 447 countSchuylkill County: 685 countSnyder County: 864 countSomerset County: 1,152 countSullivan County: 190 countSusquehanna County: 909 countTioga County: 1,056 countUnion County: 574 countVenango County: 409 countWarren County: 452 countWashington County: 1,760 countWayne County: 640 countWestmoreland County: 1,099 countWyoming County: 410 countYork County: 2,067 count
  • Under 270
  • 270 to 500
  • 500 to 670
  • 670 to 860
  • 860 to 1,200
  • 1,200 and over
count, 2017. 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, 2017

Lancaster County: 5,108 countLancaster County5,108York County: 2,067 countYork County2,067Berks County: 1,809 countBerks County1,809Washington County: 1,760 countWashington County1,760Chester County: 1,646 countChester County1,646Franklin County: 1,581 countFranklin County1,581Bradford County: 1,449 countBradford County1,449Cumberland County: 1,260 countCumberland County1,260Mercer County: 1,168 countMercer County1,168Erie County: 1,162 countErie County1,162Bedford County: 1,159 countBedford County1,159Somerset County: 1,152 countSomerset County1,152Lebanon County: 1,149 countLebanon County1,149Adams County: 1,146 countAdams County1,146Westmoreland County: 1,099 countWestmoreland County1,099Crawford County: 1,091 countCrawford County1,091Tioga County: 1,056 countTioga County1,056Lycoming County: 1,043 countLycoming County1,043Centre County: 1,023 countCentre County1,023Butler County: 955 countButler County955Indiana County: 951 countIndiana County951Susquehanna County: 909 countSusquehanna County909Snyder County: 864 countSnyder County864Fayette County: 834 countFayette County834Bucks County: 824 countBucks County824Columbia County: 779 countColumbia County779Perry County: 759 countPerry County759Northumberland County: 728 countNorthumberland County728Greene County: 722 countGreene County722Huntingdon County: 714 countHuntingdon County714Mifflin County: 711 countMifflin County711Dauphin County: 692 countDauphin County692Schuylkill County: 685 countSchuylkill County685Juniata County: 670 countJuniata County670Armstrong County: 668 countArmstrong County668Wayne County: 640 countWayne County640Beaver County: 613 countBeaver County613Clarion County: 594 countClarion County594Lawrence County: 587 countLawrence County587Union County: 574 countUnion County574Lancaster County: 5,108 countLancaster County5,108York County: 2,067 countYork County2,067Berks County: 1,809 countBerks County1,809Washington County: 1,760 countWashington County1,760Chester County: 1,646 countChester County1,646Franklin County: 1,581 countFranklin County1,581Bradford County: 1,449 countBradford County1,449Cumberland County: 1,260 countCumberland County1,260Mercer County: 1,168 countMercer County1,168Erie County: 1,162 countErie County1,162Bedford County: 1,159 countBedford County1,159Somerset County: 1,152 countSomerset County1,152Lebanon County: 1,149 countLebanon County1,149Adams County: 1,146 countAdams County1,146Westmoreland County: 1,099 countWestmoreland County1,099Crawford County: 1,091 countCrawford County1,091Tioga County: 1,056 countTioga County1,056Lycoming County: 1,043 countLycoming County1,043Centre County: 1,023 countCentre County1,023Butler County: 955 countButler County955Indiana County: 951 countIndiana County951Susquehanna County: 909 countSusquehanna County909Snyder County: 864 countSnyder County864Fayette County: 834 countFayette County834Bucks County: 824 countBucks County824Columbia County: 779 countColumbia County779Perry County: 759 countPerry County759Northumberland County: 728 countNorthumberland County728Greene County: 722 countGreene County722Huntingdon County: 714 countHuntingdon County714Mifflin County: 711 countMifflin County711Dauphin County: 692 countDauphin County692Schuylkill County: 685 countSchuylkill County685Juniata County: 670 countJuniata County670Armstrong County: 668 countArmstrong County668Wayne County: 640 countWayne County640Beaver County: 613 countBeaver County613Clarion County: 594 countClarion County594Lawrence County: 587 countLawrence County587Union County: 574 countUnion County574
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, 2017) [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, 2017. 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=2017. 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, 2017. 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=2017.

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, 2017 [Dataset]. Via Data Commons. Available at: https://www.nass.usda.gov/AgCensus/, via Invokely: https://invokely.ai/rankings/farms/pennsylvania-counties?period=2017 (Accessed: 11 October 2026).

BibTeX
@misc{department_counties_in_pennsylvania_by_2017,
  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, 2017}},
  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=2017. 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, 2017
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=2017
Y2  - 2026/10/11
N1  - Retrieved through Data Commons (https://datacommons.org).
N1  - Accessed via Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=2017.
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,108 in 2017, according to the U.S. Department of Agriculture, National Agricultural Statistics Service.

Which county has the lowest farms?

Forest County, with 36 in 2017.

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