Dyer is a city in Gibson County, Tennessee. The population was 2,341 at the 2010 census. Dyer was originally known as Peck's Switch, a name given by railroad workers in the early days of rail.