A new wideband optical modulation method is described for measurement of the intrinsic frequency response in semiconductor lasers. The measurement bandwidth is more than 40 GHz. The main feature of the method is the detection technique which uses a microwave detector and a lock-in amplifier. The 3 dB modulation bandwidth for a 1.5 mum strained multiquantum well laser measured by this method is 28 GHz.