> Low-cost and compact single-photon counter based on a CMOS SPAD smart pixel < 1 Abstract-We present a single-photon counter based on a silicon Single-Photon Avalanche Diode (SPAD) fabricated in a 0.35 µm CMOS technology. The detector is monolithically integrated with a front-end circuit and a digital pulse output driver. External components are kept to a minimum and the resulting instrument is low-cost, low-power and compact, being housed into an industry-standard 1-inch aluminum optical mounting tube. It features a maximum power consumption of just 250 mW from an USB link. The embedded 50 µm diameter SPAD has high photon detection efficiency in the visible range (55 % at 420 nm), low noise (< 100 cps at room temperature), low timing jitter (< 100 ps full-width at half maximum), and very low afterpulsing probability (down to 1 % with 60 ns hold-off time). The high performance, compactness and low cost enable many unexplored applications in life sciences, personal health care, industrial quality check, quantum physics and others, where it is required to count single photons and to measure their arrival time.Index Terms -photodetector, single-photon avalanche diode, SPAD, photon counting, near-infrared detector.