The effect of an n-type AlGaN layer on the physical properties of dual-wavelength light-emitting diode (LED) is investigated numerically. The simulation results show that compared with the conventional p-type AlGaN electron-blocking layer (EBL), the n-type AlGaN layer can improve the distribution of electrons and holes more uniformly and realize the radiation balance between electrons and holes in the quantum wells, and further reduce the efficiency dro of dual-blue wavelength LED at high current. In addition, the spontaneous emission rate of two kinds of quantum wells can be adjusted through the control of Al composition. It can be found from the results that the emission spectrum of dual-blue wavelength LED is more stable at low current with an Al composition of 0.16, while the emission spectrum is more stable at high current with an Al composition of 0.12.