In the presence of distraction, attentional filtering is a key predictor of efficient information storage in visual short-term memory (VSTM). Yet, the role of attention in distractor filtering, and the extent to which attentional filtering continues to protect information during post-perceptual stages of VSTM, remains largely unknown. In the current study, we investigated the role of spatial attention in distractor filtering during VSTM encoding and maintenance. Participants performed a change detection task with varying distractor load. Attentional deployment to target and distractor locations was tracked continuously by means of Steady-State Visual Evoked Potentials (SSVEPs). Analyses revealed that attention strongly modulated the amplitude of the second harmonic SSVEP response, with larger amplitudes at target compared to distractor locations. These attentional modulations commenced during encoding, and remained present during maintenance. Furthermore, the amount of attention paid to distractor locations was directly related to behavioral distractor costs: Individuals who paid more attention to target compared to distractor locations during VSTM maintenance generally suffered less from the presence of distractors. Together, these findings support an important role of spatial attention in distractor filtering at multiple stages of VSTM, and highlight the usefulness of SSVEPs in continuously tracking attention to multiple locations during VSTM.