The present invention relates to a linear motor which does not affect other elements by reducing a magnetic field leaking to the outside. The linear motor according to the present invention can minimize the leakage of the magnetic field while minimizing the thickness and also maintain an appropriate vibration amount by maintaining the displacement of a vibrator.