Social exclusion has been thought to weaken one's ability to exert inhibitory control. Existing studies have primarily focused on the relationship between exclusion and behavioral inhibition, and have reported that exclusion impairs behavioral inhibition. However, whether exclusion also affects selective attention, another important aspect of inhibitory control, remains unknown. Therefore, the current study aimed to explore whether social exclusion impairs selective attention, and to specifically examine its effect on two hypothesized mechanisms of selective attention: target enhancement and distractor suppression. The Cyberball game was used to manipulate social exclusion. Participants then performed a visual search task while event-related potentials were recorded. In the visual search task, target and salient distractor were either both presented laterally or one was presented on the vertical midline and the other laterally. Results showed that social exclusion differentially affected target and distractor processing. While exclusion impaired distractor suppression, reflected as smaller distractor-positivity (Pd) amplitudes for the exclusion group compared to the inclusion group, it did not affect target enhancement, reflected as similar target-negativity (Nt) amplitudes for both the exclusion and inclusion groups. Together, these results extend our understanding of the relationship between exclusion and inhibitory control, and suggest that social exclusion affects selective attention in a more complex manner than previously thought.