Racial and ethnic composition 2020 census As of the
2020 census, Palmetto had a population of 5,071. The median age was 36.5 years. 25.0% of residents were under the age of 18 and 14.1% of residents were 65 years of age or older. For every 100 females there were 84.0 males, and for every 100 females age 18 and over there were 79.6 males age 18 and over. 88.0% of residents lived in urban areas, while 12.0% lived in rural areas. There were 1,866 households in Palmetto, of which 38.4% had children under the age of 18 living in them. Of all households, 35.0% were married-couple households, 17.8% were households with a male householder and no spouse or partner present, and 40.9% were households with a female householder and no spouse or partner present. About 27.6% of all households were made up of individuals and 12.2% had someone living alone who was 65 years of age or older. There were 1,200 families. There were 2,055 housing units, of which 9.2% were vacant. The homeowner vacancy rate was 2.9% and the rental vacancy rate was 11.3%. ==References==