Elgin ( /ɛlɡɨn/) is a city in Bastrop and Travis Counties in the U.S. state of Texas. The population was 5,700 at the 2000 census. By 2005, the population grew to an estimated 8,689. Elgin is also known as The Sausage Capital of Texas and the Brick Capital of the Southwest due to the presence of three operating brickyards in the mid-twentieth century (two of which are open to this date).
Elgin is located 19 miles (31 km) miles east of Austin and 15 miles (24 km) north of Bastrop. Most of the city lies in Bastrop County, with an expanding portion into Travis County. Bastrop County also borders Williamson, Lee, Caldwell and Fayette counties.
Elgin is at the intersection of U.S. Highway 290 and State Highway 95. Most of north Elgin is predominated by blackland prairie soil, suited for growing cotton, maize and corn.