Tehachapi /təˈhætʃəpi/ is a city in Kern County, California, in the Tehachapi Mountains, at an elevation of 3,970 feet (1,210 m) between the San Joaquin Valley and the Mojave Desert. Tehachapi is 35 miles (56 km) east-southeast of Bakersfield, and west of Mojave. According to the United States Census Bureau, the city has a total area of 10.0 square miles (26 km2) and a population of 14,414.