Only 8.4% of Massachusetts voters are registered Republicans....34% if you include independents that lean right.
my husband and my next door neighbor Jim when living in Massachusetts were registered republican but both had Democratic registered spouses. And all other neighbors were democratic party members.
No, it's not gerrymandered. There is no way to make a republican district because Republicans are so spread out among all the districts .....
_____________
In Massachusetts, the all-Democratic delegation is primarily due to geographic distribution rather than gerrymandering.
While the state is roughly 35% Republican/conservative-leaning in major elections, those voters are spread out relatively evenly across the state. In a "winner-take-all" system, if a party has 35% of the vote in every district, they will lose 100% of the seats.
Key Factors:
Political Geography: Republicans are not concentrated enough in any one area to form a majority. Even in the most "red" parts of the state (like the South Coast or Central Mass), they are still outnumbered by Democrats and liberal-leaning Independents.
Failed Experiments: Independent analysts and the New York Times have tried to "computer-draw" a Republican district in Massachusetts. They found it almost impossible to do so without creating a bizarre, non-compact "snake" district that would likely be struck down for violating other redistricting rules.
Bipartisan Approval: The most recent maps (2021) were signed by a Republican Governor (Charlie Baker) and supported by the majority of Republicans in the state legislature.
The "Efficiency Gap": Because Democrats are so dominant, they actually "waste" a huge number of votes in Massachusetts. Even if you shifted the lines significantly, the state is so blue that a Republican candidate would still struggle to cross the 50% threshold in any compact district.
Summary: It isn't that the lines are "rigged"—it's that there are simply fewer Republicans in every corner of the state than there are Democrats and left-leaning independents.