This paper studies the portfolio optimization problem for an investor who seeks to maximize the expected utility of the terminal wealth in a DC pension plan. We focus on a constant elasticity of variance (CEV) model to describe the stock price dynamics, which is an extension of geometric Brownian motion. By applying stochastic optimal control, power transform and variable change technique, we derive the explicit solutions for the CRRA and CARA utility functions, respectively. Each solution consists of a moving Merton strategy and a correction factor. The moving Merton strategy is similar to the result of Devolder et al. [Devolder, P., Bosch, P.M., Dominguez F.I., 2003. Stochastic optimal control of armunity contracts. Insurance: Math. Econom. 33, 227-238], whereas it has an updated instantaneous volatility at the current The correction factor denotes a supplement term to hedge the volatility risk. In order to have time. a better understanding of the impact of the correction factor on the optimal strategy, we analyze the property of the correction factor. Finally, we present a numerical simulation to illustrate the properties and sensitivities of the correction factor and the optimal strategy. (C) 2009 Elsevier B.V. All rights reserved.