We investigate the influence of a magnetic field on the ground state energy of a polaron in a spherical semiconductor quantum dot (QD) using the modified LLP method. The ground state energy is split into sub-energy levels and there is a degeneracy of energy levels. It is also observed that the degenerate energy increase with the electron–phonon coupling constant and decrease with the magnetic field. The numerical results show that, under the influence of magnetic field and the interaction with the total momentum along the z-direction, the split energy increases and decreases with the longitudinal and the transverse confinement length, respectively.