Slovenia competed at the 2012 Summer Olympics in London, United Kingdom. This was the nation's sixth consecutive appearance at the Summer Olympics. The Olympic Committee of Slovenia () sent the nation's third-largest delegation ever to the Games. A total of 65 athletes, 28 men and 37 women, competed in 15 sports. For the first time in its Olympic history, Slovenia was represented by more female than male athletes. Slalom kayaker and multiple-time world champion Peter Kauzer was the nation's flagbearer at the opening ceremony. The London Games also featured Slovenia's Olympic debut in triathlon.
The Slovenian team contained two Olympic medalists from the Beijing Olympics: hammer thrower and defending champion Primoà ¾ Kozmus, and Finn sailor Vasilij à ½bogar, who both competed at their fourth Olympics. Rifle shooter and former gold medalist Rajmond Debevec, the oldest athlete on the team at 49, became the first Slovenian to compete in eight Olympic Games (including two appearances for Socialist Federal Republic of Yugoslavia). Rower and four-time medalist Iztok ÃÂop competed at his sixth Olympics, while ÃÂop's rowing partner Luka à  pik and butterfly swimmer Peter Mankoàboth made their fifth Olympic appearances.
Slovenian athletes earned four medals in London: one gold, one silver, and two bronze. All of Slovenia's medal winners had already won medals at one or more previous Olympics.
Slovenia qualified one archer.
Slovenian athletes achieved qualifying standards in the following athletics events (up to a maximum of 3 athletes in each event at the 'A' Standard, and 1 at the 'B' Standard):
Slovenia qualified boats for all slalom events.
<small>Qualification Legend: FA = Qualify to final (medal); FB = Qualify to final B (non-medal)</small>
Slovenia qualified athletes in the following events:
Slovenia qualified the following boats:
<small>Qualification Legend: FA=Final A (medal); FB=Final B (non-medal); FC=Final C (non-medal); FD=Final D (non-medal); FE=Final E (non-medal); FF=Final F (non-medal); SA/B=Semifinals A/B; SC/D=Semifinals C/D; SE/F=Semifinals E/F; QF=Quarterfinals; R=Repechage</small>
Slovenia qualified one boat for each of the following events:
<small> M = Medal race; EL = Eliminated â did not advance into the medal race</small>
Slovenia ensured berths in the following events:
Slovenian swimmers achieved qualifying standards in the following events (up to a maximum of two swimmers in each event at the Olympic Qualifying Time (OQT), and 1 at the Olympic Selection Time (OST)):
Slovenia qualified one athlete for singles table tennis.
Slovenia qualified 3 athletes.
Slovenia qualified 4 players.