The purpose of this paper is to study the effect of heat transfer and flow of non-Newtonian power-law fluids towards a stretching sheet in the appearance of transverse magnetic field with slip boundary conditions. Suitable similarity transformations are used to change the non-linear partial differential equations to ordinary differential equations. For the numerical solution Maple software by applying built-in command dsolve with numeric is utilized. It is noticed from the obtained results that an increase in the magnetic parameter results in a decrease in the dimensionless velocity profile and in the stream function while the temperature profile increases for the Newtonian, dilatant, and pseudo-plastic fluids. Increasing the velocity slip parameter, a reducing behavior can be seen in the stream function and in the velocity profile while temperature profile is enhancing. Moreover, with increasing thermal slip, a decrease occurs in the dimensionless temperature. The variations in the velocity and temperature profiles under dimensionless parameters are significant for n = 0.8 (pseudo-plastic fluid) rather than for n = 1 (Newtonian fluid) and n = 1.02 (dilatant fluid).