A rock drilling rig which is used for drilling at drilling sites and transfer-driven between the drilling sites, the rock drilling rig comprising: a movable carrier; drive equipment for performing the transfer drive of the rock drilling rig; at least one boom (3a, 3b) movable in relation to the carrier; at least one rock drilling machine arranged on at least one boom (3a, 3b); and at least one control unit; characterized in that the drive equipment is a combustion-engine-free drive equipment, which drive equipment comprises at least one electric motor and at least one electric control device for affecting the transfer drive; the rock drilling rig comprises at least one energy storage, in which at least electric energy required for the transfer drive may be stored; and at least one liquid cooling system, to which at least one electric component affecting the transfer drive is connected; the control unit is arranged to control the cooling of the electric component connected to the liquid cooling system; the liquid cooling system comprises means for precooling it before the following transfer drive; the electric motor serves as a drive motor; there is a fixed mechanical power transmission connection between the electric drive motor and at least one traction wheel; the electric drive motor is arranged to serve as a generator in the braking during the transfer drive, producing electric energy to the electric system of the rock drilling rig; the electric system is provided with at least one electric brake resistor for converting surplus electric energy produced during braking into heat; and said brake resistor is connected to the liquid cooling system. a movable carrier; drive equipment for performing the transfer drive of the rock drilling rig; at least one boom (3a, 3b) movable in relation to the carrier; at least one rock drilling machine arranged on at least one boom (3a, 3b); and at least one control unit; characterized in that the drive equipment is a combustion-engine-free drive equipment, which drive equipment comprises at least one electric motor and at least one electric control device for affecting the transfer drive; the rock drilling rig comprises at least one energy storage, in which at least electric energy required for the transfer drive may be stored; and at least one liquid cooling system, to which at least one electric component affecting the transfer drive is connected; the control unit is arranged to control the cooling of the electric component connected to the liquid cooling system; the liquid cooling system comprises means for precooling it before the following transfer drive; the electric motor serves as a drive motor; there is a fixed mechanical power transmission connection between the electric drive motor and at least one traction wheel; the electric drive motor is arranged to serve as a generator in the braking during the transfer drive, producing electric energy to the electric system of the rock drilling rig; the electric system is provided with at least one electric brake resistor for converting surplus electric energy produced during braking into heat; and said brake resistor is connected to the liquid cooling system.