We measured the two-color laser oscillation from a GaAs/AlGaAs-coupled multilayer cavity at 18 °C-42 °C using current injection. We confirmed simultaneous lasing by detecting the sum frequency generation signal generated by the two-color laser light, and performed time-resolved measurement using a streak camera with a spectrometer. From the observed time transient of the spectra at various temperatures, it is clarified that the temperature change of the device, induced by current injection, modulates the effective cavity length. Therefore, the temperature control of the device is a key factor in stable two-color lasing and THz wave generation.