Method for operating an oil circuit, in particular for a vehicle, wherein an internal combustion engine is supplied with oil by means of the oil circuit , wherein the oil circuit comprises at least one oil cooler , by means of which the oil flowing through the oil circuit is cooled, and wherein at least one temperature sensor is provided, by means of which the temperature of the oil flowing through the oil circuit is measured, wherein the temperature sensor is connected for signalling purposes to a regulating and/or control device , by means of which the temperature of the oil flowing through the oil circuit is controlled and/or regulated, such that the temperature measured by means of the temperature sensor has a defined target temperature value (T Soll ), wherein the target temperature value (T Soll ) is set and/or adjusted by means of the regulating and/or control device as a function of the drive power (P A ), in particular as a function of the drive torque and/or as a function of the drive revolution rate, of the internal combustion engine , wherein the temperature of the oil flowing through the oil circuit is measured by means of the temperature sensor downstream of the oil cooler and upstream of the internal combustion engine when looking in the direction of flow of the oil, characterized in that the regulating and/or control device is connected for signalling purposes to a prediction device , by means of which the expected drive power (P A ), in particular the expected drive torque and/or the expected drive revolution rate, of the internal combustion engine in a segment of the route ahead of a vehicle comprising the internal combustion engine can be determined, wherein chronologically prior to reaching the segment of the route ahead the target temperature value (T Soll ) is set and/or adjusted by means of the regulating and/or control device as a function of the expected drive power (P A ) of the internal combustion engine that is determined by means of the prediction device . wherein the temperature sensor is connected for signalling purposes to a regulating and/or control device , by means of which the temperature of the oil flowing through the oil circuit is controlled and/or regulated, such that the temperature measured by means of the temperature sensor has a defined target temperature value (T Soll ), wherein the target temperature value (T Soll ) is set and/or adjusted by means of the regulating and/or control device as a function of the drive power (P A ), in particular as a function of the drive torque and/or as a function of the drive revolution rate, of the internal combustion engine , wherein the temperature of the oil flowing through the oil circuit is measured by means of the temperature sensor downstream of the oil cooler and upstream of the internal combustion engine when looking in the direction of flow of the oil, characterized in that the regulating and/or control device is connected for signalling purposes to a prediction device , by means of which the expected drive power (P A ), in particular the expected drive torque and/or the expected drive revolution rate, of the internal combustion engine in a segment of the route ahead of a vehicle comprising the internal combustion engine can be determined, wherein chronologically prior to reaching the segment of the route ahead the target temperature value (T Soll ) is set and/or adjusted by means of the regulating and/or control device as a function of the expected drive power (P A ) of the internal combustion engine that is determined by means of the prediction device . <EOS>