The Nashua River Rail Trail stretches from southern Nashua, New Hampshire, to downtown Ayer, Massachusetts, connecting to the towns of Pepperell and Groton. The trail is built on the former rail corridor of the Hollis Branch of the Boston and Maine Railroad.