Based on a comprehensive analysis of the existing methods for measuring adjacent well distances, along with their advantages and disadvantages, this study employs theoretical analysis, simulation experiments, and other comprehensive research methods to investigate a distance measurement method based on current excitation. In response to the need for measuring and controlling the connection of relief wells, a method utilizing dual-electrode current excitation during drilling is proposed. This approach facilitates synchronous excitation measurements while drilling, significantly reducing both time and costs while ensuring safety and efficiency, making it particularly suitable for the connection operation of relief wells that involve safety risks. Firstly, this paper establishes a drilling with measurement model corresponding to the excitation mode, which derives the calculation formulas for the target casing current amplitude attenuation, as well as the induced magnetic field distribution within the formation. Additionally, it provides the calculation methods for determining the target well distance and azimuth direction. Lastly, the impact levels of various key factors are verified through numerical calculations and simulation analyses, which confirm the correctness and effectiveness of this distance measurement method. The findings from this research establish both a core theoretical foundation and a technological basis for the real-time measurement of adjacent well distances during relief well operations.