The present invention provides a horizontally opposed compressor that sufficiently secures the stroke of the piston, arranges each compression section in a balanced manner, is small in size, and has little vibration. The compression part (6, 25) is connected to the eccentric part (3C, 3D) at a position away from the middle position (M) of the crankshaft (3) by the dimension (L1), and the inner diameter (A) of the cylinder (7, 26) and the piston The strokes (S) of (16, 27) are equal. In addition, the compression part (21, 29) is connected to the eccentric part (3C, 3D) at a distance (L2) from the middle position (M), and the inner diameter (A) of the cylinder (22, 30) and the piston (23, 31 ) stroke (S) equal. Accordingly, a balancer or the like is unnecessary, and the compressor can be reduced in size and weight, and vibration can be reduced. Furthermore, since the respective connecting rods (17, 24, 28, 32) can be connected to the crankshaft (3) with the axial positions of the pistons slightly shifted, the stroke (S) can be sufficiently ensured even in a compact arrangement.