In the recent decades, passive surface wave methods have gained much attention in the near-surface community due to their ability to retrieve low-frequency surface wave information. Temporal averaging over a sufficiently long period of time is a crucial step in the workflow to fulfill the randomization requirement of the stationary source distribution. Because of logistical constraints, passive seismic acquisition in urban areas is mostly limited to short recording periods. Due to insufficient temporal averaging, contributions from non-stationary sources can smear the stacked dispersion measurements, especially for the low-frequency band. We formulate a criterion in the tau–p domain for selective stacking of dispersion measurements from passive surface waves and apply it to high-frequency (> 1 Hz) traffic noise. The criterion is based on the automated detection of input data with a high signal-to-noise ratio in a desired velocity range. Modeling tests demonstrate the ability of the proposed criterion to capture the contributions from the non-stationary sources and classify the passive surface wave data. A real-world application shows that the proposed data selection approach improves the dispersion measurements by extending the frequency band below 5 Hz and attenuating the distortion between 6 and 13 Hz. Our results indicate that significant improvements can be obtained by considering tau–p-based data selection in the workflow of passive surface wave processing and interpretation.