A method for improving the ranging performance for localization using orthogonal frequencydivision multiplexing-based communication system is proposed. The most difficult aspect of performing localization using the time-of-arrival information of a communication system is distinguishing indirect paths and noise from the direct path (DP), when the DP is blocked by obstacles. In this paper, the combination of interference cancellation and an enhanced path detector is proposed to remove interference from nearby paths and detect low-power DP. The proposed method is verified in 802.11ac environments, and it shows an improved performance compared with conventional methods.