The Cape Cod Rail Trail is a 26-mile paved rail trail located on Cape Cod in Massachusetts. The original Cape Cod Branch Railroad was opened in 1846. The trail route passes through the towns of Dennis, Harwich, Brewster, Orleans, Eastham, and Wellfleet. A 3.7 mile extension to the west that connected to local bike paths was built 2016-2018 and is colored in tan. A two mile section planned for Wellfleet is colored red.