Realization of electrically pumped laser diodes based on solution-processed semiconductors is a long-standing challenge. Metal halide perovskites have shown great potential toward this goal due to the excellent optoelectronic properties. Continuous-wave (CW) optically pumped lasing in a real electroluminescent device represents a key step to the current injection laser diode, but it has not been realized yet. This is mainly due to the challenge of incorporating a resonant cavity into an efficient light-emitting diode (LED)which can sustain intensive carrier injection. Here we report CW lasing in an efficient perovskite LED with an integrated distributed feedback resonator, which shows a low lasing threshold of 220W·cm−2at 110K.Importantly, the LED works well at a current density of 330A·cm−2, indicating the carrier injection rate already exceeds the threshold of optically-pumping. Our results suggest that electrically pumped perovskite laser diodes can be achieved once the Joule heating issue is overcome.