We study compact rings satisfying a pure algebraic condition, namely the periodicity of the group of units. Surprisingly, this class of compact rings is related to the class of locally finite rings. We consider also more general classes or rings with periodic group of rings: linearly compact rings. Properties of groups of units of compact rings were studied in [1-6].