IEEE 802.15.4a networks can provide the geographic routing solution with high location accuracy for the indoor environments. However, in the non-line-of-sight (NLOS) environments, the IEEE 802.15.4a networks may have a large scale location error and an unstable communication link. In this article, we propose a location estimation and dynamic link detection scheme for the geographic routing in the NLOS environments. The proposed approach corrects the large scale location error and detects the NLOS link in the geographic routing procedure. Simulation and experimental results show that the proposed approach can enhance the performance of the geographic routing.