Magelang () is one of six cities in Central Java, Indonesia, that are administratively independent of the regencies in which they lie geographically. Each of these cities is governed by a mayor rather than a bupati. Magelang City covers an area of 18.56 km<sup>2</sup> and had a population of 118,227 at the 2010 census and 121,526 at the 2020 census; the official estimate as at mid-2024 was 128,709 (comprising 63,612 males and 65,097 females). It is geographically located in the middle of the Magelang Regency, between Mount Merbabu and Mount Sumbing in the south of the province, and lies 43 km north of Yogyakarta, 15 km north of Mungkid and 75 km south of Semarang, the capital of Central Java.
History
thumb|The Magelang town hall in 1925–1936
Magelang was established on 11 April 907. Magelang was then known as a village called Mantyasih, which is now known as Meteseh.
There are three steles of historical importance in Magelang, namely Poh, Gilikan, and Mantyasih, all of which are written on a plate of copper. Poh and Mantyasih were written under the rule of King Balitung of Mataram kingdom. In those steles, the villages of Mantyasih and Glanggang were mentioned. They became Meteseh and Magelang respectively.
After the independence of Indonesia, Magelang became kotapraja (same level as a district) and then kotamadya (same level as a city). These are listed below with their populations at the 2010 and 2020 The table also includes the locations of the district administrative centres, the number of administrative villages in each district (all classed as kelurahan), and their postcodes.
{| class="wikitable"
|-
! Kode <br>Wilayah|| Name of<br />District<br />(kecamatan) !! Area <br />in<br /> km<sup>2</sup> !! Pop'n <br />2010<br />Census !! Pop'n <br />2020<br />Census !! Pop'n <br />mid 2024<br />Estimate !! Admin <br /> centre !! No.<br /> of <br />kelurahan!!Post<br />code
|-
| 33.71.01 || Magelang Selatan <br>South Magelang) || align="right"| 7.14|| align="right"| || align="right"| 40,215|| align="right"| 42,312||Tidar Selatan|| align="center"| 6||56123 - 56126
|-
| 33.71.03 || Magelang Tengah <br>Central Magelang) || align="right"| 5.13|| align="right"| || align="right"| 44,225|| align="right"| 48,767||Cabacan|| align="center"| 6||56111, 56112, 56117,<br>56121, 56122, 56127
|-
| 33.71.02 || Magelang Utara <br>North Magelang) || align="right"| 6.29|| align="right"| || align="right"| 37,086|| align="right"| 37,630||Kramat Selatan|| align="center"| 5||56113 - 56116
|-
| || Totals || align="right"| 18.56||align="right"| 118,227|| align="right"| 121,526|| align="right"| 128,709|| || align="center"| 17||
|}
Magelang Selatan:
- Tidar Utara
- Tidar Selatan
- Rejowinangun Selatan
- Magersari
- Jurangombo Utara
- Jurangombo Selatan
Magelang Tengah:
- Magelang
- Cacaban
- Kemirirejo
- Gelangan
- Panjang
- Rejowinangun Utara
Magelang Utara:
- Kramat Utara
- Kramat Selatan
- Kedungsari
- Wates
- Potrobangsan
Climate
Demography
The people of Magelang mostly are Javanese and have a diverse set of beliefs and religions. The majority of Magelang's population follows Islam (85.68%), but there are minority groups such as Christianity (13.80%), Buddhism (0.4%), Hinduism (0.08%), and there are also spiritualism and traditional Javanese belief (0.01%).
