A gas pressure spring comprising a) a working cylinder which, together with a compensating piston mounted so that it is slidable relative to the working cylinder, encloses a working chamber filled with a gaseous working medium, b) a working rod protruding into the working chamber through an opening of the working cylinder and mounted so that it is slidable along a stroke axis and, c) a working piston fastened to the working rod and mounted in the working chamber so that it is slidable along the stroke axis, d) a compensating medium disposed in a compensating chamber and expanding in the event of a temperature increase, e) wherein the compensating piston is acted upon by the pressure of the working medium and the pressure of the compensating medium such that the volume of the working chamber is increased, characterised in that f) the compensating chamber is at least partially surrounded by the working rod, g) wherein the gas pressure spring comprises a compensating container having an inner chamber, the compensating container being fastened to the working piston and mounted in the working cylinder so that it is slidable along the stroke axis, h) wherein the compensating piston divides the inner chamber into an inner working chamber conductively connected to the working chamber for the working medium and a return chamber sealed with regard to the working chamber, i) wherein the gas pressure spring comprises a return medium disposed in the return chamber, j) wherein the compensating piston is acted upon by the return medium such that the volume of the inner working chamber is reduced, k) wherein the return medium is the gaseous working medium, l) wherein the gas pressure spring comprises a check valve between the working chamber and the return chamber for simultaneously filling the working chamber and the return chamber with the working medium. a) a working cylinder which, together with a compensating piston mounted so that it is slidable relative to the working cylinder, encloses a working chamber filled with a gaseous working medium, b) a working rod protruding into the working chamber through an opening of the working cylinder and mounted so that it is slidable along a stroke axis and, c) a working piston fastened to the working rod and mounted in the working chamber so that it is slidable along the stroke axis, d) a compensating medium disposed in a compensating chamber and expanding in the event of a temperature increase, e) wherein the compensating piston is acted upon by the pressure of the working medium and the pressure of the compensating medium such that the volume of the working chamber is increased, characterised in that f) the compensating chamber is at least partially surrounded by the working rod, g) wherein the gas pressure spring comprises a compensating container having an inner chamber, the compensating container being fastened to the working piston and mounted in the working cylinder so that it is slidable along the stroke axis, h) wherein the compensating piston divides the inner chamber into an inner working chamber conductively connected to the working chamber for the working medium and a return chamber sealed with regard to the working chamber, i) wherein the gas pressure spring comprises a return medium disposed in the return chamber, j) wherein the compensating piston is acted upon by the return medium such that the volume of the inner working chamber is reduced, k) wherein the return medium is the gaseous working medium, l) wherein the gas pressure spring comprises a check valve between the working chamber and the return chamber for simultaneously filling the working chamber and the return chamber with the working medium.