A gear unit having a first housing part, a second housing part connected to the first housing part, and bearings (9, 21) received in the first housing part, by means of which bearings an input shaft is rotatably mounted, wherein the input shaft protrudes through a cutout which passes through the first housing part, wherein the first housing part protrudes through a second cutout which passes through the second housing part, wherein a cover part is connected to the first housing part, wherein the cover part is connected to the first housing part sealed off in an oil-tight manner from the surroundings, wherein the cover part or a flange part inserted into the cover part receives a seal arrangement which seals off towards the input shaft, wherein the second housing part has an inlet for lubricating oil which opens into an axial bore, which is formed in the first housing part and is embodied open towards a side of the first housing part which faces the cover part, and into a second annular space, the opening of the axial bore which faces towards the cover part is covered and closed by the cover part, to form a blind hole, wherein, together with the second housing part and together with a spacer bushing arranged on the input shaft, rolling elements of two bearings (9, 21) form the edge of the first annular space, characterised in that the second annular space is provided on a stepped bore, which has an axially oriented bore axis, of the first housing part, which stepped bore has an annular groove running around a step of the stepped bore, with lubricating oil being conducted out of the second annular space by way of a compensation bore into a first annular space, from which the rolling elements of a first one of the bearings, in particular of a first angular contact bearing of the fixed bearing, are supplied with lubricating oil, with the first annular space being formed as a pot-shaped indentation in the cover part and being limited both by the cover part and by the first housing part, with the first bearing being embodied as a fixed bearing constructed in two parts from two bearing parts, with each of the bearing parts being embodied in each case as an angular contact bearing, with the oil which flows in on either side on the rolling elements of the first bearing which is embodied in two parts flowing into an annular region axially between the rolling elements of the two bearing parts and from there, upon the rotary movement of the two-part bearing, being conveyed into an oil outlet arranged above the bearings (9, 21) towards the remaining interior of the gear unit which encompasses the gear stages. wherein the input shaft protrudes through a cutout which passes through the first housing part, wherein the first housing part protrudes through a second cutout which passes through the second housing part, wherein a cover part is connected to the first housing part, wherein the cover part is connected to the first housing part sealed off in an oil-tight manner from the surroundings, wherein the cover part or a flange part inserted into the cover part receives a seal arrangement which seals off towards the input shaft, wherein the second housing part has an inlet for lubricating oil which opens into an axial bore, which is formed in the first housing part and is embodied open towards a side of the first housing part which faces the cover part, and into a second annular space, the opening of the axial bore which faces towards the cover part is covered and closed by the cover part, to form a blind hole, wherein, together with the second housing part and together with a spacer bushing arranged on the input shaft, rolling elements of two bearings (9, 21) form the edge of the first annular space, characterised in that the second annular space is provided on a stepped bore, which has an axially oriented bore axis, of the first housing part, which stepped bore has an annular groove running around a step of the stepped bore, with lubricating oil being conducted out of the second annular space by way of a compensation bore into a first annular space, from which the rolling elements of a first one of the bearings, in particular of a first angular contact bearing of the fixed bearing, are supplied with lubricating oil, with the first annular space being formed as a pot-shaped indentation in the cover part and being limited both by the cover part and by the first housing part, with the first bearing being embodied as a fixed bearing constructed in two parts from two bearing parts, with each of the bearing parts being embodied in each case as an angular contact bearing, with the oil which flows in on either side on the rolling elements of the first bearing which is embodied in two parts flowing into an annular region axially between the rolling elements of the two bearing parts and from there, upon the rotary movement of the two-part bearing, being conveyed into an oil outlet arranged above the bearings (9, 21) towards the remaining interior of the gear unit which encompasses the gear stages.