The state highway runs 13.96 miles (22.47 km) from Marshall Hall east to U.S. Route 301 (US 301) in White Plains.
MD 227 connects the communities of Bryans Road, Pomonkey, and Pomfret in northwestern Charles County.
MD 227 begins at a boat ramp on the Potomac River adjacent to the ruins of the namesake mansion at Marshall Hall within Piscataway Park.
The state highway crosses Mattawoman Creek, passes west of the historic farm McPherson's Purchase, and intersects the Indian Head Rail Trail on its way to Pomfret, where the highway meets Marshall Corner Road.
MD 227 crosses Pages Swamp and passes close to another historic home, Spye Park, before reaching White Plains, where the state highway reaches its eastern terminus at US 301 (Robert Crain Highway) opposite county-maintained Willetts Crossing Road.