Temple City is a city in Los Angeles County, California located northeast of downtown Los Angeles and at the base of the San Gabriel Mountains.