We present a model of a tunable distributed Bragg reflector (DBR) laser describing the effect of cavity losses on the gain voltage. Theoretical and experimental results are in good agreement. Measurements show the gain voltage trace for Bragg grating and phase section tuning. The model is also valid for lasers with optical feedback from an external reflection.