Ham-sous-Varsberg (; literally "Ham under Varsberg"; ) is a commune in the Moselle department in Grand Est in north-eastern France.