Ciudad Valles is the second-largest city in the Mexican state of San Luis Potosí. It is located in the eastern part of the state, in the cultural region of Huasteca. The city is also the municipal seat of the surrounding municipality of the same name. It had a 2020 census population of 136,351.