Sea snakes prefer to inhabit shallow waters around continental shelves and islands, and are rare in open waters deeper than 100 meters. Some of them prefer to stay in mixed water on sandy or muddy bottoms, while others prefer to operate in clear water around coral reefs. Sea snakes dive at different depths, some deeper, some shallower. Sea snakes have been seen at depths of 40 to 50 meters. Shallow-water sea snakes generally dive for no more than 30 minutes, stay on the surface of the time is also very short, each time just to show their heads, and soon inhale a breath on the submerged again. Deep-water sea snakes stay at the surface longer, especially in the evening and at night. They can dive for up to two to three hours. Sea snakes are clustered and often drift together in groups of thousands, making them easy to catch. Also has a tendency to light, night with light trapping harvest more. Sea snakes have the habit of walking and clustering, and often thousands of them gather together to drift downstream. So the birth of the sea snake mating is extremely spectacular, whenever the breeding season, there are often groups of female and male sea snakes gathered together, sometimes the number can be as many as millions, chasing each other, with the waves constantly moving forward, the team can sometimes stretch for several kilometers long. When they gather in a harbor, even ships can find it difficult to navigate normally. According to reports, in the Straits of Malacca, there was a time when the sea snakes gathered together, shot into a meter wide and 60 nautical miles long, "a" long snake formation, well organized, vast, its scene is very spectacular.
,