A method for adapting a first injection quantity specification and a second injection quantity specification for controlling a fuel injection into an internal combustion engine, to which fuel may be supplied via a mixed operation of two injection types, wherein a distribution ratio is made available as a function of an operating point, distributing a predefined total fuel quantity, which is to be made available for a combustion in a cylinder of the internal combustion engine, according to the distribution ratio to ascertain the first injection quantity specification and the second injection quantity specification, the first injection quantity specification and the second injection quantity specification being ascertained as a function of first and second adaptation values, respectively, wherein the first and second adaptive values are adapted by:
- adapting a first adaptation value for adapting a first injection quantity specification according to which the internal combustion engine is operated by a first injection type;
- and
- adapting a second adaptation value for adapting a second injection quantity specification according to which the internal combustion engine is operated by a second injection type;
- wherein the first adaptation value and the second adaptation value are each adapted in defined, not overlapping adaptation ranges as a function of the operating state, and at least one of the adaptation ranges including operating states in which fuel is supplied to the internal combustion engine via both the first injection type and the second injection type