Counties in Pennsylvania by farms

Lancaster County had the highest farms of 67 counties in 2007, at 5,462. Philadelphia County had the lowest, at 17. The median was 836 and the figure for Pennsylvania was 63,163. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Keep it in a collection in your library.
Highest5,462Lancaster County
Median83667 counties
Pennsylvania63,163History

Map of counties, 2007

Adams County: 1,289 countAllegheny County: 534 countArmstrong County: 794 countBeaver County: 824 countBedford County: 1,173 countBerks County: 1,980 countBlair County: 523 countBradford County: 1,457 countBucks County: 934 countButler County: 1,116 countCambria County: 656 countCameron County: 34 countCarbon County: 207 countCentre County: 1,146 countChester County: 1,733 countClarion County: 872 countClearfield County: 473 countClinton County: 537 countColumbia County: 962 countCrawford County: 1,468 countCumberland County: 1,550 countDauphin County: 836 countDelaware County: 79 countElk County: 376 countErie County: 1,609 countFayette County: 1,220 countForest County: 84 countFranklin County: 1,540 countFulton County: 608 countGreene County: 1,245 countHuntingdon County: 930 countIndiana County: 1,544 countJefferson County: 597 countJuniata County: 788 countLackawanna County: 417 countLancaster County: 5,462 countLawrence County: 708 countLebanon County: 1,193 countLehigh County: 516 countLuzerne County: 610 countLycoming County: 1,211 countMcKean County: 313 countMercer County: 1,210 countMifflin County: 1,024 countMonroe County: 349 countMontgomery County: 719 countMontour County: 583 countNorthampton County: 486 countNorthumberland County: 936 countPerry County: 1,002 countPhiladelphia County: 17 countPike County: 54 countPotter County: 378 countSchuylkill County: 966 countSnyder County: 998 countSomerset County: 1,156 countSullivan County: 165 countSusquehanna County: 1,008 countTioga County: 1,011 countUnion County: 575 countVenango County: 487 countWarren County: 831 countWashington County: 2,023 countWayne County: 603 countWestmoreland County: 1,415 countWyoming County: 649 countYork County: 2,370 count
  • Under 420
  • 420 to 600
  • 600 to 840
  • 840 to 1,000
  • 1,000 to 1,400
  • 1,400 and over
count, 2007. 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, 2007

Lancaster County: 5,462 countLancaster County5,462York County: 2,370 countYork County2,370Washington County: 2,023 countWashington County2,023Berks County: 1,980 countBerks County1,980Chester County: 1,733 countChester County1,733Erie County: 1,609 countErie County1,609Cumberland County: 1,550 countCumberland County1,550Indiana County: 1,544 countIndiana County1,544Franklin County: 1,540 countFranklin County1,540Crawford County: 1,468 countCrawford County1,468Bradford County: 1,457 countBradford County1,457Westmoreland County: 1,415 countWestmoreland County1,415Adams County: 1,289 countAdams County1,289Greene County: 1,245 countGreene County1,245Fayette County: 1,220 countFayette County1,220Lycoming County: 1,211 countLycoming County1,211Mercer County: 1,210 countMercer County1,210Lebanon County: 1,193 countLebanon County1,193Bedford County: 1,173 countBedford County1,173Somerset County: 1,156 countSomerset County1,156Centre County: 1,146 countCentre County1,146Butler County: 1,116 countButler County1,116Mifflin County: 1,024 countMifflin County1,024Tioga County: 1,011 countTioga County1,011Susquehanna County: 1,008 countSusquehanna County1,008Perry County: 1,002 countPerry County1,002Snyder County: 998 countSnyder County998Schuylkill County: 966 countSchuylkill County966Columbia County: 962 countColumbia County962Northumberland County: 936 countNorthumberland County936Bucks County: 934 countBucks County934Huntingdon County: 930 countHuntingdon County930Clarion County: 872 countClarion County872Dauphin County: 836 countDauphin County836Warren County: 831 countWarren County831Beaver County: 824 countBeaver County824Armstrong County: 794 countArmstrong County794Juniata County: 788 countJuniata County788Montgomery County: 719 countMontgomery County719Lawrence County: 708 countLawrence County708Lancaster County: 5,462 countLancaster County5,462York County: 2,370 countYork County2,370Washington County: 2,023 countWashington County2,023Berks County: 1,980 countBerks County1,980Chester County: 1,733 countChester County1,733Erie County: 1,609 countErie County1,609Cumberland County: 1,550 countCumberland County1,550Indiana County: 1,544 countIndiana County1,544Franklin County: 1,540 countFranklin County1,540Crawford County: 1,468 countCrawford County1,468Bradford County: 1,457 countBradford County1,457Westmoreland County: 1,415 countWestmoreland County1,415Adams County: 1,289 countAdams County1,289Greene County: 1,245 countGreene County1,245Fayette County: 1,220 countFayette County1,220Lycoming County: 1,211 countLycoming County1,211Mercer County: 1,210 countMercer County1,210Lebanon County: 1,193 countLebanon County1,193Bedford County: 1,173 countBedford County1,173Somerset County: 1,156 countSomerset County1,156Centre County: 1,146 countCentre County1,146Butler County: 1,116 countButler County1,116Mifflin County: 1,024 countMifflin County1,024Tioga County: 1,011 countTioga County1,011Susquehanna County: 1,008 countSusquehanna County1,008Perry County: 1,002 countPerry County1,002Snyder County: 998 countSnyder County998Schuylkill County: 966 countSchuylkill County966Columbia County: 962 countColumbia County962Northumberland County: 936 countNorthumberland County936Bucks County: 934 countBucks County934Huntingdon County: 930 countHuntingdon County930Clarion County: 872 countClarion County872Dauphin County: 836 countDauphin County836Warren County: 831 countWarren County831Beaver County: 824 countBeaver County824Armstrong County: 794 countArmstrong County794Juniata County: 788 countJuniata County788Montgomery County: 719 countMontgomery County719Lawrence County: 708 countLawrence County708
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, 2007) [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, 2007. 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=2007. 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, 2007. 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=2007.

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

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

Which county has the lowest farms?

Philadelphia County, with 17 in 2007.

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