Shafter, CA has a population of 17,801 and is the 2,432nd largest city in the United States. The population density is 450 per sq mi which is 94% higher than the California average and 397% higher than the national average. The median age in Shafter is 27 which is approximately 26% lower than the California average of 36. In Shafter, 56% of the population over 15 years of age are married, 29% speak English and 70% speak Spanish. 64% of Shafter residents were born in California, 7% were born out of state, 1% were born outside of the United States and 28% were foreign born.