The primary muscle groups used in fencing are the legs, specifically the quads and calves, as well as the core and upper body muscles such as the chest, back, shoulders, and arms.