San Marcos is located about 6 miles inland from the ocean and about 30 miles from downtown San Diego.