An electrically driven pump, comprising a first housing, a second housing, an impeller, a rear housing, a shaft, a motor assembly and an electronic control unit, wherein the electrically driven pump comprises a first receiving chamber and an impeller chamber, the impeller or at least most part of the impeller is arranged in the impeller chamber, and the impeller chamber comprises a space between the first housing and the second housing; the motor assembly is arranged in the first receiving chamber, and the first receiving chamber comprises a space between the second housing and the rear housing; the motor assembly comprises a stator and a rotor, and the rotor is configured to drive the impeller to rotate; wherein the electrically driven pump further comprises a partition, and the partition separates the first receiving chamber into a stator chamber and a rotor chamber, the rotor chamber is arranged to be closer to a center of the electrically driven pump than the stator chamber, and the stator chamber is not in communication with the impeller chamber, the rotor chamber is in direct or indirect communication with the impeller chamber, and the stator is arranged in the stator chamber, and the rotor is arranged in the rotor chamber; the electronic control unit is configured to control an operation of the motor assembly, and the electronic control unit is electrically connected to the stator; the electrically driven pump further comprises a cooling passage, and the cooling passage is in communication with the impeller chamber, the cooling passage comprises a first open portion and a second open portion, and the first open portion and the second open portion are located at different positions in a radial direction of the impeller chamber, the cooling passage is in communication with the impeller chamber via the first open portion and the second open portion, the first open portion is arranged away from a center of the impeller chamber in the radial direction than the second open portion, and at least part of a wall of the cooling passage is in direct or indirect contact with the electronic control unit; wherein the cooling passage comprises a first passage, a second passage, and a third passage, the first passage is in communication with the impeller chamber via the first open portion, the second passage is in communication with the impeller chamber via the second open portion, the first passage is in communication with the second passage via the third passage, and at least part of a wall of the third passage is in direct or indirect contact with at least part of the electronic control unit; and wherein the second housing comprises a top portion and a side wall, an inner cavity of the second housing comprises a space enclosed by the top portion and the side wall, the second housing is provided with at least one protruding rib; characterized in that the at least one protruding rib is formed from the side wall to the inner cavity, a groove corresponding to the protruding rib is formed in an outer circumference of the stator, and the first passage comprises a passage formed in the protruding rib or a passage formed in the protruding rib and the side wall connected with the protruding rib.