Variety of interatomic potentials for magnesium can be found in the literature. Result of computer simulations can be slightly different depending on used potential. Particularly, twin boundary structure with the lowest energy can be different in a frame of different models. Comparison of several popular embedded-atom method potentials is provided. It is shown that either reflection or glide structure of twin boundary has the lowest energy for different potentials.