Local archaeological findings date to the Neolithic era. It is assumed that Bar was mentioned as the reconstructed Roman castle, Antipargal, in the 6th century. The name Antibarium was quoted for the first time in the 10th century.
In the 6th and 7th centuries, Slavs occupied the Balkans. Duklja, a Slavic, or Serbian state, was mentioned in the 10th century. Jovan Vladimir (ruler 1000 - 1016), of Skadarska Krajina is the first ruler of Duklja whose history is known. Stefan Vojislav (ruler 1018 - 1043), the eponymous founder of the Vojislavljević dynasty, defeated the Byzantines in a battle on a hill near Bar. He made Bar his seat of power. Vojislav then expanded the area under his rule. Mihailo I of Duklja (ruler 1050 - 1081), Vojislav's son, established the Archdiocese of Antivari. He continued to fight the Byzantines in order to secure the town's independence. This led to a union of states known as the Serbian Grand Principality. From 1101 to 1166, the principality was ruled by the Vukanović dynasty. However, for much of this time, Bar was under Byzantine rule. In 1183, Stefan Nemanja conquered Bar and it stayed under Serbian control under the Nemanjić dynasty and until the fall of Serbian Despotate in 1459.
Venetian and Ottoman period
From 1443 to 1571, the region was ruled by the Venice. Bar (called Antivari by the Venetians, was part of the Albania Veneta. It was a city state with its own coat of arms, flag, statute and mint. In 1571, the Ottomans captured Bar and held the town until 1878. The archdiocese was preserved. One of the archbishops during this period was Andrija Zmajević. The Ottomans ceded Bar to Montenegro at the Treaty of Berlin.
Bar in 1863.
Guglielmo Marconi, the Italian scientist and pioneer in wireless telegraphy, made a radio connection between Bar and Bari on 30 August 1904. In 1908, the first railroad in this part of the Balkans was put into operation. During World War I, on 16 August 1914, the Austro-Hungarian navy's light cruiser SMS Zenta and an accompanying destroyer became trapped off Bar by a very large French fleet (over twelve battleships) and in the subsequent battle of Antivari the Zenta was sunk with considerable loss of life. The destroyer escaped.
In World War II, on 13 July 1941, an uprising against the Italian occupying forces in Bar took place. In 1945, about 2,000 Albanians were killed in Bar by Yugoslav Communist Partisans. Bar was largely destroyed in World War II and rebuilt into a modern city.
In 1979, there was an earthquake that devastated Bar. It has since been rebuilt.
The Bar municipality has over 44 kilometres (27 miles) of sea coast. There are twenty beaches stretching over 9 kilometres (6 miles). In the north is Čanj, which has a 1,100-metre (3,600-foot) sandy beach. A boat takes tourists from Čanj to the Kraljičina Plaža. It lies below a natural wall of sedimentary rock. Further south is 300-metre-long (980-foot) Maljevik Beach. The beach at Sutomore, 1,200 metres (3,900 feet) long, has entertainments, activities and restaurants. Near the medieval monastery complex of Ratac is Crvena Plaža, named after the colour of its fine sand. The beach is surrounded by a pine forest and located about a hundred m from the main road to Bar. Just north of the Bar central business district is the 1,200-metre-long (3,900-foot) Žukotrlica Beach. It is a gravel beach, surrounded by a pine forest and varied Mediterranean vegetation. The Bar Gradska Plaža is located in front of King Nikola's palace. It is 750 metres (2,460 feet) long, part pebble and part sand. 10 kilometres (6 miles) south of central Bar is the 380-metre-long (1,250-foot) Veliki Pijesak. It is surrounded by numerous tourist facilities, restaurants and discothèques. On the border of the Bar and Ulcinj municipalities, in the village of Bušat, is the Val Maslina with its nearby olive groves. There are also beaches on the shore of Lake Skadar including the sandy Murići village beach and Pješačac.