A border wall has been built along portions of the Mexico–United States border in an attempt to reduce illegal immigration to the United States from Mexico. The barrier is not a continuous structure but a series of obstructions variously classified as "fences" or "walls".
Between the physical barriers, security is provided by a "virtual fence" of sensors, cameras, and other surveillance equipment used to dispatch United States Border Patrol agents to suspected migrant crossings. In May 2011, the Department of Homeland Security (DHS) said it had 649 miles (1,044 km) of barriers in place. A total of 438 miles (705 km) of new primary barriers were built during Donald Trump's first presidency, dubbed the "Trump wall", though Trump had repeatedly promised a "giant wall" spanning the entire border and that Mexico would "pay for the wall," neither of which were done. The national border's length is 1,954 miles (3,145 km), of which 1,255 miles (2,020 km) is the Rio Grande and 699 miles (1,125 km) is on land.