A hydraulic controller comprising: a hydraulic drive circuit driven by a variable speed motor and including a hydraulic pump (21, 25) configured to discharge pressure oil in an amount corresponding to a rotational frequency of the variable speed motor, the hydraulic drive circuit supplying to and receiving from a hydraulic actuator the pressure oil discharged from the hydraulic pump to drive the hydraulic actuator; a hydraulic pressure storage circuit including an accumulator and configured to store the pressure oil in the accumulator and to supply the pressure oil stored in the accumulator to the hydraulic actuator in a predetermined case; a flow rate control mechanism (36, 364, 365) including an inlet port, a first outlet port, and a second outlet port, the flow rate control mechanism being configured such that the inlet port is connected to a first main oil passage through which the pressure oil discharged from the hydraulic pump of the hydraulic drive circuit flows, the first outlet port is connected to an oil passage leading to the accumulator of the hydraulic pressure storage circuit; characterized in that: the second outlet port is connected to a second main oil passage through which the pressure oil is supplied to the hydraulic actuator of the hydraulic drive circuit; and of the pressure oil that flows into the inlet port, the pressure oil at a flow rate for storing of pressure in the accumulator, which is a preset flow rate, flows out of the first outlet port, and the pressure oil at a surplus flow rate, which is a flow rate obtained by subtracting the flow rate for storing of pressure from the flow rate of the pressure oil flowing into the inlet port, flows out of the second outlet port; and a communication allowing/blocking device disposed between the first main oil passage and the second main oil passage and configured to alternatively allow or block communication between the first main oil passage and the second main oil passage. a hydraulic drive circuit driven by a variable speed motor and including a hydraulic pump (21, 25) configured to discharge pressure oil in an amount corresponding to a rotational frequency of the variable speed motor, the hydraulic drive circuit supplying to and receiving from a hydraulic actuator the pressure oil discharged from the hydraulic pump to drive the hydraulic actuator; a hydraulic pressure storage circuit including an accumulator and configured to store the pressure oil in the accumulator and to supply the pressure oil stored in the accumulator to the hydraulic actuator in a predetermined case; a flow rate control mechanism (36, 364, 365) including an inlet port, a first outlet port, and a second outlet port, the flow rate control mechanism being configured such that the inlet port is connected to a first main oil passage through which the pressure oil discharged from the hydraulic pump of the hydraulic drive circuit flows, the first outlet port is connected to an oil passage leading to the accumulator of the hydraulic pressure storage circuit; characterized in that: the second outlet port is connected to a second main oil passage through which the pressure oil is supplied to the hydraulic actuator of the hydraulic drive circuit; and of the pressure oil that flows into the inlet port, the pressure oil at a flow rate for storing of pressure in the accumulator, which is a preset flow rate, flows out of the first outlet port, and the pressure oil at a surplus flow rate, which is a flow rate obtained by subtracting the flow rate for storing of pressure from the flow rate of the pressure oil flowing into the inlet port, flows out of the second outlet port; and a communication allowing/blocking device disposed between the first main oil passage and the second main oil passage and configured to alternatively allow or block communication between the first main oil passage and the second main oil passage. the second outlet port is connected to a second main oil passage through which the pressure oil is supplied to the hydraulic actuator of the hydraulic drive circuit; and of the pressure oil that flows into the inlet port, the pressure oil at a flow rate for storing of pressure in the accumulator, which is a preset flow rate, flows out of the first outlet port, and the pressure oil at a surplus flow rate, which is a flow rate obtained by subtracting the flow rate for storing of pressure from the flow rate of the pressure oil flowing into the inlet port, flows out of the second outlet port; and a communication allowing/blocking device disposed between the first main oil passage and the second main oil passage and configured to alternatively allow or block communication between the first main oil passage and the second main oil passage.