This article is an attempt to identify defensive tasks performed at individual levels of territorial self-government in Poland. Defense tasks are implemented within the State Defense System, which is a subsystem of the National Security System (NSS). Therefore, the article indicates the location of the Defense System in the National Security System, the structure of NSS and the mission of its individual subsystems. The author also presents the functioning of territorial self-government in Poland and specifies tasks implemented by territorial self-government. The subject of the research are defense tasks implemented by local governments in Poland, and the aim is an attempt to identify defense tasks performed at individual levels of local government. The following theoretical research methods were used: analysis, synthesis, abstraction and inference.