The present work deals with the linear stability of a magnetohydrodynamic shear flow so that a stratified inviscid fluid rotating about a vertical axis when a uniform magnetic field is applied in the direction of the streaming or zonal flow. In geophysical flow, the stability of the flow is determined by taking into account the nonhydrostatic condition depending on Richardson number Ri and the deviation δ from hydrostatic equilibrium.According to Stone (Stone P H 1971 J. Fluid. Mech. 45 659), it is shown that such deviation δ decreases the growth rates of three kinds of instability which can appear as geostrophic (G), symmetric (S) and Kelvin-Helmholtz (K-H) instabilities.To be specific, the evolution of the flow is therefore considered in the light of the influence of magnetic field, particularly, on K-H instability. The results of this study are presented by the linear stability of a magnetohydrodynamic, with horizontal free-shear flow of stratified fluid, subject to rotation about the vertical axis and uniform magnetic field in the zonal direction. Results are discussed and compared to previous works as Chandrasekhar (Chandrasekhar S 1961 Hydrodynamic and hydromagnetic stability(Oxford: Clarendon Press) chapter 11 pp 481–513) and Stone [1].