In this paper,we present finite element method for the generalized Rosenau equation.We prove the uniqueness and existence solutions of the fully discretization and derive related optimal error estimates.Finally,we give example to show our method is stable and efficient.