In this paper, we are concerned with the regularity and energy conservation of the weak solutions for inhomogeneous compressible ideal MHD systems. We give two sufficient conditions on the regularity of solutions in order to ensure the energy to be conserved, where (t, x) ∈ (0, T ) × T d (d 1). The main tool we have employed relies on the commutator estimates similar to those used by Constantin et al. for the homogeneous incompressible Euler equations.