Mindfulness meditation helps to improve attentional capacity. However, the neural correlates that indicate the mechanism through which mindfulness improves attention are unclear. To address this gap, we aimed to assess the effects of mindfulness training on sustained attentional capacity. Event-related potentials (ERPs) associated with the modified sustained attention response task (mSART) were used in this study. A total of 45 college students were randomly assigned to either the mindfulness group (n = 21) or the control group (n = 24). Participants in the mindfulness group received a three-week mindfulness training. The self-report results showed that the mindfulness group reported higher mindfulness scores (observing and non-judgment of inner experiences) after the training. The mindfulness group also scored lower on the state anxiety than the control group. Behavioral results also showed that self-caught mind wandering in the mindfulness group significantly decreased after the training, and the mindfulness group showed a faster response after the training. The ERP results showed that N2 amplitudes in the post-test were significantly greater than those in the pre-test in the mindfulness group. We did not find any interactions between group and time for P3. The findings suggest that mindfulness training can effectively improve sustained attentional capacity, as indicated by reduced mind wandering and increased N2 responses.