An analysis is performed to study the effects of mass transfer and chemical reaction on laminar flow in a porous channel with moving or stationary walls. The governing equations are reduced to non-linear ordinary differential equations based on the physics of the flow. An analytical approach, namely, the homotopy analysis method (HAM) is applied in order to obtain the solutions of the ordinary differential equations. The convergence of the obtained series solutions is analyzed. The effects of various parameters on flow variables have been discussed. Comparisons of the HAM solutions with the numerical solutions using shooting method coupled with Runge-Kutta scheme are in excellent agreement. © 2013 Elsevier Ltd.