The problem of pulse shaping and sensitivity to timing errors in optical fibre data communication is considered. The performance of the overall transmission system is the average probability of error, which is computed for intersymbol interference, thermal noise, and shot noise in avalanche photodiodes. An analysis of the immunity to small sampling errors of various Nyquist pulses indicates useful design criteria. © 1979 Chapman and Hall Ltd.