Megalosaurids have been suggested to be predators or scavengers inhabiting coastal environments. Middle Jurassic-era tracks believed to have left by megalosaurids have been found at Vale de Meios in Portugal. During the middle Jurassic, this site would have been a tidal flat exposed at low tide on the edge of a lagoon. Unlike most coastal tracks, which are parallel to the coastline and probably left by migrating animals, the Vale de Meios tracks were perpendicular to the coast, with the vast majority oriented towards the lagoon. This indicates that the megalosaurids which would have left these tracks approached the tidal flat once the tide retreated.
