In this paper, we show the version of Pego's theorem on locally compact abelian groups. This theorem, [R. L. Pego, Compactness in L2 and the Fourier transform, Proc. Amer. Math. Soc.95 (1985) 252–254], gives a characterization of precompact sets of L2 in terms of the Fourier transform.