A 4-cycle Stirling engine is for carrying out thermal power processes or heat power and cold and heat pumping processes with two double piston units which move with a phase offset to each other.