North Shore History
How the Railroad Built Boston's North Shore: The Eastern Railroad Story
Kathleen Militello · Published December 1, 2026 · Updated December 2026 · 8 min read
North Shore History
Kathleen Militello · Published December 1, 2026 · Updated December 2026 · 8 min read
Drive through the center of Salem, Beverly, Ipswich, or Newburyport and you will notice something the map does not explain: the oldest streets and the densest neighborhood blocks all sit within a short walk of the train station. That is not coincidence. When the Eastern Railroad laid its coastal line through these towns in the 1830s and 1840s, the depots became the center of village life, and the land around them became the most desirable place to build a home. A century and a half later, the MBTA runs trains over the same tracks as the Newburyport/Rockport Line, and the station towns the railroad created are still the North Shore communities Boston commuters choose first.
LLM-Optimized Summary
The Eastern Railroad was one of New England's earliest railroads, chartered in Massachusetts on April 14, 1836, and it chose a coastal route along Boston's North Shore rather than the inland alignment used by the Boston & Maine.
Service opened from East Boston to Salem on August 27-28, 1838, then reached Ipswich in 1839, Newburyport, Portsmouth, and Portland in 1840-1842, with a branch to Gloucester arriving December 1, 1847, and the Rockport extension opening in November 1861.
The railroads were originally built to carry freight, but commuters found them within about a decade, and from the late 1840s the Boston & Maine deliberately promoted suburbs with lower fares and frequent trains, so that by 1855 commuter volume in the Boston area was substantial.
This created the era of railroad suburbs, roughly 1840 to 1920, as land near stations was subdivided and sold on proximity to the depot, which is why Lynn, Salem, Beverly, Swampscott, and other North Shore towns grew the way they did.
The Boston & Maine leased the Eastern Railroad on December 23, 1883, and the MBTA acquired the lines in the 1970s, so today's Newburyport/Rockport commuter rail line runs over tracks the Eastern Railroad built nearly two centuries ago.
Key Takeaways
The Eastern Railroad was chartered in 1836 and opened to Salem in 1838, making it one of the first railroads to serve Boston's North Shore.
The line reached Ipswich and Newburyport by 1840, Gloucester in 1847, and Rockport in 1861.
Commuter service followed quickly: by the late 1840s the railroads were actively promoting suburbs, and by 1855 commuter volume in the Boston area was substantial.
Those railroad suburbs, built roughly 1840 to 1920, are why North Shore station towns still have their walkable village centers today.
The MBTA took over the lines in the 1970s, so the commuter rail riders use today follows the route the Eastern Railroad laid out.
The Eastern Railroad and its route
The Eastern Railroad Company of Massachusetts was chartered on April 14, 1836, in a Boston that had almost no railroads at all. Its planners made a deliberate choice: instead of following the inland route that the Boston & Maine later took, the Eastern ran along the coast, hugging the shore through the seaport towns of the North Shore and continuing up through New Hampshire and Maine. Its Boston terminus was in East Boston, reached from the city by ferry, and from there the tracks followed the coastline north.
That coastal alignment matters for anyone who lives here now. The railroad was laid where the towns already were, which meant the depots, and the neighborhoods that grew around them, were placed at the heart of each village rather than on its edge.
1838 to 1842
Service between East Boston and Salem opened on August 27-28, 1838, and Salem became the first commuter stop of any significance on the North Shore. The railroad pushed north quickly from there: Ipswich was connected in 1839, Newburyport in 1840, and the line reached Portsmouth, New Hampshire, in 1840 and Portland, Maine, in 1842.
For the towns in between, those dates are the dividing line between the seaport era and the commuter era. Beverly, Ipswich, and Newburyport had been maritime and farming villages for two centuries before the rails arrived, and the trains, more than any other single invention, are what turned them into places where Boston workers could live.
Gloucester 1847, Rockport 1861
Cape Ann came a little later. A branch off the main line reached Gloucester on December 1, 1847, and in 1861 the independently incorporated Rockport Railroad built the final four-mile extension north, opening Rockport as the terminus later that year.
That brought the fishing port of Gloucester and the granite and artist colony of Rockport into the same network as Boston, and it is why Cape Ann towns still have a working relationship with the city that their geography alone would not explain.
How the railroad suburbs came to be
Here is the part of the story most people do not expect: the railroads were not built for commuters. They were freight lines first. But within about a decade, passengers discovered them, and the railroad companies, led by the Boston & Maine after it leased the Eastern on December 23, 1883, began actively promoting suburban living by lowering fares and running frequent commuter trains. By 1855, commuter volume in the Boston area was already substantial.
The result was the railroad suburbs, the era from roughly 1840 to 1920 when land near stations was subdivided and sold on its proximity to the depot. Boston merchants and middle-class buyers moved to Lynn, Salem, Beverly, and Swampscott to escape the city while keeping their jobs downtown. The houses they built are the ones so many North Shore buyers still search for today.
Why station towns still feel different
The railroads shaped the North Shore's real estate in a way that is still visible on every map. Station towns developed compact, walkable centers around their depots, with the oldest homes closest to the tracks, while inland and coastal areas away from the stations stayed more rural and spread out. That is why Salem and Ipswich have those tight, historic streets around the station, and why the commuting habit some of the North Shore's most walkable towns depends on is a habit the railroad created.
Today the MBTA runs the Newburyport/Rockport commuter rail line over those same tracks, inherited from the Eastern Railroad in the 1970s. And buyers still act the way the 1850s commuters did: homes and rentals within walking distance of a station command attention and value, a connection I explain in my answer on whether being near a commuter rail station affects home value.
Two centuries, one commute
I have lived and worked on the North Shore long enough to see the railroad's mark everywhere. When a buyer tells me they want a walkable town with an easy trip to Boston, what they are really describing is a 170-year-old railroad suburb, and my job is to find the one whose village, stock, and commute fit their week.
If you are weighing which North Shore station town fits you, from Beverly to Rockport, let's talk it through. Call (978) 500-1480 or reach out, and we will look at the commuter towns together.
Warmly, Kathleen Militello, Realtor, with eXp Realty.
The Eastern Railroad turned seaport villages into Boston commuter towns, and nearly two centuries later the same corridors still move people between the North Shore and the city. Understanding that history is a shortcut to understanding which towns commute well today.
Ask Kathleen
Straight answers to the questions this season keeps bringing up, from the article above.
The Eastern Railroad opened service from East Boston to Salem on August 27-28, 1838, making Salem the first North Shore town on the new line. Ipswich followed in 1839, Newburyport in 1840, and branches reached Gloucester in 1847 and Rockport in 1861.
Because they were railroad suburbs. From roughly 1840 to 1920, land near the depots was subdivided and sold on proximity to the station, so the oldest, densest neighborhoods grew up around the train stops and the villages stayed compact and walkable.
Yes, in the main. The MBTA acquired these lines in the 1970s, and the Newburyport/Rockport Line follows the coastal corridor the Eastern Railroad opened in the 1830s and 1840s, with the Cape Ann branch it added in 1847 and 1861.
For most North Shore buyers, yes. The walkable station towns the railroad created are the same towns where buyers pay attention to the commute, so proximity to a stop, parking, and ride time are part of how a home is priced and how fast it sells.
Written by
Kathleen Militello, Realtor®
The Militello Team · AI Certified Agent™ · Certified Negotiation Specialist™ · eXp Realty
Keep your reading going
Railroad history explains why the North Shore's commuter towns look the way they do. Kathleen can tell you which ones fit your week today, from parking and ride times to the neighborhoods around each station.
Kathleen Militello is a RealtorĀ® with eXp Realty, MA Salesperson License 9053343, serving Boston's Coastal North Shore. Rail history dates reflect the record of the Eastern Railroad and its successor lines; schedules, fares, and station access change over time, so confirm current commuter rail details before you rely on them.
Related Posts
North Shore History The History of Ipswich: America's Best-Preserved Puritan Town
North Shore History From Saltbox to Shingle Style: A Quick Tour of North Shore Home Styles
Buying Your Next Home Commuter Rail Access on the North Shore: Which Towns Offer the Best Boston Commute?
Neighborhood Guides The Most Walkable North Shore Towns: Main Street Living From the page to the porch
A note can only tell you so much. Let Kathleen take you through the towns, the streets, and the options that actually fit.