Several studies provided evidence that the amplitudes of laser-evoked potentials (LEPs) are modulated by attention. However, previous reports were based on across-trial averaging of LEP responses at the expense of losing information about intertrial variability related to attentional modulation. The aim of this study was to investigate the effects of somatosensory spatial attention on single-trial parameters (i.e., amplitudes, latencies, and latency jitter) of LEP components (N2 and P2). Twelve subjects participated in a sustained spatial attention paradigm while noxious laser stimuli (left hand) and noxious electrical stimuli (right hand) were sequentially delivered to the dorsum of the respective hand with nonnoxious air puffs randomly interspersed within the sequence of noxious stimuli. Participants were instructed to mentally count all stimuli (i.e., noxious and nonnoxious) applied to the attended location. Laser stimuli, presented to the attended hand (ALS), elicited larger single-trial amplitudes of the N2 component compared with unattended laser stimuli (ULS). In contrast, single-trial amplitudes of the P2 component were not significantly affected by spatial attention. Single-trial latencies of the N2 and P2 were significantly smaller for ALS vs. ULS. Additionally, the across-trial latency jitter of the N2 component was reduced for ALS. Conversely, the latency jitter of the P2 component was smaller for ULS compared with ALS. With the use of single-trial analysis, the study provided new insights into brain dynamics of LEPs related to spatial attention. Our results indicate that single-trial parameters of LEP components are differentially modulated by spatial attention.