lee county is a county in the u.s. state of alabama. as of the 2010 census, the population was 140,247. the county seat is opelika, and the largest city is auburn. the county is named for general robert e. lee (1807–1870), who served as general in chief of the armies of the confederate states in 1865.