Two foxes that became trapped on an estuary sandbank in Dublin on Thursday are going viral on Twitter.

The Irish Coast Guard shared a "unique video" documenting how the nocturnal animals found themselves trapped on an estuary sandbank in Baldoyle, a common occurrence for human visitors at the location. 

"This video shows how quickly the situation can change and the ground around you disappear until nothing is left," the Howth Harbour Station of the Irish Coast Guard wrote on Twitter. 

The Coast Guard said the foxes eventually swam back to shore. 

The Coast Guard added that the incident has been occurring to a number of humans who have visited estuaries over the summer. 

They encouraged walkers to check tide times to avoid being trapped on sandbanks. 

"Before walking out on the sands, just search “tide times” from your phone to plan your turnaround time while the tide is still dropping," the Coast Guard said.