quality:corruption, information:filtering
Foreign relations and military

At the time of independence, Botswana had no armed forces. It was only after the Rhodesian and South African armies attacked the Zimbabwe People's Revolutionary Army and Umkhonto we Sizwe bases respectively that the Botswana Defence Force (BDF) was formed in 1977. The president is commander-in-chief of the armed forces and appoints a defence council. In 2019, Botswana signed the UN treaty on the Prohibition of Nuclear Weapons.

Following political changes in South Africa and the region, the BDF's missions have increasingly focused on prevention of poaching, preparing for disasters, and foreign peacekeeping. The United States has been the largest single foreign contributor to the development of the BDF, and a large segment of its officer corps have received U.S. training. The Botswana government gave the United States permission to explore the possibility of establishing an Africa Command (AFRICOM) base in the country.

Botswana is the 50th most peaceful country in the world, according to the 2024 Global Peace Index.