An independent city or independent town is a city or town that does not form part of another general-purpose local government entity (such as a county).
In the Holy Roman Empire, and to a degree in its successor states the German Confederation and the German Empire, so-called "free imperial cities" (nominative singular freie Reichsstadt, nominative plural freie Reichsstädte) held the legal status of imperial immediacy, according to which they were not subinfeudated to any vassal ruler and were instead subject to the authority of the Emperor alone. Examples included Hamburg, Bremen, and Lübeck, along with others that gained and/or lost the privileges of immediacy over the course of the Empire's history.
A number of countries have made their national capitals into separate entities.
Examples include:
In countries with a federal structure, the federal capital is often separate from other jurisdictions in the country, and frequently has a unique system of government.
Examples include:
In mainland China under the administrative division system of the People's Republic of China, the municipalities of Beijing, Tianjin, Shanghai and Chongqing are centrally-administered province-level regions, and they do not belong to any particular province. Additionally, there are several vice provincial cities that are nominally under provinces but in reality have economic policies independent of their respective provinces.