Counties in Maryland by farms

Frederick County had the highest farms of 23 counties in 2017, at 1,373. Somerset County had the lowest, at 255. The median was 483 and the figure for Maryland was 12,429. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Keep it in a collection in your library.
Highest1,373Frederick County
Median48323 counties
Maryland12,429History

Map of counties, 2017

Allegany County: 290 countAnne Arundel County: 390 countBaltimore County: 708 countCalvert County: 280 countCaroline County: 588 countCarroll County: 1,174 countCecil County: 533 countCharles County: 385 countDorchester County: 371 countFrederick County: 1,373 countGarrett County: 707 countHarford County: 628 countHoward County: 321 countKent County: 346 countMontgomery County: 558 countPrince George's County: 367 countQueen Anne's County: 483 countSt. Mary's County: 615 countSomerset County: 255 countTalbot County: 317 countWashington County: 877 countWicomico County: 494 countWorcester County: 369 count
  • Under 330
  • 330 to 380
  • 380 to 540
  • 540 to 680
  • 680 and over
  • No data
count, 2017. Hatched areas have no value for this period. 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.

All counties, 2017

Frederick County: 1,373 countFrederick County1,373Carroll County: 1,174 countCarroll County1,174Washington County: 877 countWashington County877Baltimore County: 708 countBaltimore County708Garrett County: 707 countGarrett County707Harford County: 628 countHarford County628St. Mary's County: 615 countSt. Mary's County615Caroline County: 588 countCaroline County588Montgomery County: 558 countMontgomery County558Cecil County: 533 countCecil County533Wicomico County: 494 countWicomico County494Queen Anne's County: 483 countQueen Anne's County483Anne Arundel County: 390 countAnne Arundel County390Charles County: 385 countCharles County385Dorchester County: 371 countDorchester County371Worcester County: 369 countWorcester County369Prince George's County: 367 countPrince George's County367Kent County: 346 countKent County346Howard County: 321 countHoward County321Talbot County: 317 countTalbot County317Allegany County: 290 countAllegany County290Calvert County: 280 countCalvert County280Somerset County: 255 countSomerset County255Frederick County: 1,373 countFrederick County1,373Carroll County: 1,174 countCarroll County1,174Washington County: 877 countWashington County877Baltimore County: 708 countBaltimore County708Garrett County: 707 countGarrett County707Harford County: 628 countHarford County628St. Mary's County: 615 countSt. Mary's County615Caroline County: 588 countCaroline County588Montgomery County: 558 countMontgomery County558Cecil County: 533 countCecil County533Wicomico County: 494 countWicomico County494Queen Anne's County: 483 countQueen Anne's County483Anne Arundel County: 390 countAnne Arundel County390Charles County: 385 countCharles County385Dorchester County: 371 countDorchester County371Worcester County: 369 countWorcester County369Prince George's County: 367 countPrince George's County367Kent County: 346 countKent County346Howard County: 321 countHoward County321Talbot County: 317 countTalbot County317Allegany County: 290 countAllegany County290Calvert County: 280 countCalvert County280Somerset County: 255 countSomerset County255
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 Maryland 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 Maryland 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/maryland-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 Maryland 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/maryland-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 Maryland by farms, 2017 [Dataset]. Via Data Commons. Available at: https://www.nass.usda.gov/AgCensus/, via Invokely: https://invokely.ai/rankings/farms/maryland-counties?period=2017 (Accessed: 11 October 2026).

BibTeX
@misc{department_counties_in_maryland_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 Maryland 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/maryland-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 Maryland 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/maryland-counties?period=2017
Y2  - 2026/10/11
N1  - Retrieved through Data Commons (https://datacommons.org).
N1  - Accessed via Invokely, https://invokely.ai/rankings/farms/maryland-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 Maryland by farms using official data, and cite the source.
rank_places {"indicator":"farms","level":"province","within":"Maryland","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=farms&level=province&within=Maryland&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?

Frederick County, with 1,373 in 2017, according to the U.S. Department of Agriculture, National Agricultural Statistics Service.

Which county has the lowest farms?

Somerset County, with 255 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 Maryland: more rankings