The invention discloses an apparatus for feeding a liquid detergent, which comprises an electromagnetic water feeding valve, a liquid detergent tank, an electromagnetic metering valve, a water box, related pipelines and a sealing component. The electromagnetic water feeding valve is provided with a water inlet, a water outlet A and a water outlet B; the lower part of the liquid detergent tank is provided with a detergent outlet; the valve body of the electromagnetic metering valve is a valve body having a metering chamber and consisting of a valve body A and a valve body B, wherein the valve body is provided with a flow inlet A, a flow inlet B, a flow outlet and a discharge port, the discharge port is communicated with the metering chamber, a one-way valve is arranged in the flow inlet B,a sealing ball is arranged in the metering chamber, a moveable iron core is arranged in a conduit, the front part of the moveable iron core is connected with a piston cap, the rear part of the conduitis provided with a fixed iron core and a spring, and an electromagnetic coil is sleeved outside the conduit; and the water box is provided with a water inlet A, a water inlet B, a water inlet C, a water inlet D, a water inlet chamber and a water outlet chamber. The apparatus for feeding the liquid detergent is suitable for electric washing machines, such as electric washing machines and electricdishwashing driers.