A digital box-car, designed to work with sources producing signals composed of single pulses or series of pulses, is described. Thanks to its modular design, the system can be employed as a single-photon counting or as a coincidence unit in many experimental situations. The box-car is based on a digitally controlled delay line, producing a delay in the interval 17 ns–327.692 μs by 5 ns steps, a fast gate with an opening time adjustable in the range 10 ns–20.0 μs, and an 8-bit binary counter operating at a maximum frequency of 250 MHz. It also employs two pulse amplifiers, accepting negative pulses with a duration larger than 2 ns and an amplitude in the range 30–500 mV, and a fan-out unit. Applications to fluorescence and ion detection in experiments involving pulsed laser sources are briefly discussed.