For previous three-dimensional ghost imaging, the acquisition of absolute distance information is mainly based on the principle of time-of-flight, which usually needs lots of measurements and a large detection/modulation bandwidth product. Here we present a technique called three-dimensional ghost imaging via the Scheimpflug detection (3D-GISD), which exploits the principle of a similar binocular stereoscopic vision for distance information acquisition and can dramatically reduce the measurements required for high-quality 3D image reconstruction. The experimental results demonstrate that high-quality 3D-GISD can be still obtained even if the target exceeds the depth of field of Scheimpflug imaging system and less than 500 measurements are adopted for an image with 128×128 pixels. What’s more, the ranging accuracy of 0.2 mm can be achieved by 3D-GISD at about 1.1 m detection distance for a real scenario. Factors influencing the accuracy of distance measurement for 3D-GISD are also discussed.