Counties in Pennsylvania by farms
Lancaster County had the highest farms of 67 counties in 1997, at 5,695. Philadelphia County had the lowest, at 12. The median was 801 and the figure for Pennsylvania was 60,222. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.
Top 40 counties, 1997
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
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, 1997) [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, 1997. 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=1997. 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, 1997. 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=1997.
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, 1997 [Dataset]. Via Data Commons. Available at: https://www.nass.usda.gov/AgCensus/, via Invokely: https://invokely.ai/rankings/farms/pennsylvania-counties?period=1997 (Accessed: 11 October 2026).
BibTeX
@misc{department_counties_in_pennsylvania_by_1997,
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, 1997}},
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=1997. 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, 1997
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=1997
Y2 - 2026/10/11
N1 - Retrieved through Data Commons (https://datacommons.org).
N1 - Accessed via Invokely, https://invokely.ai/rankings/farms/pennsylvania-counties?period=1997.
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 -
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
Questions
Which county has the highest farms?
Lancaster County, with 5,695 in 1997, according to the U.S. Department of Agriculture, National Agricultural Statistics Service.
Which county has the lowest farms?
Philadelphia County, with 12 in 1997.
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.