Rowley is a town in Essex County, Massachusetts, United States. The population was 5,856 at the 2010 census.Part of the town comprises the census-designated place of Rowley.