The process of locating nodes is really a challenging problem in the field of wireless sensor networks. Wireless sensor network localization is commonly followed by the distance vector algorithm. All beacon nodes are currently using DV-Hop algorithms to locate the dumb node. On the other hand, the approximate distance from the dumb node to certain beacon nodes contains a significant error, resulting in a large finished dumb node localization problem. To improve localization error an efficient DV-Hop method on social learning class topper optimization for wireless sensor networks is implemented in this paper. The proposed algorithm reduces communication between unknown or dumb and beacon nodes by measuring the dimensions of all the beacons at dumb nodes. The network imbalance model is frequently used to show the applicability of the proposed approach in anisotropic networks. Simulations are performed on LabVIEW 2015 platform. The results show that our proposed method outperforms some existing algorithms in terms of computing time (2%), localization error (6.6%), and localization error variance (8.3%).