- Lead
- 3,137
- Total
- 13,013
- vs nation
- D+25.6
Massachusetts 40th State House District
President margin by year
Place winner margin
President results by year
Modeled candidate-vote estimate on current district boundaries
- Lead
- 6,169
- Total
- 14,213
- vs nation
- D+38.9
- Lead
- 7,302
- Total
- 14,106
- vs nation
- D+49.7
- Lead
- 6,374
- Total
- 13,003
- vs nation
- D+45.2
- Lead
- 6,661
- Total
- 12,831
- vs nation
- D+44.6
- Lead
- 6,020
- Total
- 12,032
- vs nation
- D+52.5
- Lead
- 5,844
- Total
- 11,261
- vs nation
- D+51.4
- Lead
- 5,947
- Total
- 10,628
- vs nation
- D+47.4
Key facts
- 2024 presidential margin
- D+24.1MIT Election Lab
- Population
- 42,2692024 5-year
- Population density
- 6,709 / sq mi2024 5-year · TIGER/Line
- Land area
- 6.3 sq miTIGER/Line
- Median household income
- $69,5652024 5-year
- White (non-Hispanic)
- 24.8%2024 5-year
- Black
- 4.2%2024 5-year
- Hispanic / Latino
- 67.1%2024 5-year
- Peak Democratic margin
- D+72.3 in 1964MIT Election Lab
- Peak Republican margin
- R+22.4 in 1924MIT Election Lab
- Most similar
- 16th Essex District, MA · twin score 98.8
presidential history
Party record book
Massachusetts 40th State House District · the strongest Democratic and Republican presidential performances recorded here, measured three ways.
1892–2024 (partial returns from 1876) · 38 presidential cycles · 38 with a vote-share denominator · 34 with a national benchmark
Highest vote share
Largest share of the presidential candidate vote cast here.
Democratic
Lyndon B. Johnson1964
86.0%
9,724 votes · D+72.3 · modeled estimate
Runner-up · Hubert Humphrey, 1968 · 77.0%
Republican
Warren G. Harding1920
56.8%
2,072 votes · R+17.9 · modeled estimate
Runner-up · William McKinley, 1896 · 55.8%
Most votes
Largest number of votes cast for the party’s presidential nominee here.
Democratic
Hillary Clinton2016
10,293votes
73.0% of the vote · D+51.8 · modeled estimate
Runner-up · Joe Biden, 2020 · 10,058 votes
Republican
Donald Trump2024
4,762votes
36.6% of the vote · D+24.1 · modeled estimate
Runner-up · Donald Trump, 2020 · 3,889 votes
Best relative to the U.S.
This Place’s margin against the national margin in the same election — positive when it leaned toward the party more than the country did.
Democratic
George McGovern1972
+64.4pts D vs U.S.
Place D+41.3 · U.S. R+23.2 · modeled estimate
Runner-up · Hubert Humphrey, 1968 · +56.6 pts
Republican
William McKinley1896
+11.1pts R vs U.S.
Place R+17.1 · U.S. R+6.1 · modeled estimate
Runner-up · Calvin Coolidge, 1924 · −2.8 pts
Current officeholders
State legislative officeholder from OpenStates nightly current-legislator data.
The 17th Essex District delivered a 24.1-point Democratic presidential margin in 2024, reflecting the dense, diverse communities it encompasses along Massachusetts' North Shore. Its electoral consistency makes it one of the more predictable seats in the state house.
Across the recorded series it reached a Democratic high of 72.3 points in 1964 and a Republican high of 22.4 points in 1924. Between 2020 and 2024 the district moved 19.3 points toward the Republican candidate; the 2024 margin was 24.1 points.
A population of 42,269, a 25% non-Hispanic-white share, and a median household income of $69,565 describe the district. The district's voting pattern over the last decade is most similar to that of 16th Essex District and 4th Essex District.
The state-house districts whose fingerprint — 2000–2024 trajectory, demographics, ancestry, religion — sits closest to this one, and why.
Twin score (0–100) = weighted cosine between tier-standardized fingerprints: presidential margins 2000–2024 with 12-yr trend and elasticity, ACS income, age, education, population and race, top reported ancestries, and religious adherence — chips name the closest-shared dimensions and the widest gap. Re-weight the groups in the twins explorer.
District research tools
Open the source-auditable district brief for electoral baseline, electorate, current-cycle coverage, geography, official dates, and methodology. Open campaign intelligence report → · Browse all comparisons →
Massachusetts 40th State House District. Akashic. https://akashic.app/sld-lower/25040/. Accessed May 20, 2026. License: CC BY 4.0.