An air compressor includes: a tank portion for reserving compressed air
used in a pneumatic tool; a compressed air generation portion for
generating compressed air and supplying the compressed air to the tank
portion; a drive portion including a motor for driving the compressed air
generation portion; a control circuit portion for controlling the drive
portion; and a pressure sensor for detecting pressure of the compressed
air reserved in the tank portion. The control circuit portion includes a
unit for controlling the rotational speed of the motor multistageously on
the basis of a detection signal output from the pressure sensor.