In this paper, He's variational iteration method (VIM) is applied to nonlinear oscillators with discontinuities. We illustrate that the VIM is very effective and convenient and does not require linearization or small perturbation. Contrary to the conventional methods, in VIM, only one iteration leads to high accuracy of the solutions. Moreover, we show that the obtained approximate solutions are valid for the whole solution domain and the approximations are uniformly valid not only for small parameters, but also for very large parameters. (c) 2007 Elsevier Ltd. All rights reserved.