We discretize the nonlinear Schrödinger equation,with Dirichlet boundary conditions, by a linearlyimplicit two-step finite element method which conserves the L 2 norm. We prove optimal order a priori error estimates in the L 2 and H 1 norms, under mild mesh conditions for two and three space dimensions.