Wireless sensor networks (WSNs) have broad application prospects in various industries, and node localization technology is the foundation of WSN applications. Recently, many range-free node localization algorithms have been proposed, but most of them suffer from low accuracy. In order to improve the localization accuracy, in this paper we proposed the node localization algorithm based on multi-hop distance vector and error correction(MDV-EC). In terms of distance estimation, firstly the MDV-EC algorithm calculates the neighbor distance according to node neighbor relationship, then estimates the distance between unknown node and anchor node in multi-hop manner, and finally calibrates the distance refer to distance correction coefficient. In view of similarity of localization errors of nodes in similar regions, an error correction scheme is also investigated, which corrects the node initial estimated locations of nodes refer to the localization error vector of nearby anchor node. Simulation results show that our proposed MDV-EC has better performance than the other two algorithms in terms of node localization accuracy, and the error correction scheme can effectively reduce the localization errors.