Carlsbad is a city in and the county seat of Eddy County, New Mexico, United States. As of the 2010 census, the city population was 26,138. Carlsbad is centered at the intersection of U.S. Routes 62/180 and 285, and is the principal city of the Carlsbad-Artesia Micropolitan Statistical Area, which has a total population of 55,435. Located in the southeastern part of New Mexico, Carlsbad straddles the Pecos River and sits at the eastern edge of the Guadalupe Mountains.Carlsbad is a hub for potash mining, petroleum production, and tourism. Carlsbad Caverns National Park is located 20 miles southwest of the city, and Guadalupe Mountains National Park lies 54 miles southwest across the Texas border. The Lincoln National Forest is to the northwest of town.