Djibouti played its first international match under the nameFrench Somaliland, at home against neighbouringEthiopia on 5 December 1947 and lost 5–0. This was also Ethiopia's debut.[3] The two played again in Djibouti on 1 June 1948 and Ethiopia won 2–1. On 1 May 1949, the fixture was played for theEmperor Cup in Ethiopia, and the host won 6–0. In 1954, Djibouti played Ethiopia three times: a 10–2 away loss on 1 May, a 2–0 home loss on 1 June and a 2–1 home loss the day after. Djibouti did not play a match again until 1960, when it entered a tournament for French-speaking countries held inMadagascar. The team lost 9–2 in the first round toCameroon on 13 April. This was the squad's last game as French Somaliland.
After gaining independence in 1977, the team played under the name Djibouti for the first time against Ethiopia in an away match on 27 March 1983 and lost 8–1. The two played again two days later with Ethiopia again victorious, by 4–2. After a third friendly against Ethiopia, a 2–0 home defeat on 23 March 1984, Djibouti entered a tournament in Ethiopia against the host andZimbabwe. They lost 2–0 to Ethiopia on 3 June and then 3–1 to Zimbabwe on 7 June.
Djibouti's first appearance at theCECAFA Cup, a local competition for nations in East and Central Africa, was in Kenya in 1994. These were its first matches since defeating South Yemen in 1988. The Djibouti squad lost 4–1 to the hosts on 28 November, 2–1 toSomalia on 1 December, and 3–0 toTanzania on 3 December. Djibouti did not advance to the next round.
After the 1994 CECAFA Cup, Djibouti did not play a match until the qualification campaign for the1998 African Cup of Nations inBurkina Faso. They were drawn in a two-legged qualifier against Kenya, and lost the first leg 3–0 away on 31 July 1998. The second leg at home was lost 9–1 on 15 August and Kenya went through 12–1 on aggregate.
Djibouti entered its first ever World Cup qualification in an attempt to reach the2002 FIFA World Cup inSouth Korea andJapan. In Pool D of the first round ofAfrican qualification, it was drawn against theDR Congo in a two-legged qualifying preliminary. Djibouti hosted the first leg atStade du Ville inDjibouti on 7 April 2000, drawing the match 1–1 before a crowd of 2,700 fans.[4] The squad lost the second leg 9–1 away at theStade des Martyrs inKinshasa and the DR Congo advanced 10–2 on aggregate.[5]
Djibouti has never played in theAfrican Cup of Nations, with the team regularly withdrawing or not entering for financial reasons.
Prior to their four preliminary qualifiers in late 2019, Djibouti had 2 wins, 3 draws and 55 defeats from 60 competitive matches. However, a number of new players were called up and results finally improved. First, in the2022 FIFA World Cup qualification, Djibouti beatEswatini 2–1 at home and drew 0–0 inManzini to advance to the second round for the first time since the 2010 qualifying when they beat Somalia 1-0 (2–1 on aggregate). This was a massive improvement from the previous edition when Djibouti had also played Eswatini and lost 8–1 on aggregate. One month later, Djibouti played two 1–1 draws againstGambia in the2021 Africa Cup of Nations qualification preliminary round, only losing the tie on penalties.