an oil cooled compressor including a compressor member driven by a motor , an oil tank receiving oil therein and removing oil from the gas discharging out of the compressor member , an oil supplying device for supplying the oil in the oil tank into the compressor member , and a pressure responsive control device for controlling the operation of the compressor member . there are provided a first temperature detector detecting the temperature of the oil , a second temperature detector detecting the temperature of the gas , and a temperature responsive control device restricting the function of the pressure responsive control device in response to the temperatures detected by the first and second temperature detectors .