As of the census of 2010, there were 3,107 people, 1,209 households, and 788 families living in the city. The population density was. There were 1,307 housing units at an average density of. The racial makeup of the city was 85.8% White, 1.0% African American, 2.6% Native American, 2.1% Asian, 0.4% Pacific Islander, 3.2% from other races, and 4.9% from two or more races. Hispanic or Latino of any race were 6.6% of the population. There were 1,209 households, of which 34.7% had children under the age of 18 living with them, 42.8% were married couples living together, 16.2% had a female householder with no husband present, 6.2% had a male householder with no wife present, and 34.8% were non-families. 27.7% of all households were made up of individuals, and 11.7% had someone living alone who was 65 years of age or older. The average household size was 2.53 and the average family size was 3.02. The median age in the city was 36.1 years. 25.9% of residents were under the age of 18; 9.2% were between the ages of 18 and 24; 25.4% were from 25 to 44; 26.6% were from 45 to 64; and 12.9% were 65 years of age or older. The gender makeup of the city was 49.1% male and 50.9% female.
2000 census
As of the census of 2000, there were 3,049 people, 1,195 households, and 764 families living in the city. The population density was 1,812.6 people per square mile. There were 1,330 housing units at an average density of 790.7 per square mile. The racial makeup of the city was 90.98% White, 0.59% African American, 1.31% Native American, 1.28% Asian, 0.26% Pacific Islander, 1.64% from other races, and 3.94% from two or more races. Hispanic or Latino of any race were 3.64% of the population. There were 1,195 households, out of which 35.5% had children under the age of 18 living with them, 44.9% were married couples living together, 13.6% had a female householder with no husband present, and 36.0% were non-families. 27.5% of all households were made up of individuals, and 12.3% had someone living alone who was 65 years of age or older. The average household size was 2.51 and the average family size was 3.06. In the city, the population was spread out, with 29.2% under the age of 18, 9.1% from 18 to 24, 28.1% from 25 to 44, 19.3% from 45 to 64, and 14.4% who were 65 years of age or older. The median age was 34 years. For every 100 females, there were 97.2 males. For every 100 females age 18 and over, there were 92.2 males. The median income for a household in the city was $32,031, and the median income for a family was $36,638. Males had a median income of $38,929 versus $23,125 for females. The per capita income for the city was $13,629. About 13.9% of families and 19.4% of the population were below the poverty line, including 22.5% of those under age 18 and 12.7% of those age 65 or over.
Education
The Elma School District has four schools. Elma Elementary School serves children in an Early Childhood Program, as well as kindergarten through 5th grade. Elma Middle School consists of 6th grade through 8th grade students; Elma High School houses 9th through 12th grade, and the East Grays Harbor High School provides alternative education. The mascot for Elma High School and Middle School is an eagle. Their colors are blue and white. The mascot for East Grays Harbor High School is a Gryphon. Their colors are Black and Turquoise. Elma High School also participates in the Running Start program, which gives grade 11, and 12 students the opportunity to take college level classes for college credit via Grays Harbor College, and Washington State University. In terms of early childhood development programs, there are several daycares, a co-op preschool, and a Head Start facility.