UK net migration has fallen to 77,000 in the year to June, its lowest non-pandemic level since 1997 and a sharp reversal from nearly one million just three years earlier.

Figures released on Thursday by the Office for National Statistics measure the balance between people arriving from abroad to stay for at least 12 months and those leaving to live overseas. The figure is therefore a net addition to the population, not the total number of arrivals.

Emigration has risen gradually over recent years. But the much larger movement has been in immigration: its steep rise and subsequent decline have largely determined the direction of net migration during the 2020s.

The surge followed the introduction of a new post-Brexit immigration system in 2021. It was driven principally by increased arrivals of non-EU citizens on work and study visas, often accompanied by family members.

Humanitarian routes also contributed. The government opened a route for people leaving Hong Kong in 2021 after China imposed a strict security law in response to protests and unrest. Another route admitted Ukrainians fleeing Russia’s full-scale invasion in 2022. These movements had distinct causes, even though both contributed to the overall increase.

The scale of the recent changes stands out against a longer history. Departures exceeded arrivals for much of the 1960s and 1970s. Positive net migration became the norm around the relaxation of European Union immigration rules in 1993, then rose further after several eastern European countries joined the EU in the mid-2000s.

Critics have called the post-Brexit surge the “Boriswave”. Subsequent Conservative and Labour governments tightened legal migration rules, contributing to the fall. Higher salary thresholds and narrower lists of eligible jobs restricted access to work visas; limits on accompanying relatives also changed which workers and students could bring their families. The policy changes affected both eligibility to move to Britain and the terms on which people could do so.