The Cape Cod Rail Trail is a 22-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 was started in 2016 and is colored in tan. A two mile section planned for Wellfleet is colored red.