It is known from the Central Valley and the valleys of the inner coast ranges, and from slightly north of San Francisco to Cedros Island, Baja California, where is grows on sandy coasts, in shrubland and salt marshes.