The Kingdom of Serbia was one of the main parties in the Balkan Wars (8 October 1912 – 18 July 1913), victorious in both phases. It gained significant territorial areas of the Central Balkans and almost doubled its territory. During the First Balkan War, most of the Kosovo Vilayet was taken by Serbia, while the region of Metohija was taken by the Kingdom of Montenegro, its main allies. Over the centuries, populations of ethnic Serbs and Albanians tended to shift following territorial handovers. As a result of the multi-ethnic composition of Kosovo, the new administration provoked a mixed response from the local population. Whilst according to Noel Malcolm the Albanians did not welcome Serbian rule, the non-Albanian population in the Kosovo Vilayet (predominantly Serbs) considered this a liberation. Kosovo Vilayet was internationally recognised as a part of Serbia and northern Metohija as a part of Montenegro at the Treaty of London in May 1913. In 1918, Serbia transformed into the newly Kingdom of Serbs, Croats and Slovenes, later named Yugoslavia. Disagreements regarding the territory of Macedonia among the members of the Balkan League led to the Second Balkan War. Here, Serbia and Greece fought against Bulgaria in 1913. Finalisations concerning which country took which parts were ratified at the Treaty of Bucharest the same year. Serbia came to control the land which became known as Vardar Macedonia, which today stands independent as the Republic of Macedonia.
Following Italy's victory in the Italo-Turkish War of 1911–1912 the Young Turks fell from power after a coup. The Balkan countries saw this as an opportunity to attack the Ottoman Empire and fulfill their desires of expansion. With the initial encouragement of Russian agents, a series of agreements was concluded between Serbia and Bulgaria in March 1912. Military victory against the Ottoman Empire would not be possible while it could bring reinforcements from Asia. The condition of the Ottoman railways of the time was primitive, so most reinforcement would have to come by sea through the Aegean Sea. Greece was the only Balkan country with a navy powerful enough to deny use of the Aegean to the Ottoman Empire, thus a treaty between Greece and Bulgaria became necessary; it was signed in May 1912. Montenegro concluded agreements between Serbia and Bulgaria later that year. Bulgaria signed treaties with Serbia to divide the territory of northern Macedonia, but refused any similar agreement with Greece. Bulgaria's policy was that the agreement would limit Serbia's access to Macedonia, while at the same time Bulgaria could take as much as its army could regardless of Greek wishes. Bulgaria thought it could occupy the larger part of Aegean Macedonia and the important port city of Salonika before the Greeks could get there. This alliance between Greece, Serbia, Bulgaria, and Montenegro became known as the Balkan League; its existence was undesirable for all the Great Powers. The League was loose at best, though secret liaison officers were exchanged between the Greek and the Serbian army after the war began. Greece delayed the start of the war several times in the summer of 1912, to better prepare her navy, but Montenegro declared war on 8 October (25 September O.S.). Following an ultimatum to the Ottoman Empire, the remaining members of the alliance entered the conflict on 17 October.