The use of heating systems in nursery pigs is required to provide thermal comfort and welfare of animals within the facility. Most heat supply equipment used in swine electricity demand, whose cost is ever increasing. Thus, there is the need for adjustments to the heating systems used today, in order to facilitate the rational use of energy by industry. Thus, through the application of an electronic temperature control within the nurseries is possible to keep the welfare and the productive performance of the animal, more efficient use of electricity, compared to traditional control, such as example, the thermostat. The objective of this research had to compare two technologies for temperature control regarding the rational use of electricity, maintaining of thermal comfort and productive performance of the animals in the nursery phase. The treatments were: suspended electrical resistances controlled by a simple digital thermostat and suspended electrical resistances controlled by PID controller (proportional, integral and derivative). The treatments were analyzed regarding the electrical energy consumption (kWh), specific consumption (kWh.kg -¹), specific cost (R $.kg -1 ), maximum demand (kW), electrical efficiency, weight gain (kg), feed conversion, mortality rate (%), dry bulb temperature (° C), Temperature and Humidity Index (THI) and enthalpy (kJ.kg -¹ dry air). The resistive heating system with PID controller provided better comfort conditions compared to the system with thermostat. Furthermore, the heating system with PID controller showed higher weight gain and lower specific consumption and cost of electricity. The resistive heating system with PID controller was that better provided the conditions for thermal comfort of pigs, was the most efficient regarding the use of electrical energy and which provided better performance for the animals.