In this article banach algebra of periodic at infinity functions is defined. For this class of functions notions of Fourier series and absolutely convergent Fourier series are introduced. As a result Wiener's theorem analog devoted to absolutely convergent Fourier series for periodic at infinity functions was proved.