In geothermal power plants materials e.g. pumps are exposed to extremely corrosive thermal water. This results in corrosion fatigue and so inevitably the reduction of the lifetime of these components. Also in the field of the carbon dioxide storage technology (carbon capture and storage CCS) components are exposed to a corrosive environment and mechanical stress. In order to gain knowledge upon the corrosion fatigue strength of materials a corrosion chamber for "in situ" conditions was designed and successfully applied.Two different steels X46Cr13 and X5CrNiCuNb16-4 have been tested and their corrosion fatigue behavior was compared. To simulate the frequency of operating pumps (30 – 40 Hz) a resonant testing machine was used. In addition technical CO2 was introduced into the closed system at a rate close to 9 L/h to keep stable environmental conditions. The samples have a surface roughness of Rz = 4 to simulate technical machined surfaces. The calculated tensile strength of X46Cr13 with soft annealed microstructure (coagulated cementite in ferrite-perlite matrix) is about 680 MPa and the yield strength is about 345 MPa. The tensile strength of X5CrNiCuNb16-4 is about 1078 MPa and the yield strength about 928 MPa. Testing parameters are: corrosion media: saline aquifer water (Stuttgart Aquifer) temperature of the brine at 60 °C and load ratio of R=-1. For X46Cr13 a stress amplitude between 160 MPa to 270 MPa and for X5CrNiCuNb16-4 a stress amplitude between 150 to 500 was chosen. Cycles until crack initiation differ strongly and were found to start at 5 x 104 up to 12.5 x 106 cycles.X46Cr13 has reached a maximum number of cycles (12.5 x 106) at a stress amplitude of 173 MPa. X5CrNiCuNb16-4 has reached the maximum number of cycles (10 x 106) at a stress amplitude of 150 MPa. The range of scatter for X5CrNiCuNb16-4 is very high (1:34) in comparison the range of scatter for X46Cr13 (1:3.5).