A teenage girl has died from a shark attack while surfing in western Australia.

Police said the 17-year-old was in the water with her father near the town of Esperance when she was attacked on Monday afternoon.

She was pulled unconscious from the water with serious leg injuries, according to a report from Australian channel 9News.

It said her mother had been watching from the shore and called emergency services.

The girl was taken in critical condition to Esperance Hospital, where she died.