An interesting glance:
In the United States, Former President Donald Trump made worldwide headlines with his push to build a wall along the United States-Mexico border in order to keep out illegal immigrants. While many people have vocalized their opposition to the plan, the United States would not be the first nation to construct a wall along its border. Around the world, there are several nations that have border walls, fences, or barriers. These usually serve the purpose of controlling the border, keeping out illegal immigrants and preventing smuggling. Other nations use barriers when there are disputed or unclear borders.
As of December 2021, border walls are located in the following nations: North Korea and South Korea; Hong Kong; South Africa and Mozambique; Egypt; Kuwait and Iraq; Spain; Uzbekistan and Kyrgyzstan; South Africa; Turkmenistan and Uzbekistan; Uzbekistan and Afghanistan; Botswana and Zimbabwe; India; Saudi Arabia and Yemen; Brunei and Limbang; Kazakhstan and Uzbekistan; Bulgaria; Saudi Arabia and Iraq; Hungary; Macedonia, and Israel.
There are also several proposed and planned barriers between Belize and Guatemala; Costa Rica and Nicaragua; Thailand and Malaysia, and the United States. Some nations have their barriers under construction, including India and Bangladesh; India and Myanmar; Iran and Pakistan; and Ukraine and Russia. Poland and Belarus announced a border wall in 2021 to prevent illegal immigration.The Dominican Republic and Haiti also announced a border wall this year. The Pakistan-Afghanistan border was built in 2021 and the Greece-Turkey border was expanded.
Country: Wall Name: Length
Afghanistan Pakistan-Afghanistan barrier 2,670 1,659.06
Bangladesh India-Bangladesh barrier 3,268 2,030.64
Botswana Botswana-Zimbabwe 500 310.69
Brunei Brunei-Malaysia 20 12.43
Bulgaria Bulgaria-Turkey barrier 30 18.64
China China-Hong Kong 32 19.88
Croatia Hungary-Croatia barrer 41 25.48
Cyprus Green Line 180 111.84
Egypt Egypt-Gaza barrier 3.10 1.93
Estonia Estonia-Russia barrier 108 67.10
Greece Greece-Turkey border 200 124.27
Hong Kong China-Hong Kong 32 19.88
Hungary Hungary-Serbia barrier 175 108.74
India India-Bangladesh barrier 3,268 2,030.64
Iran Iran-Pakistan barrier 959 595.90
Iraq Kuwait-Iraq 193 119.93
Israel Israel-West Bank barrier 708 439.93
Kazakhstan Kazkhstan-Uzbekistan 45 27.96
Kuwait Kuwait-Iraq 193 119.93
Kyrgyzstan Uzbek-Kyrgyzstan barrier 870 540.59
Lebanon Israel-Lebanon barrier 11 6.84
Libya Libya-Tunisia 460 285.83
Malaysia Brunei-Malaysia 20 12.43
Mexico Mexico-United States border 1,000 621.37
Morocco Ceuta border fence 8 4.97
Mozambique Kruger National Park 120 74.56
Myanmar India-Myanmar barrier 1,624 1,009.11
North Korea Chinese-Korean border fence 1,416 879.86
North Macedonia North Macedonia-Greece barrier 30 18.64
Norway Norway-Russia border barrier 200 124.27
Oman United Arab Emirates-Oman barrier 410 254.76
Pakistan India-Pakistan barrier 550 341.75
Palestine Israel-West Bank barrier 708 439.93
Russia Estonia-Russia barrier 108 67.10
Saudi Arabia Saudi-Yemen barrier 75 46.60
Serbia Hungary-Serbia barrier 175 108.74
Slovenia Sloveania-Croatia barrier 220 136.70
South Africa Kruger National Park 120 74.56
South Korea Korean Demilitarized Zone 248 154.10
Spain Ceuta border fence 8 4.97
Syria Turkey-Syria border barrier 828 514.50
Thailand Malaysia-Thailand border 650 403.89
Tunisia Libya-Tunisia 460 285.83
Turkey Bulgaria-Turkey barrier 30 18.64
Ukraine Ukraine-Russia barrier 2,000 1,242.74
United Arab Emirates United Arab Emirates-Oman barrier 410 254.76
United States Mexico-United States border 1,000 621.37
Uzbekistan Kazkhstan-Uzbekistan 45 27.96
Yemen Saudi-Yemen barrier 75 46.60
Zimbabwe Botswana-Zimbabwe 500 310.69
https://worldpopulationreview.com/country-rankings/countries-with-border-walls