Nuclear magnetic resonance gyroscope (NMRG) detects the angular velocity of the vehicle utilizing the interaction between the laser beam and the alkali metal atoms along with the noble gas atoms in the alkali vapor cell. In order to reach high precision inertial measurement target, semiconductor laser in NMRG should have good intensity and frequency stability. Generally, laser intensity and frequency are stabilized separately. In this paper, a new method to stabilize laser intensity and frequency simultaneously with double-loop feedback control is presented. Laser intensity is stabilized to the setpoint value by feedback control of laser diode’s temperature. Laser frequency is stabilized to the Doppler absorption peak by feedback control of laser diode’s current. The feedback control of current is a quick loop, hence the laser frequency stabilize quickly. The feedback control of temperature is a slow loop, hence the laser intensity stabilize slowly. With the feedback control of current and temperature, the laser intensity and frequency are stabilized finally. Additionally, the dependence of laser intensity and frequency on laser diode’s current and temperature are analyzed, which contributes to choose suitable operating range for the laser diode. The advantage of our method is that the alkali vapor cell used for stabilizing laser frequency is the same one as the cell used for NMRG to operate, which helps to miniaturize the size of NMRG prototype. In an 8-hour continuous measurement, the long-term stability of laser intensity and frequency increased by two orders of magnitude and one order of magnitude respectively.