This paper is concerned with an initial boundary value problem in one-dimensional magnetohydrodynamics. We prove the global existence, uniqueness, and stability of strong solutions for the planar magnetohydrodynamic equations for isentropic compressible fluids in the case that vacuum can be allowed initially.