1940 Montana governor election
Statewide
| Candidate | Party | Votes | % |
|---|---|---|---|
| Sam C. Ford won | R | 124,435 | 50.67% |
| Roy E. Ayers | D | 119,453 | 48.64% |
| Other candidates (not listed by name) | 1,713 | 0.70% | |
| Total votes | 245,601 |
By county
| County | R | % | D | % | Total |
|---|---|---|---|---|---|
| Beaverhead County | 1,626 | 48.60% | 1,701 | 50.84% | 3,346 |
| Big Horn County | 1,305 | 42.70% | 1,745 | 57.10% | 3,056 |
| Blaine County | 1,777 | 53.28% | 1,546 | 46.36% | 3,335 |
| Broadwater County | 805 | 49.54% | 812 | 49.97% | 1,625 |
| Carbon County | 2,853 | 54.92% | 2,294 | 44.16% | 5,195 |
| Carter County | 588 | 46.74% | 665 | 52.86% | 1,258 |
| Cascade County | 8,948 | 44.54% | 10,984 | 54.67% | 20,090 |
| Chouteau County | 1,678 | 48.71% | 1,749 | 50.77% | 3,445 |
| Custer County | 2,469 | 51.01% | 2,354 | 48.64% | 4,840 |
| Daniels County | 1,224 | 63.03% | 706 | 36.35% | 1,942 |
| Dawson County | 1,940 | 57.69% | 1,413 | 42.02% | 3,363 |
| Deer Lodge County | 3,247 | 44.55% | 3,949 | 54.18% | 7,288 |
| Fallon County | 932 | 57.53% | 683 | 42.16% | 1,620 |
| Fergus County | 2,934 | 44.21% | 3,689 | 55.58% | 6,637 |
| Flathead County | 5,600 | 57.65% | 4,054 | 41.73% | 9,714 |
| Gallatin County | 4,227 | 52.01% | 3,877 | 47.70% | 8,128 |
| Garfield County | 694 | 54.18% | 583 | 45.51% | 1,281 |
| Glacier County | 1,668 | 44.87% | 2,035 | 54.75% | 3,717 |
| Golden Valley County | 433 | 57.58% | 317 | 42.15% | 752 |
| Granite County | 785 | 45.67% | 919 | 53.46% | 1,719 |
| Hill County | 3,103 | 55.14% | 2,496 | 44.36% | 5,627 |
| Jefferson County | 1,106 | 52.69% | 985 | 46.93% | 2,099 |
| Judith Basin County | 965 | 50.29% | 937 | 48.83% | 1,919 |
| Lake County | 3,075 | 59.21% | 2,095 | 40.34% | 5,193 |
| Lewis and Clark County | 5,229 | 49.36% | 5,314 | 50.16% | 10,594 |
| Liberty County | 657 | 67.45% | 312 | 32.03% | 974 |
| Lincoln County | 1,569 | 46.99% | 1,748 | 52.35% | 3,339 |
| Madison County | 1,642 | 49.97% | 1,630 | 49.60% | 3,286 |
| McCone County | 863 | 57.76% | 620 | 41.50% | 1,494 |
| Meagher County | 622 | 53.90% | 526 | 45.58% | 1,154 |
| Mineral County | 538 | 51.34% | 496 | 47.33% | 1,048 |
| Missoula County | 6,733 | 51.10% | 6,357 | 48.25% | 13,175 |
| Musselshell County | 1,765 | 59.89% | 1,145 | 38.85% | 2,947 |
| Park County | 2,654 | 49.99% | 2,641 | 49.75% | 5,309 |
| Petroleum County | 320 | 50.47% | 313 | 49.37% | 634 |
| Phillips County | 1,470 | 44.28% | 1,837 | 55.33% | 3,320 |
| Pondera County | 1,774 | 59.57% | 1,191 | 39.99% | 2,978 |
| Powder River County | 698 | 59.10% | 478 | 40.47% | 1,181 |
| Powell County | 1,325 | 45.58% | 1,566 | 53.87% | 2,907 |
| Prairie County | 648 | 56.25% | 493 | 42.80% | 1,152 |
| Ravalli County | 3,037 | 57.53% | 2,217 | 42.00% | 5,279 |
| Richland County | 1,755 | 48.49% | 1,843 | 50.93% | 3,619 |
| Roosevelt County | 1,963 | 49.58% | 1,972 | 49.81% | 3,959 |
| Rosebud County | 1,155 | 43.68% | 1,475 | 55.79% | 2,644 |
| Sanders County | 1,356 | 49.38% | 1,358 | 49.45% | 2,746 |
| Sheridan County | 1,520 | 50.05% | 1,482 | 48.80% | 3,037 |
| Silver Bow County | 13,638 | 53.82% | 11,205 | 44.22% | 25,342 |
| Stillwater County | 1,384 | 55.72% | 1,089 | 43.84% | 2,484 |
| Sweet Grass County | 826 | 51.56% | 770 | 48.06% | 1,602 |
| Teton County | 1,343 | 46.83% | 1,512 | 52.72% | 2,868 |
| Toole County | 1,648 | 51.81% | 1,524 | 47.91% | 3,181 |
| Treasure County | 318 | 51.88% | 294 | 47.96% | 613 |
| Valley County | 2,212 | 42.97% | 2,910 | 56.53% | 5,148 |
| Wheatland County | 783 | 45.10% | 952 | 54.84% | 1,736 |
| Wibaux County | 489 | 48.37% | 520 | 51.43% | 1,011 |
| Yellowstone County | 8,519 | 48.26% | 9,075 | 51.41% | 17,651 |
Statewide figures are sums of these county returns. The source lists the Democratic and Republican nominees only; "other candidates" is the total minus those two. * Some counties have no count for this candidate. A dash means the source has no figure.