Aims. Our goal is to constrain models of active region formation by tracking the average motion of active region polarity pairs as they emerge onto the surface. Methods. We measured the motion of the two main opposite polarities in 153 emerging active regions (EARs) using line-of-sight magnetic field observations from the Solar Dynamics Observatory Helioseismic Emerging Active Region (SDO/HEAR) survey . We first measured the position of each of the polarities eight hours after emergence, when they could be clearly identified, using a feature recognition method. We then tracked their location forwards and backwards in time.Results. We find that, on average, the polarities emerge with an east-west orientation and in the first 0.1 days the separation speed between the polarities increases. At about 0.1 days after emergence, the average separation speed reaches a peak value of 229 ± 11 ms −1 , and then stars to decrease, and about 2.5 days after emergence the polarities stop separating. We also find that the separation and the separation speed in the east-west direction are systematically larger for active regions with higher flux. The scatter in the location of the polarities increases from about 5 Mm at the time of emergence to about 15 Mm at two days after emergence. Conclusions. Our results reveal two phases of the emergence process defined by the rate of change of the separation speed as the polarities move apart. Phase 1 begins when the opposite polarity pairs first appear at the surface, with an east-west alignment and an increasing separation speed. We define Phase 2 to begin when the separation speed starts to decrease, and ends when the polarities have stopped separating. This is consistent with the picture of Chen, Rempel, & Fan (2017): the peak of a flux tube breaks through the surface during Phase 1. During Phase 2 the magnetic field lines are straightened by magnetic tension, so that the polarities continue to move apart, until they eventually lie directly above their anchored subsurface footpoints. The scatter in the location of the polarities is consistent with the length and time scales of supergranulation, supporting the idea that convection buffets the polarities as they separate.