Several studies have shown that consumption of a focal plant by herbivores depends not only on its own defense traits but also on the characteristics of the neighboring plants. A number of studies have reported on plant associational defense in relation to neighboring plant palatability but the effect of the spatial distribution of the focal plant within patches of different neighboring plants has received less attention. We conducted a manipulative experiment to determine whether and how spatial distribution of focal plants affects the associational defense between plant species. In our experimental setup sheep encountered two patches varying in spatial distribution of the focal plant within patches (dispersed or clumped) and patch quality, good patch and bad patch, where the focal plant, Lathyrus quinquenervius, was neighbored to high- (Chloris virgata) or low-palatable (Kalimeris integrifolia) species, respectively. Results showed that, when focal plants were dispersed within both patches, the risk of attack was significantly lower for focal plants in the patches with low- than high-palatable neighbors, indicating associational defense. Alternatively, when focal plants were clumped within both patches, they were consumed in bad-patch as much as in good-patch plots, which indicates the absence of associational defense. However, if the focal plants have different spatial distributions in the two patches (dispersed in good-patch and clumped in bad-patch or vice versa), sheep foraging success for focal plants was greatly reduced in dispersed spatial pattern irrespective of the palatability of neighboring plants. Therefore, we concluded that spatial distribution is as important as traits of neighboring plants in predicting vulnerability of the focal plant to grazing by generalist herbivores. The outcome of plant associational defense for different types of neighborhood strongly depends on the magnitude of herbivore foraging selectivity between and within patches, which further depended on the contrasts between plant species or between patches.