A 29-year-old man escaped injury after being attacked by a shark while surfing at Byron Bay on Sunday.

NBN News reported that Ben Vining got the shock of his life when a shark hit his board, knocking him off.

Ben told NBN that he saw a grey shape about seven foot (about 2m) underneath him while surfing at Tallow Beach.

The shark then attacked, biting the board near the tail.

Ben, from the Gold Coast, made it safely back to shore, but said he feared for his life.