Analysis of an electrically conducting two-dimensional Maxwell fluid flowing through an inclined stretching sheet is considered in this work. Incorporating the viscous dissipation and Ohmic heating effects on the time-dependent optically dense fluid, and using the required similarity transformation variables, the equations governing the flow are deduced and converted into a coupled system of ordinary differential equations. Runge-Kutta fourth order scheme with shooting technique is applied to solve the derived equations. Plots and tables are employed to explain the flow parameters for fluid velocity, temperature, and concentration profiles as well as the skin friction, local Nusselt number, and local Sherwood number. Increase in the angle of inclination parameter, Hartmann number, Prandtl number and Schmidt number reduce the magnitude of the fluid velocity, while radiation parameter, Grashof and Eckert numbers increase it. However, fluid temperature is significantly moderated by Grashof and Prandtl numbers.