A linear compressor comprising: a cylinder defining a compression space; a piston configured to reciprocate in an axis direction within the compression space defined by the cylinder; and a linear motor configured to provide power to the piston, wherein the linear motor comprises: an inner stator disposed outside of the compression space defined by the cylinder and comprising a center core and a side core (212a,212b) disposed on at least one side of the center core, the side core (212a,212b) comprising a plurality of core plates that are stacked on each other in a circumferential or a radial direction; and an outer stator that is spaced outward from the inner stator in a radius direction; and a magnet disposed in an air gap defined between the inner stator and the outer stator, the magnet being configured to move within the air gap defined between the inner stator and the outer stator and reciprocate the piston based on movement of the magnet; and a deformation prevention device that is provided at the side core and is configured to prevent the inner stator from being deformed, wherein the deformation prevention device comprises: a fixing member (318a,318b) coupled to the plurality of core plates to maintain an assembled state of the plurality of core plates, wherein the fixing member (318a,318b) comprises: a first fixing member having a ring shape, and disposed on a first surface of the side core to fix the plurality of core plates; and a second fixing member having a ring shape, and disposed on a second surface of the side core to fix the plurality of core plates, wherein the second fixing member is formed of a nonconductive material. an inner stator disposed outside of the compression space defined by the cylinder and comprising a center core and a side core (212a,212b) disposed on at least one side of the center core, the side core (212a,212b) comprising a plurality of core plates that are stacked on each other in a circumferential or a radial direction; and an outer stator that is spaced outward from the inner stator in a radius direction; and a magnet disposed in an air gap defined between the inner stator and the outer stator, the magnet being configured to move within the air gap defined between the inner stator and the outer stator and reciprocate the piston based on movement of the magnet; and a deformation prevention device that is provided at the side core and is configured to prevent the inner stator from being deformed, wherein the deformation prevention device comprises: a fixing member (318a,318b) coupled to the plurality of core plates to maintain an assembled state of the plurality of core plates, wherein the fixing member (318a,318b) comprises: a first fixing member having a ring shape, and disposed on a first surface of the side core to fix the plurality of core plates; and a second fixing member having a ring shape, and disposed on a second surface of the side core to fix the plurality of core plates, wherein the second fixing member is formed of a nonconductive material. a first fixing member having a ring shape, and disposed on a first surface of the side core to fix the plurality of core plates; and a second fixing member having a ring shape, and disposed on a second surface of the side core to fix the plurality of core plates, wherein the second fixing member is formed of a nonconductive material.