We report a detailed numerical investigation on transverse localization of light in a 1D disordered lattice consisting of a large array of coupled waveguides in the presence of nonlinearity in the medium. Our study reveals that the presence of a focusing type of nonlinearity favors faster localization of light while a defocusing type of nonlinearity degrades the quality of localization. It is shown that presence of either of these could over-shadow localization of light unless the strength of disorder is sufficiently strong. Influence of the input beam width on propagation of light in such a disordered nonlinear medium has also been discussed. The present study should be useful in potential applications, in which one could exploit dominance of focusing nonlinearity on transverse localization of light in a disordered medium. © 2012 Elsevier B.V. All rights reserved.