[en] The hyperfine structure of a system of two fermions of arbitrary masses is considered. Gauge invariance is demonstrated through order mα5 for a wide class of covariant gauges. The results agree with those previously obtained in the radiation gauge. New calculational techniques are also developed