We show that a bi-invariant metric on a compact connected Lie group G is spectrally isolated within the class of left-invariant metrics. In fact, we prove that given a biinvariant metric g0 on G there is a positive integer N such that, within a neighborhood of g0 in the class of left-invariant metrics of at most the same volume, g0 is uniquely determined by the first N distinct non-zero eigenvalues of its Laplacian (ignoring multiplicities). In the case where G is simple, N can be chosen to be two. R ÉSUM É. Soit G un groupe de Lie compact et connexe, et soit g0 une métrique bi-invariante sur G. On démontre que g0 est isolée spectralement dans la classe des métriques invariantes à gauche: Plus précisément, il existe un entier positif N tel que, dans un voisinage de g0 dans la classe des métriques invariantes à gauche et de volume égal ou inférieur à celui de g0, la métrique g0 est determinée de manière unique par les N premières valeurs propres strictement positives de son Laplacien (sans multiplicités). Si G est simple, on peut choisir N = 2.