It is essential to measure in bore holes for some applications. In doing so, the depth or the wall structure of a bore hole can usually be measured. Only confocal axial or radial miniature sensors with 4 mm external diameter are suitable for this. Triangulation sensors would not provide any measurement results due to the shadowing of the laser in bore holes. The target material is not important for confocal sensors.