Shirley is a hamlet in Suffolk County, New York, United States. At the 2010 census, the population of Shirley was 27,854. Shirley is the western terminus of Atlantic Crossing 1, a major submarine telecommunications cable linking the United States with the UK, Germany, and the Netherlands.