When offered a choice between open water and a ‘vegetated’ area of an aquarium (artificial sea grass), mysid (
Paramesopodopsis rufa) swarms always selected open water. In contrast, juvenile and adult sea horses, Hippocampus abdominalis, which feed by ambush predation, always selected vegetated areas even when their mysid prey occurred in the adjacent clear water. Lunging predators, Australian salmon ( Arripis trutta), always preferred open water to vegetated regions of the tank. Increasing vegetation density, i.e. from low to medium habitat complexity had a positive effect on capture success of juvenile and adult sea horses feeding on mysid swarms. However, number of attacks by juvenile sea horses, but not adults, was significantly reduced in higher density vegetation. Number of attacks by Australian salmon decreased as vegetation density increased but capture success, nonetheless, increased. Density of vegetation did not significantly affect the number of unsuccessful attacks by adult sea horses. Whereas proportion of unsuccessful attacks increased with vegetation density for juvenile sea horses, it decreased for juvenile salmon. This result is thought to be due to the fact that high vegetation densities disrupt structure of the prey swarm, itself a defensive formation, leaving a large number of more vulnerable small groups. Cohesive escape responses of a large swarm are likely to be a more effective defence against a lunging predator than against an ambush predator whose strategy is to use stealth to avoid provoking escape responses. Dense vegetation will militate against this strategy.