Answer
The city of San Marcos is located in Hays County, Texas. However, the city limits of San Marcos extend into neighboring Caldwell County as well. This is due to the fact that San Marcos is located on the Guadalupe River, which forms the boundary between the two counties. As a result, the city of San Marcos has a unique dual-county status.