The giant moray is carnivorous and nocturnal, hunting its prey within the reef. It is known to engage in cooperative hunting with the roving coral grouper ("Plectropomus pessuliferus"). These two fish species are complementary hunters: While the eel hunts in the reef, it may scare prey up and out of the reef, leaving them to be eaten by the grouper. Similarly, the grouper hunting above the reef may cause prey to attempt to seek refuge in the reef, where the moray may ambush them.