An analysis of MHD flow and mass transfer of an upper-convected Maxwell fluid with homogeneousheterogeneous first-order chemical reactions is presented. The flow is driven by a stretching surface and homogeneous-heterogeneous reactions. The governing nonlinear partial differential equations are first cast into ordinary nonlinear differential equations. Then analytical solutions are obtained in series form by the homotopy analysis method (HAM). The obtained results are compared with the existing results in the literature for some special cases and the obtained results are found to be in good agreement. The physical significance of different parameters on the velocity and the concentration fields are presented graphically and discussed. Also, the residual errors of the solutions for several sets of the parameters are obtained and presented.