The invention discloses a double-cylinder compression packer. The double-cylinder compression packer comprises a center pipe. The center pipe is sequentially sleeved with an upper connector, an upper hydraulic cylinder, an upper starter, an upper piston, an upper impelling ring, an upper moving ring, an upper pressing ring, an upper rubber barrel, a spacer ring, a lower rubber barrel, a lower pressing ring, a lower moving ring, a lower impelling ring, a lower piston, a lower starter, a lower hydraulic cylinder and a lower connector from top to bottom. Instant impact force in the setting process of the compression packer is buffered by arranging end portion copper rings and elastic steel rings at the two ends of the upper rubber barrel and the two ends of the lower rubber barrel to prevent parts of the compression packer from being damaged by the instant impact force so that sealing pressure of the upper rubber barrel and the lower rubber barrel on a casing pipe is more even, and the service life of the compression packer is prolonged. Because a saw-tooth-shaped structure is arranged on the center pipe, the upper rubber barrel and the lower rubber barrel can be effectively prevented from wriggling in the working process. Rubber barrel frameworks are arranged on the upper rubber barrel and the lower rubber barrel in a sulfuration mode and are provided with saw-tooth-shaped structures, so that the upper rubber barrel and the lower rubber barrel are prevented from being damaged in the setting and sealing processes of the compression packer, and the elastic restoring force of the upper rubber barrel and the elastic restoring force of the lower rubber barrel are increased in the release process of the compression packer.