Cape Cod is a 65-mile-long peninsula that extends east from the Massachusetts mainland and then curls north, cat-tail like, to form Cape Cod Bay. The islands of Martha's Vineyard and Nantucket are situated off the Cape's southern coast, in Nantucket Sound.