An acyclic k-coloring of a graph G is a k-coloring of its vertices such that no cycle of G is bichromatic. G is called acyclically k-colorable if it admits an acyclic k-coloring. In this paper, we prove that the generalized Petersen graph P(n, k) is acyclically 3-colorable except P(4, 1) and the classical Petersen graph P(5, 2).