This manuscript considers the problem of MHD boundary layer flow and heat transfer of power – law fluid with variable fluid properties over a nonlinear stretching sheet in the presence of viscous dissipation and thermal radiation subject to a non-uniform transverse magnetic field and non-uniform heat generation. The governing boundary layer equations are transformed into a system of non-linear ordinary differential equations using suitable transformation which are solved numerically using fourth order Rung-Kutta integration scheme coupled with the shooting method. The effects of various parameters on the velocity, temperature, local skin-friction and the local Nusselt number are presented and discussed. We found that is as the radiation parameter R increases the temperature of a power-law fluid and the Nusselt number increase, while the viscosity parameter increasing leads to decreasing on the velocity of the fluid and local skin-friction.