In this paper, based on the time-dependent Ginzburg–Landau theory, we study the dynamics of vortex–antivortex (V–Av) pairs in a mesoscopic superconducting square with a small hole under applied bias currents. For the sample with a centered hole, a V–Av pair can nucleate at the hole edges and moves in opposite directions perpendicular to applied constant DC drive. The influence of the external magnetic field on the (anti)vortex velocity and the lifetime of V–Av pairs is mainly investigated. Different modes in the dynamical process of the V–Av collision and annihilation are identified. Moreover, in the case when the hole is displaced from the center of the square, the V–Av dynamics behaves quite differently from the symmetric case due to the shift of the V–Av creation point.