Diffractions are the seismic responses of subsurface small-scale geologic discontinuities or inhomogeneities, whose energy is much weaker than that of reflections. To eliminate the masking effect of strong reflections on weak diffractions, a prestack diffraction separation method is proposed based on the common virtual source gather (CVSG) and the median filter. The reflection generated from a reflector can be regarded as originating from a virtual source (or a focused area). According to this behavior, the reflection can be transformed into its corresponding virtual source position to build the CVSG. Unlike the reflection, diffraction cannot be regarded as originating from one virtual source. Therefore, diffractions have a curved shape, whereas reflections are flat in the CVSG. Based on the traveltime moveout method, the reflection traveltime is calculated for describing reflection events and generating CVSG. Theory and a simple synthetic data test demonstrate that there is almost no energy lost when transforming between a shot gather and CVSG. Then, for removing the reflection, the median filter is used in the CVSG where the reflection appears as a linear event. Complex synthetic and field examples demonstrate that the proposed method can flatten reflection events and thus can separate diffraction events from strong reflections in the prestack domain.