Merrimac is a small town in Essex County, Massachusetts, United States, located on the southeastern border of New Hampshire, approximately 34 miles northeast of Boston and 10 miles west of the Atlantic Ocean. It was incorporated on April 11, 1876. It is situated along the north bank of the Merrimack River in the Merrimack Valley. The population was 6,723 …Merrimac is a small town in Essex County, Massachusetts, United States, located on the southeastern border of New Hampshire, approximately 34 miles northeast of Boston and 10 miles west of the Atlantic Ocean. It was incorporated on April 11, 1876. It is situated along the north bank of the Merrimack River in the Merrimack Valley. The population was 6,723 at the 2020 census. Historically a mill town, it has long since become a largely residential community. It is part of the Greater Boston metropolitan area.