Efficient search of the environment requires that people attend to the desired elements in a scene and ignore the undesired ones. Recent research has shown that this endeavor can benefit from the ability to proactively suppress distractors with known features, but little is known about the mechanisms that produce the suppression. We show here in five experiments (n=120 college students) that, surprisingly, identification of a sought-for target is enhanced when it is grouped with a suppressed distractor compared to when it is in a different perceptual group. The results show that the suppressive mechanism not only downweights undesired elements, but it also enhances responses to task-relevant elements in competition for attention with the distractor, fine-tuning the suppression. The findings extend the understanding of how people efficiently process their visual world.