Moray eel burrows are typically found in coral reefs or rocky coastlines. The burrow is a hole in the sand or rock, usually with a small opening that is just big enough for the moray eel's head. Moray eels use their burrows as a shelter to hide from predators and to wait for prey. They can also use their burrows to store food.
When a moray eel sees a potential prey item, it will quickly swim out of its burrow and attack. Moray eels are not typically aggressive towards humans, but they can be dangerous if they are provoked.