Pembroke is a town in Washington County, Maine, United States. The population was 840 at the 2010 census.