Greenfield lies at the junction of two rail lines, an east–west line heading from the northern points of Worcester County towards the Hoosac Tunnel and Albany, New York, and the north–south line heading from Springfield in the south towards Vermont in the north.
 Freight service on both lines is operated by Pan Am Railways.

Passenger rail service resumed in Greenfield on December 29, 2014, with the rerouting of Amtrak's Vermonter.
 The station platform in Greenfield is located adjacent to the Olver Transit Center.
The former Greenfield train station (torn down in 1966) was located across the tracks from the current train platform, in the present-day Energy Park.
In June 2018 it was announced that Greenfield would become the terminus for the New Haven–Springfield Shuttle in a pilot program being launched by CTRail and the MassDOT.
The new commuter rail service now dubbed the Valley Flyer made its first run August 30, 2019, running twice each direction weekdays and once on weekends to and from New Haven, Connecticut with connections to New York City.
Greenfield lies at the junction of two rail lines, an east–west line heading from the northern points of Worcester County towards the Hoosac Tunnel and Albany, New York, and the north–south line heading from Springfield in the south towards Vermont in the north.  Freight service on both lines is operated by Pan Am Railways.
Passenger rail service resumed in Greenfield on December 29, 2014, with the rerouting of Amtrak's Vermonter.  The station platform in Greenfield is located adjacent to the Olver Transit Center. The former Greenfield train station (torn down in 1966) was located across the tracks from the current train platform, in the present-day Energy Park. In June 2018 it was announced that Greenfield would become the terminus for the New Haven–Springfield Shuttle in a pilot program being launched by CTRail and the MassDOT. The new commuter rail service now dubbed the Valley Flyer made its first run August 30, 2019, running twice each direction weekdays and once on weekends to and from New Haven, Connecticut with connections to New York City.
Greenfield, Massachusetts