Counties in Montana by farms

Ravalli County had the highest farms of 56 counties in 2017, at 1,576. Deer Lodge County had the lowest, at 77. The median was 439 and the figure for Montana was 27,048. Source: the U.S. Department of Agriculture, National Agricultural Statistics Service.

Keep it in a collection in your library.
Highest1,576Ravalli County
Median43956 counties
Montana27,048History

Map of counties, 2017

Beaverhead County: 494 countBig Horn County: 353 countBlaine County: 491 countBroadwater County: 296 countCarbon County: 725 countCarter County: 323 countCascade County: 1,027 countChouteau County: 633 countCuster County: 441 countDaniels County: 277 countDawson County: 487 countDeer Lodge County: 77 countFallon County: 289 countFergus County: 845 countFlathead County: 1,146 countGallatin County: 1,123 countGarfield County: 260 countGlacier County: 637 countGolden Valley County: 157 countGranite County: 151 countHill County: 698 countJefferson County: 370 countJudith Basin County: 357 countLake County: 1,170 countLewis and Clark County: 707 countLiberty County: 246 countLincoln County: 345 countMcCone County: 437 countMadison County: 605 countMeagher County: 145 countMineral County: 93 countMissoula County: 576 countMusselshell County: 346 countPark County: 575 countPetroleum County: 104 countPhillips County: 445 countPondera County: 486 countPowder River County: 325 countPowell County: 254 countPrairie County: 179 countRavalli County: 1,576 countRichland County: 527 countRoosevelt County: 501 countRosebud County: 414 countSanders County: 521 countSheridan County: 458 countSilver Bow County: 142 countStillwater County: 562 countSweet Grass County: 301 countTeton County: 686 countToole County: 362 countTreasure County: 121 countValley County: 557 countWheatland County: 174 countWibaux County: 137 countYellowstone County: 1,314 count
  • Under 170
  • 170 to 320
  • 320 to 440
  • 440 to 530
  • 530 to 700
  • 700 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.

All counties, 2017

Ravalli County: 1,576 countRavalli County1,576Yellowstone County: 1,314 countYellowstone County1,314Lake County: 1,170 countLake County1,170Flathead County: 1,146 countFlathead County1,146Gallatin County: 1,123 countGallatin County1,123Cascade County: 1,027 countCascade County1,027Fergus County: 845 countFergus County845Carbon County: 725 countCarbon County725Lewis and Clark County: 707 countLewis and Clark County707Hill County: 698 countHill County698Teton County: 686 countTeton County686Glacier County: 637 countGlacier County637Chouteau County: 633 countChouteau County633Madison County: 605 countMadison County605Missoula County: 576 countMissoula County576Park County: 575 countPark County575Stillwater County: 562 countStillwater County562Valley County: 557 countValley County557Richland County: 527 countRichland County527Sanders County: 521 countSanders County521Roosevelt County: 501 countRoosevelt County501Beaverhead County: 494 countBeaverhead County494Blaine County: 491 countBlaine County491Dawson County: 487 countDawson County487Pondera County: 486 countPondera County486Sheridan County: 458 countSheridan County458Phillips County: 445 countPhillips County445Custer County: 441 countCuster County441McCone County: 437 countMcCone County437Rosebud County: 414 countRosebud County414Jefferson County: 370 countJefferson County370Toole County: 362 countToole County362Judith Basin County: 357 countJudith Basin County357Big Horn County: 353 countBig Horn County353Musselshell County: 346 countMusselshell County346Lincoln County: 345 countLincoln County345Powder River County: 325 countPowder River County325Carter County: 323 countCarter County323Sweet Grass County: 301 countSweet Grass County301Broadwater County: 296 countBroadwater County296Fallon County: 289 countFallon County289Daniels County: 277 countDaniels County277Garfield County: 260 countGarfield County260Powell County: 254 countPowell County254Liberty County: 246 countLiberty County246Prairie County: 179 countPrairie County179Wheatland County: 174 countWheatland County174Golden Valley County: 157 countGolden Valley County157Granite County: 151 countGranite County151Meagher County: 145 countMeagher County145Silver Bow County: 142 countSilver Bow County142Wibaux County: 137 countWibaux County137Treasure County: 121 countTreasure County121Petroleum County: 104 countPetroleum County104Mineral County: 93 countMineral County93Deer Lodge County: 77 countDeer Lodge County77Ravalli County: 1,576 countRavalli County1,576Yellowstone County: 1,314 countYellowstone County1,314Lake County: 1,170 countLake County1,170Flathead County: 1,146 countFlathead County1,146Gallatin County: 1,123 countGallatin County1,123Cascade County: 1,027 countCascade County1,027Fergus County: 845 countFergus County845Carbon County: 725 countCarbon County725Lewis and Clark County: 707 countLewis and Clark County707Hill County: 698 countHill County698Teton County: 686 countTeton County686Glacier County: 637 countGlacier County637Chouteau County: 633 countChouteau County633Madison County: 605 countMadison County605Missoula County: 576 countMissoula County576Park County: 575 countPark County575Stillwater County: 562 countStillwater County562Valley County: 557 countValley County557Richland County: 527 countRichland County527Sanders County: 521 countSanders County521Roosevelt County: 501 countRoosevelt County501Beaverhead County: 494 countBeaverhead County494Blaine County: 491 countBlaine County491Dawson County: 487 countDawson County487Pondera County: 486 countPondera County486Sheridan County: 458 countSheridan County458Phillips County: 445 countPhillips County445Custer County: 441 countCuster County441McCone County: 437 countMcCone County437Rosebud County: 414 countRosebud County414Jefferson County: 370 countJefferson County370Toole County: 362 countToole County362Judith Basin County: 357 countJudith Basin County357Big Horn County: 353 countBig Horn County353Musselshell County: 346 countMusselshell County346Lincoln County: 345 countLincoln County345Powder River County: 325 countPowder River County325Carter County: 323 countCarter County323Sweet Grass County: 301 countSweet Grass County301Broadwater County: 296 countBroadwater County296Fallon County: 289 countFallon County289Daniels County: 277 countDaniels County277Garfield County: 260 countGarfield County260Powell County: 254 countPowell County254Liberty County: 246 countLiberty County246Prairie County: 179 countPrairie County179Wheatland County: 174 countWheatland County174Golden Valley County: 157 countGolden Valley County157Granite County: 151 countGranite County151Meagher County: 145 countMeagher County145Silver Bow County: 142 countSilver Bow County142Wibaux County: 137 countWibaux County137Treasure County: 121 countTreasure County121Petroleum County: 104 countPetroleum County104Mineral County: 93 countMineral County93Deer Lodge County: 77 countDeer Lodge County77
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 Montana 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 Montana 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/montana-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 Montana 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/montana-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 Montana by farms, 2017 [Dataset]. Via Data Commons. Available at: https://www.nass.usda.gov/AgCensus/, via Invokely: https://invokely.ai/rankings/farms/montana-counties?period=2017 (Accessed: 11 October 2026).

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

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

Which county has the lowest farms?

Deer Lodge County, with 77 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 Montana: more rankings