Cape Ann is a rocky cape in northeastern Massachusetts, United States on the Atlantic Ocean. It is about 30 miles northeast of Boston and marks the northern limit of Massachusetts Bay. Cape Ann includes the city of Gloucester and the towns of Essex, Manchester-by-the-Sea and Rockport.