In this work, we study the inverse problem of finding the initial condition for one-dimensional Burgers' equation from the interior observation. Using the variational method, the inverse problem is reformulated as a optimal control problem. The necessary optimality condition will be calculated. We also use the conjugate gradient method to find the minimum of objective functional.