The method of the drill hole measurement in oil pipes was explored and the basic principle of the drill hole measurement with magnetic-flux was introduced.In the laboratory,we simulated the measurement of the drill hole in oil pipes and gave the result.Our experiments show it is feasible to measure the drill hole in oil pipes with magnetic-flux.