Opelika (pronounced OH-pə-LY-kə) is a city in and the county seat of Lee County in the east-central part of the U.S. state of Alabama. It is a principal city of the Auburn-Opelika Metropolitan Area. As of the 2010 census, the population of Opelika was 26,401, and in 2019 the estimated population was 30,908. The Auburn-Opelika, AL MSA with a population of 150,933, along with the Columbus, Georgia metropolitan area, comprises the Greater Columbus combined statistical area, a region home to 501,649 residents.
The first white settlers in the area now known as Opelika arrived in the late 1830s and established a community called Lebanon. After the removal of the native Creek (Muscogee) peoples by federal troops in 1836–37, the area became known as "Opelika." This word taken from the Muskogee language means "large swamp".
In 1848, the Montgomery and West Point Railroad Company extended a rail line from Montgomery, Alabama, to Opelika, and in 1851, completed a connection to West Point, Georgia, thus connecting Opelika with Atlanta, Georgia. This line was the only direct rail route between New Orleans and the Eastern Seaboard. It rapidly became one of the primary trade lines for shipments of raw cotton from Southern plantations to the North. The Montgomery and West Point was soon joined by a rail connection to Columbus, Georgia, in 1855, and a connection to Birmingham, Alabama, in 1869.