Shirley, MA has a population of 1,361 and is the 13,266th largest city in the United States. The population density is 1,036 per sq mi which is 65% higher than the Massachusetts average and 1044% higher than the national average. The median age in Shirley is 52 which is approximately 31% higher than the Massachusetts average of 39. In Shirley, 38% of the population over 15 years of age are married, 94% speak English and 5% speak Spanish. 75% of Shirley residents were born in Massachusetts, 16% were born out of state, 5% were born outside of the United States and 5% were foreign born.