The invention relates to a method and a device for regulating the temperature in the interior of the stack of a fuel cell. Advantageously, a setpoint for a temperature characteristic value is determined on the basis of the current. The temperature characteristic value is determined from the measured temperature of the stack at the air inlet and at the air outlet and is regulated by means of the air quantity and/or temperature supplied to the stack.