In a method for generating energy in an energy generating installation (10) having a gas turbine (12), in a first step, an oxygen-containing gas is compressed in a compressor (13, 14) of the gas turbine (12), in a second step the compressed gas is supplied, with the addition of fuel, for combustion in a combustion chamber (15), in a third step the hot flue gas from the combustion chamber (15) is expanded in a turbine (16) of the gas turbine (12) so as to perform work, and, in a fourth step, a branched-off part stream of the expanded flue gas is recirculated into a part of the gas turbine (12) lying upstream of the combustion chamber (15) and is compressed. A reduction in the CO2 emission, along with minimal losses of efficiency, is achieved in that carbon dioxide (CO2) is separated from the circulating gas in a CO2 separator (19), and in that measures are taken to compensate for the efficiency losses in the gas turbine cyclic process which are associated with the CO2 separation.