Joshua Tree is in San Bernardino County. The population was 7,414 at the 2010 census. At approximately 2,700 feet (820 meters) above sea level, Joshua Tree and its surrounding communities are located in the High Desert of California. The center of the business district in Joshua Tree is on California State Route 62.
According to the United States Census Bureau, the CDP has a total land area of 95.9 km2 (37.0 mi²). Joshua Tree is home to Joshua Tree National Park. Joshua Tree shares its eastern border with Twentynine Palms, its western border with Yucca Valley, and its northwestern border with Landers; it is bordered on the south by the Coachella Valley.