This study investigates the neural mechanisms behind the interaction of attention and collinear grouping in visual perception using event-related potentials. Results indicate that attention enhances the detection of collinear visual targets only when they are attended, with notable neural activity in the primary visual cortex as early as 50 ms after stimulus onset. The findings suggest that such attentional modulation operates independently of the global orientations of perceptual groups.