This paper investigates the hydromagnetic boundary layer flow and heat transfer of a non-Newtonian Casson fluid in the neighborhood of a stagnation point over a stretching surface in the presence of velocity and thermal slips at the boundary. The governing partial differential equations are transformed into nonlinear ordinary differential equations using similarity transformations. The analytic solutions are developed by a homotopy analysis method (HAM). The results pertaining to the present study indicate that the flow and temperature fields are significantly influenced by Casson parameter ( ), the magnetic parameter , the velocity slip parameter , and the thermal slip parameter . An increase in the velocity slip parameter causes decrease in the flow velocity, while an increase in the value of the thermal slip parameter causes increase in the temperature of the fluid. It is also observed that the velocity at a point decreases with increase in .