The effects of homogeneous–heterogeneous reactions on the steady viscoelastic fluid toward a stretching sheet are numerically investigated in this paper. The model developed by Chaudhary and Merkin for homogeneous–heterogeneous reactions in stagnation-point boundary-layer flow with equal diffusivities for reactant and autocatalyst is used for present stretching sheet problem in a viscoelastic fluid. The basic boundary layer partial differential equations of motion and concentration are reduced to ordinary differential (similarity) equations, which then are numerically solved using an implicit finite difference method in the case when the diffusion coefficients of both reactant and autocatalyst are equal. It is found that the concentration at the surface decreases with an increase in the viscoelastic parameter and strengths of the homogeneous, while heterogeneous reactions increase.