We compute the three-loop QCD corrections to the quark chromomagnetic
moment and thus obtain the matching coefficient and the anomalous
dimension of the chromomagnetic interaction in HQET. As a byproduct we
obtain the three-loop corrections to the quark anomalous magnetic
moment.