A turbocharger, having a turbine for expanding a first medium, having a compressor for compressing a second medium utilising energy extracted in the turbine during the expansion of the first medium, wherein the turbine comprises a turbine housing with a flange and a turbine rotor, wherein the compressor comprises a compressor housing and a compressor rotor that is coupled to the turbine rotor via a shaft, having a bearing housing, in which the shaft is mounted, wherein the bearing housing comprises a flange, having a fastening device which comprises a first section and a second section, wherein the turbine housing and the compressor housing are each connected to the bearing housing arranged between the same, wherein the turbine housing and the bearing housing are connected via the fastening device in such a manner that the fastening device is mounted with the first section on the flange of the turbine housing and with the second section overlaps the flange of the bearing housing at least in sections, having a nozzle ring comprising a flange, having a heat shield comprising a flange, wherein between the flange of the turbine housing and the flange of the bearing housing the flange of the nozzle ring and the flange of the heat shield are clamped, characterized in that between the flange of the bearing housing and the flange of the turbine housing, namely between the flange of the bearing housing and the flange of the heat shield, which comprises a recess, a spring element is positioned in the recess of the flange of the heat shield, which axially presses the flange of the heat shield against the flange of the nozzle ring and thus axially presses the flange of the nozzle ring against the flange of the turbine housing. having a turbine for expanding a first medium, having a compressor for compressing a second medium utilising energy extracted in the turbine during the expansion of the first medium, wherein the turbine comprises a turbine housing with a flange and a turbine rotor, wherein the compressor comprises a compressor housing and a compressor rotor that is coupled to the turbine rotor via a shaft, having a bearing housing, in which the shaft is mounted, wherein the bearing housing comprises a flange, having a fastening device which comprises a first section and a second section, wherein the turbine housing and the compressor housing are each connected to the bearing housing arranged between the same, wherein the turbine housing and the bearing housing are connected via the fastening device in such a manner that the fastening device is mounted with the first section on the flange of the turbine housing and with the second section overlaps the flange of the bearing housing at least in sections, having a nozzle ring comprising a flange, having a heat shield comprising a flange, wherein between the flange of the turbine housing and the flange of the bearing housing the flange of the nozzle ring and the flange of the heat shield are clamped, characterized in that between the flange of the bearing housing and the flange of the turbine housing, namely between the flange of the bearing housing and the flange of the heat shield, which comprises a recess, a spring element is positioned in the recess of the flange of the heat shield, which axially presses the flange of the heat shield against the flange of the nozzle ring and thus axially presses the flange of the nozzle ring against the flange of the turbine housing.