Hancock is a town in Washington County, Maryland, United States. The population was 1,545 at the 2010 census. The Western Maryland community is notable for being located at the narrowest part of the state. The north-south distance from the Pennsylvania state line to the West Virginia state line is only at Hancock.