It grows in desert flats and desert chaparral of the Mojave Desert and Sonoran Desert; in chaparral and woodlands of the Peninsular Ranges and Transverse Ranges; and in pinyon-juniper woodlands and madrean pine-oak woodlands of Madrean Sky Islands.