Counties in Pennsylvania by farms, 2022

Lancaster County had the highest farms of 67 counties in 2022, at 4,680. Cameron County had the lowest, at 29. The median was 596 and the figure for Pennsylvania was 49,053. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Highest4,680Lancaster County
Median59667 counties
Pennsylvania49,053History

Top 40 counties, 2022

Lancaster County: 4,680 countLancaster County4,680York County: 1,929 countYork County1,929Berks County: 1,767 countBerks County1,767Washington County: 1,583 countWashington County1,583Chester County: 1,558 countChester County1,558Franklin County: 1,439 countFranklin County1,439Bradford County: 1,315 countBradford County1,315Adams County: 1,243 countAdams County1,243Cumberland County: 1,186 countCumberland County1,186Bedford County: 1,106 countBedford County1,106Erie County: 1,052 countErie County1,052Mercer County: 1,023 countMercer County1,023Crawford County: 1,022 countCrawford County1,022Somerset County: 998 countSomerset County998Tioga County: 998 countTioga County998Lebanon County: 993 countLebanon County993Westmoreland County: 989 countWestmoreland County989Indiana County: 936 countIndiana County936Lycoming County: 918 countLycoming County918Butler County: 903 countButler County903Centre County: 892 countCentre County892Bucks County: 871 countBucks County871Fayette County: 795 countFayette County795Snyder County: 792 countSnyder County792Susquehanna County: 740 countSusquehanna County740Northumberland County: 724 countNorthumberland County724Armstrong County: 721 countArmstrong County721Schuylkill County: 710 countSchuylkill County710Columbia County: 688 countColumbia County688Dauphin County: 685 countDauphin County685Huntingdon County: 671 countHuntingdon County671Perry County: 661 countPerry County661Greene County: 643 countGreene County643Clarion County: 596 countClarion County596Lawrence County: 585 countLawrence County585Montgomery County: 579 countMontgomery County579Mifflin County: 543 countMifflin County543Beaver County: 539 countBeaver County539Wayne County: 523 countWayne County523Juniata County: 514 countJuniata County514
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, 2022) [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, 2022. 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. 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, 2022. 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.

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

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

Which county has the lowest farms?

Cameron County, with 29 in 2022.

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