24Habitat distributions of plants are often driven by abiotic factors, but growing evidence suggests 25 an important role for consumers. A textbook example of a plant whose habitat distribution is 26 shaped by consumers is bittercress (Cardamine cordifolia). Bittercress is more abundant in shade 27 than in sun habitats, and this is thought to arise because herbivore pressure is lower in the shade. 28The bittercress case study remains incomplete, as we still do not understand why herbivory is 29 lower in the shade. Herbivores may avoid shaded bittercress because the plants are lower quality, 30 or because herbivores simply prefer brighter, warmer habitats. We tested these alternative 31 hypotheses through a series of herbivore choice experiments. Scaptomyza nigrita, a locally 32 abundant specialist and dominant herbivore of bittercress, strongly preferred feeding and laying 33 eggs on bittercress we collected from shade versus sun habitats. Thus, shaded bittercress are 34 more, not less, palatable to these herbivores. Separately, S. nigrita strongly preferred feeding and 35 laying eggs on leaves held in treatments that simulated sun rather than shade habitats-36 regardless of whether leaves came from sun or shade habitats originally. The underlying 37 mechanism for a consumer-driven plant distribution appears to be a simple behavioral preference 38 of herbivores for brighter, warmer habitats. 39