An improved WKB equation for inhomogeneous planar waveguides considering both the first order reflections between layers and the real phase shift at a turning point has been developed by using the transfer matrix technique. The numerical comparison demonstrates the accuracy of our method. The improved WKB equation can also be applicable to the mode close to a turning point or a dramatic index variation waveguide.