People have lived around Pristina since the Neolithic. The Romans built Ulpiana, 12 km to the southeast, into a town they later called the Splendid City. An earthquake in 518 wrecked it, and Justinian rebuilt it under a new name.
Pristina itself starts late. A record from 1342 calls it a village. In 1389 the Battle of Kosovo, fought about 5 km away, brought Ottoman rule that lasted until 1912. Trade followed the mines of nearby Novo Brdo, and Pristina grew into a market town known for fairs, goatskin and gunpowder.
The Ottoman centuries left baths, fountains, inns and mosques. The oldest building is the Stone Mosque, begun in the late 14th century. When the traveller Evliya Çelebi visited in 1660 he counted 2,060 houses with courtyards and gardens, and thought the people generous hosts. Only a few pieces of that town survive: the Shadërvan fountain is the last of more than fifty.
From 1883 to 1897 Pristina was the capital of the Vilayet of Kosovo. European influence arrived with the Kosovo Museum building of 1884, a former barracks designed in Graz. The clock tower beside it, 26 m tall, told the town when to pray and when shops should close. Rails had reached the town in 1874, when the British built its first station on the line from Thessaloniki to Mitrovica.
Serbian forces took the town in 1912, and the interwar years brought colonisation and waves of Albanian emigration to Turkey. After the Second World War Pristina became the capital of Kosovo within Yugoslavia, and the planners set about rebuilding it. Under the slogan of destroying the old and building the new, they razed the Old Bazaar, a mosque, the Catholic chapel and the only synagogue. Few traces of the old city survive.
In 1989 Belgrade cut Kosovo's autonomy and Albanians were pushed out of state jobs and institutions. Pristina stayed largely calm until the war in March 1999, and was spared the destruction suffered by Gjakova or Peja. But NATO hit military targets, Serbian forces shelled districts and expelled large numbers of Albanians, many of them put on trains to the border. Most of the city's 45,000 Serbs left after the war, and only a few dozen remain.
Kosovo declared independence in 2008 and Pristina stayed its capital. Growth since has been fast: the population rose 14.2% between 2011 and 2024. A new airport terminal opened in 2013, and motorways now link the city to Durrës on the Albanian coast and to Skopje. In 2030 the city is due to host the Mediterranean Games.