Source localization is an essential part of array signal processing including radar, sonar, seismology and oceanography applications. The performance of the presented source localization methods are degraded substantially in practical situations. One of the conditions which decreases the performance of these methods, is the coherent loss caused by the propagation of the wavefront through random nonhomogeneous media. In this paper, a near-field source localization algorithm including direction of arrival and range estimation is presented in nonhomogeneous media. Simulation results show the performance of the proposed algorithm which has a lower estimation error in source localization of near field sources.