Elgin is a city in Bastrop and Travis Counties in the U.S. state ofTexas. The population was 8,135 at the 2010 census.
The city of Elgin owes its existence to a major flood of the Colorado River in 1869. In 1871, the Houston and Texas Central Railroad (succeeded by the Southern Pacific Transportation Company) built through the area and established a flag stop called Glasscock named for George W. Glasscock, a local resident and Republic of Texas soldier who lived in the area in the 1830s. Glasscock was renamed on August 18, 1872, for Robert Morris Elgin, the railroad's land commissioner, following the practice of naming new railroad towns after officers of the company.The community of Elgin was created.Elgin was incorporated and received a post office the following year.Much of the community's early population was drawn from nearby Perryville.The year 1900 resulted in a bumper crop of cotton and Elgin prospered.By 1940, Elgin was also the site of two big brick and tile plants.Elgin was also the site of a furniture plant and a leather works.