A pinhole-type two-dimensional ultra-small-angle X-ray scattering set-up at a so-called medium-length beamline at SPring-8 is reported. A long sample-to-detector distance, 160.5 m, can be used at this beamline and a small-angle resolution of 0.25 µm−1was thereby achieved at an X-ray energy of 8 keV.