The application of a two-dimensional photon-counting detector based on a micro-pixel gas chamber (micro-PIC) to high-resolution small-angle X-ray scattering (SAXS), and its performance, are reported. The micro-PIC is a micro-pattern gaseous detector fabricated by printed circuit board technology. This article describes the performance of the micro-PIC in SAXS experiments at SPring-8. A dynamic range of >10(5) was obtained for X-ray scattering from a polystyrene sphere solution. A maximum counting rate of up to 5 MHz was observed with good linearity and without saturation. For a diffraction pattern of collagen, weak peaks were observed in the high-angle region in one accumulation of photons.