The present invention relates to a system and method for preventing animals from being hit by trains, including the location of signal units (3, 5, 14) in a sequence along a railway track (1). The system is adapted to detect a train (2) approaching the group of signal units (3, 5, 14) and to activate the units to emit light and/or sound signals in a sequence opposite the direction of the approaching train.