Fish acquire information about their aquatic environment by means of their mechanosensory lateral-line system. This system consists of superficial and canal neuromasts that sense perturbations in the water surrounding them. Based on a hydrodynamic model presented here, we propose a mechanism through which fish can localize the source of these perturbations.