Disclosed herein is linear compressor. The linear compressor comprises a cylinder, a piston disposed to linearly reciprocate into the cylinder, and a linear motor provided to linearly reciprocate the piston. The linear motor includes an outer core, a bobbin mounted in the outer core, a coil wound on the bobbin, an inner core spaced apart from the outer core to define a gap therebetween, the inner core being mounted to linearly reciprocate simultaneously with the piston, a magnet holder mounted on the inner core, and a magnet mounted in the magnet holder. The linear compressor has a simplified structure, resulting in a reduced number of parts and low manufacturing costs.