A measurement of the cc++$$ {\varXi}_{cc}^{++} $$ mass is performed using data collected by the LHCb experiment between 2016 and 2018 in pp collisions at a centre-of-mass energy of 13 TeV, corresponding to an integrated luminosity of 5.6 fb1. The cc++$$ {\varXi}_{cc}^{++} $$ candidates are reconstructed via the decay modes cc++c+K++$$ {\varXi}_{cc}^{++}\to {\varLambda}_c^{+}{K}^{-}{\pi}^{+}{\pi}^{+} $$ and cc++c++$$ {\varXi}_{cc}^{++}\to {\varXi}_c^{+}{\pi}^{+} $$. The result, 3621.55 ± 0.23 (stat) ± 0.30 (syst) MeV/c2, is the most precise measurement of the cc++$$ {\varXi}_{cc}^{++} $$ mass to date.