Salem is located approximately 16 miles (30 minutes) north of Boston and is bordered by Beverly, Danvers, Lynn, Marblehead, Peabody, Swampscott and the Atlantic Ocean. Major routes through the city are 1A, 107 and 114 (connects with Routes 128, 95 and 1). Boston & Maine Railroad serves Salem with freight service, and the MBTA maintains a commuter rail stop and inter-/intra-city bus service. Air service is available from Beverly Airport (5 miles away) and Logan International Airport (16 miles away). Access is also available by water from Boston on the Salem Ferry.