The invention relates to a pre-synchronization control method based on virtual impedance, and belongs to pre-synchronization control methods. The pre-synchronization control method comprises a virtual impedance unit Xv exists at the two ends of a grid-connected switch Sg; the voltage Upcc of a node PCC and the grid voltage Ug are detected; and virtual active power Pv and reactive power Qv of a virtual reactance unit are calculated, PI controllers enable the virtual active power Pv and reactive power Qv to approach 0, when both the virtual active power Pv and reactive power Qv are 0, the voltage amplitudes of the two ends of the grid-connected switch Sg are the same, the voltage phases of the two ends of the grid-connected switch Sg are the same and if the grid is connected at this time, the instant impact current of grid connection is low, and it is ensured that an inverter is connected to the grid smoothly and friendly. A traditional pre-synchronization control method includes two phase-locked loops and needs a relatively large amount of PI regulators, and a traditional control system is complex. According to the pre-synchronization control method of the invention, the phase-locked loops are omitted, control is simpler, and the method is not influenced by delay and control precision of the phase-locked loops; only two PI controllers are needed, the complexity of an algorithm is reduced; and the output voltage of the inverter and the grid voltage are the same in both the amplitude and the phase, the transient impact current is reduced, and seamless switching between off-grid and grid-connection is realized.