The invention discloses a device and method for controlling the temperature inside an automobile. The device comprises an automobile air conditioner, an engine ECU, a central processing unit, a storage unit, a wireless communication module, a first temperature sensor arranged outside the automobile and a second temperature sensor arranged inside the automobile, wherein the central processing unit is electrically connected with the storage unit, the wireless communication module, the first temperature sensor, the second temperature sensor, the automobile air conditioner and the engine ECU. By means of the device and method for controlling the temperature inside the automobile, the temperature outside the automobile, the temperature inside the automobile, the target temperature which is set by a user and needs to be reached inside the automobile, and the time when the user enters the automobile can be analyzed, and the optimal tuning-on time of the automobile air conditioner can be determined, so that the temperature inside the automobile just reaches the target temperature when the user enters the automobile, and fuel oil is saved.