1879 Maryland governor election
Statewide
| Candidate | Party | Votes | % |
|---|---|---|---|
| William T. Hamilton won | D | 90,731 | 56.94% |
| James A. Carey | R | 68,619 | 43.06% |
| Other candidates (not listed by name) | 0 | 0.00% | |
| Total votes | 159,350 |
By county
| County | D | % | R | % | Total |
|---|---|---|---|---|---|
| Allegany County | 2,775 | 48.30% | 2,970 | 51.70% | 5,745 |
| Anne Arundel County | 3,802 | 63.19% | 2,215 | 36.81% | 6,017 |
| Baltimore County | 36,036 | 62.03% | 22,059 | 37.97% | 58,095 |
| Calvert County | 1,149 | 63.59% | 658 | 36.41% | 1,807 |
| Caroline County | 1,620 | 59.52% | 1,102 | 40.48% | 2,722 |
| Carroll County | 3,417 | 52.26% | 3,121 | 47.74% | 6,538 |
| Cecil County | 2,927 | 53.26% | 2,569 | 46.74% | 5,496 |
| Charles County | 1,687 | 48.42% | 1,797 | 51.58% | 3,484 |
| Dorchester County | 2,434 | 50.25% | 2,410 | 49.75% | 4,844 |
| Frederick County | 5,153 | 48.36% | 5,503 | 51.64% | 10,656 |
| Garrett County | 1,001 | 47.15% | 1,122 | 52.85% | 2,123 |
| Harford County | 2,444 | 59.61% | 1,656 | 40.39% | 4,100 |
| Howard County | 1,985 | 58.28% | 1,421 | 41.72% | 3,406 |
| Kent County | 2,465 | 58.59% | 1,742 | 41.41% | 4,207 |
| Montgomery County | 2,592 | 54.32% | 2,180 | 45.68% | 4,772 |
| Prince George's County | 2,709 | 51.73% | 2,528 | 48.27% | 5,237 |
| Queen Anne's County | 2,225 | 58.88% | 1,554 | 41.12% | 3,779 |
| Somerset County | 1,905 | 48.90% | 1,991 | 51.10% | 3,896 |
| St. Mary's County | 1,655 | 49.21% | 1,708 | 50.79% | 3,363 |
| Talbot County | 2,310 | 53.87% | 1,978 | 46.13% | 4,288 |
| Washington County | 4,176 | 50.78% | 4,048 | 49.22% | 8,224 |
| Wicomico County | 2,141 | 64.26% | 1,191 | 35.74% | 3,332 |
| Worcester County | 2,123 | 65.95% | 1,096 | 34.05% | 3,219 |
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.