Football in Yugoslavia had different levels of historical development depending on the geographical regions. Following the extreme popularity of the sport in Central Europe, it soon became the most popular sport in the territories of Yugoslavia as well.
Football came to the region in the time of Austria-Hungary in the late 19th century, mostly with influences from Vienna, Budapest and Prague, but also England, and the region's first football match was played in Rijeka in 1873, between English and local railway engineers. Before the end of the century occasional matches were also played in Županja, Zadar, Zrenjanin, Subotica, Maribor, Zagreb and Belgrade. Football was first introduced in several multi-sport gymnastic societies, and the first club was established in Belgrade in 1899. In 1901, Bačka, the oldest still-existing football club in Yugoslavia, was founded in Subotica, where the first league competition started in 1908. Before World War I, organized competitions were also played in the territories of today's Croatia and Slovenia. On 13 June 1912, the football section of the Croatian Sports Federation was established as a forerunner of the Yugoslav Football Federation.
After World War I, the Kingdom of Serbs, Croats and Slovenes, later renamed the Kingdom of Yugoslavia in 1929, was formed, and territories with mixed sports development were united. The Yugoslav Football Federation was formed in Zagreb in 1919, while the first sub-associations were formed in Belgrade, Ljubljana, Split, Subotica and Sarajevo in 1920. The Yugoslav Football Championship was played beginning in 1923, when Građanski Zagreb became first champions. The first four seasons had a cup tournament format, while the first round-robin league competition was held in 1927. In the period from 1923 to 1940, seventeen seasons were completed, with all the titles won by clubs from Croatia (Građanski Zagreb, Concordia Zagreb, HAŠK Zagreb and Hajduk Split) or Serbia (BSK Belgrade and Jugoslavija Belgrade). The Yugoslavia national football team was formed in 1920, when it participated at the Summer Olympics in Belgium. It soon became a force in European football and finished third in the 1930 World Cup in Uruguay.
The monarchy was replaced by a socialist country after the Second World War. Many new clubs were formed and a new federal league was established to replace the old championship. The first season was played in 1946/47, and Partizan became the first postwar champions. The Yugoslav league soon became the most popular sport league in the country with average attendances usually over 10,000 spectators. The most successful clubs were known as the big four, Dinamo Zagreb, Hajduk Split, Red Star Belgrade, and Partizan Belgrade. Red Star won a record 19 championships and the European Cup in 1991; Partizan were runners-up of the same competition in 1966, while Dinamo won the Inter-Cities Fairs Cup in 1967. Other notable Yugoslav clubs were Olimpija Ljubljana, Željezničar Sarajevo, Velež Mostar, OFK Beograd, Vardar Skopje, Vojvodina, Rijeka and Sarajevo. Apart from the league, the Yugoslav Cup was also very popular, with the winner getting the Marshal Tito Trophy. The finals were first played on Republic Day (29 November), but the competition was then altered to correspond to the league season. The most successful team was Red Star with 12 titles. The Yugoslavia national football team continued with good results on the international scene, being participants in many European Championships and World Cups. Stjepan Bobek scored the most goals for the national team, while Dragan Džajić earned the most caps. The national team's best results were reaching the semi-finals in the 1962 World Cup and the finals in UEFA Euro 1960 and UEFA Euro 1968. Yugoslavia also hosted the UEFA Euro 1976 in the cities of Belgrade and Zagreb.
In 1992, all the competitions were dissolved or altered following the break-up of Yugoslavia and the consequent creation of independent states.