In this paper, a treatment for the solutions of variation iteration method (VIM) has applied. This Technique has used for initial boundary value problems (IBVP) in partial differential equations by using both initial and boundary conditions. The applied procedure can give a more accurate solution in few steps compared to the normal variation iteration method. Some numerical examples have tested to show the effectivity and the accuracy of VIM method.