This paper studied two-dimensional steady laminar flow over a porous medium stretching surface with suction or injection. The homotopy analysis method,a kind of analytical method,was applied to solve the problem. The solution presents representative profiles for the dimensionless velocity and the skin friction coefficient at different permeability and injection parameters.