state house districtMassachusetts 40th State House District
presidential margin
2004–2024 · Democratic minus Republican
2004D+44.8
2008D+47.0
2012D+44.9
2016D+52.4
2020D+43.4
2024D+23.9
net swing · 2004→2024R+20.9D+44.8 → D+23.9
vs. U.S. · 2024D+25.4D+23.9 vs R+1.5
presidential returns
2024 turnout 54.3% of 24,157 citizens 18+
Year
Democrat
Republican
Others
Total
CVAP
Turnout
2024
7,899
4,762
455
13,116
24,157
54.3%
2020
10,058
3,889
266
14,213
23,528†
60.4%
2016
10,293
2,991
660
13,944
22,751†
61.3%
2012
9,662
3,623
175
13,460
21,714†
62.0%
2008
8,731
3,094
160
11,985
21,233†
56.4%
2004
8,104
3,058
98
11,260
20,753†
54.3%
† Citizen voting-age population estimated for prior cycles from the constituent-county ACS trend anchored to the current figure. Source: ACS 5-year, table B05003.
——
D+60R+60
20042024
Boundary by 2024 margin · Precinct returns · VEST · MIT Election Lab
People and households
Who lives here
Exact values for this place, its state, and the United States.
Race · ethnicity · ancestry
Communities and origins
GroupMA HD 17MassachusettsUnited States
Dominican32.0%2.7%0.7%
Puerto Rican12.8%4.6%1.8%
Guatemalan6.4%0.8%0.5%
Salvadoran4.2%1.1%0.7%
Mexican1.9%0.8%11.3%
Colombian1.7%0.6%0.4%
Cuban0.8%0.2%0.7%
Honduran0.8%—0.3%
Irish8.9%18.6%9.4%
Italian6.5%11.1%4.8%
English4.6%9.7%9.5%
French2.2%4.7%1.6%
German2.1%5.4%12.5%
Polish1.5%3.4%2.2%
French Canadian1.4%——
American1.3%3.3%5.3%
African American†1.8%2.6%9.9%
Haitian1.0%1.1%0.3%
African0.6%0.3%0.5%
Nigerian0.3%0.2%0.2%
Kenyan0.3%——
Cape Verdean0.3%0.9%—
Chinese0.8%2.5%1.3%
Asian Indian0.7%1.9%1.4%
Cambodian0.6%0.4%—
Vietnamese0.4%0.8%0.6%
Filipino0.2%0.2%0.9%
Korean0.2%0.4%0.4%
Hispanic or Latino counts residents of any race; the race groups count only their non-Hispanic residents, so the groups are mutually exclusive and sum to 100%. Expand a row to see ancestries reported within that group.
Age and life stage
Measure
MA HD 17
Massachusetts
United States
Median age
35.3
40.3
39.1
Age 18–24
8.8%
9.9%
9.2%
Age 65 and older
18.4%
17.9%
17.2%
Household economy
Measure
MA HD 17
Massachusetts
United States
Median household income
$69,565
$103,960
$84,427
Poverty rate
16.7%
10.1%
12.5%
Bachelor's degree or higher (25+)
43.0%
47.3%
35.6%
Languages at home
Measure
MA HD 17
Massachusetts
United States
Speaks a non-English language at home
28.7%
25.1%
22.3%
Spanish
19.1%
9.7%
13.6%
French (incl. Cajun & Haitian)
1.2%
1.9%
0.7%
Other Indo-European
4.1%
6.1%
2.0%
Religious landscape
Measure
MA HD 17
Massachusetts
United States
Catholic
—
35.5%
18.6%
Evangelical Protestant
—
3.6%
16.5%
Unclaimed / not counted
—
51.4%
51.5%
American Community Survey 2024 5-year (CVAP, income, age, poverty, education, language, race, ancestry) · presidential returns from MIT Election Lab through 2024 · 2020 U.S. Religion Census (ASARB) — congregational adherents; unclaimed is the residual not counted by congregations.
Massachusetts 40th State House District
presidential history
Presidential margin, 2004–2024
Democratic minus Republican, by election
Presidential margin over time
Year
Margin (D minus R)
2004
+44.8%
2008
+47.0%
2012
+44.9%
2016
+52.4%
2020
+43.4%
2024
+23.9%
DemocraticRepublican
6 presidential elections
Third column names the leading third-party or independent finisher. Source · MIT Election Lab · ICPSR · VEST (precinct-level 2024). Swing · margin change from the prior cycle. vs U.S. · margin relative to the national result that year. Third-party votes in 2012 are allocated from certified county totals by this place's share of each county's two-party vote — that cycle's precinct source records two-party splits. † 2004 sub-county results are estimated: the source's block-level detail for this cycle was unreliable — either county/municipality-level consolidated reporting (COVID-era) or a precinct-to-block allocation that misplaced votes — so the figures are allocated from the constituent county totals in proportion to the place and scaled to certified totals.
Year
Won
Democratic
Republican
Other
Margin
Swing
vs U.S.
Total
D
60.2%Harris7,899
36.3%Trump4,762
3.5%
D+23.9
R+19.5
D+25.4
13,116
D
70.8%Biden10,058
27.4%Trump3,889
1.9%
D+43.4
R+9.0
D+39.0
14,213
D
73.8%Clinton10,293
21.5%Trump2,991
4.7%
D+52.4
D+7.5
D+50.3
13,944
D
71.8%Obama9,662
26.9%Romney3,623
1.3%
D+44.9
R+2.2
D+41.0
13,460
D
72.8%Obama8,731
25.8%McCain3,094
1.3%
D+47.0
D+2.2
D+39.8
11,985
D
72.0%Kerry8,104
27.2%Bush3,058
0.9%
D+44.8
—
D+47.3
11,260
current representation
Current officeholders
DFrank MoranState House · 17th Essex
State legislative officeholder from OpenStates nightly current-legislator data.
The 17th Essex District delivered a 23.9-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 52.4 points in 2016. Between 2020 and 2024 the district moved 19.5 points toward the Republican candidate; the 2024 margin was 23.9 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.
Akashic
Political twins — state-house districts
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.
Compare two places, side by side
Twelve curated comparisons line up election history, demographics, and the divergence story for two places at a glance. Browse all comparisons →
Cite this page
All citations released under CC BY 4.0. Attribution: Akashic Intelligence.
Massachusetts 40th State House District. Akashic. https://akashic.app/sld-lower/25040/. Accessed May 20, 2026. License: CC BY 4.0.
How did Massachusetts 40th State House District vote in 2024?
In 2024, Massachusetts 40th State House District voted Democratic by 23.9 points (D+23.9), carried by the Democratic candidate. Out of 13,116 votes cast, 7,899 went Democratic and 4,762 went Republican.
How many people live in Massachusetts 40th State House District?
Massachusetts 40th State House District has a population of 42,269 according to the 2024 American Community Survey 5-year estimates from the US Census Bureau.
What is the median household income in Massachusetts 40th State House District?
Median household income in Massachusetts 40th State House District is $69,565 — below the national median of $80,734. The Massachusetts state median is $103,960.
What is the political history of Massachusetts 40th State House District?
Akashic tracks 6 presidential elections in Massachusetts 40th State House District from 2004 to 2024. Of those, 6 went Democratic and 0 went Republican.