A five-year-old boy in Japan has died while on a ski holiday with his family after his arm caught on a travelator.

On Sunday morning Hinata Goto was about to step off the travelator at a Hokkaido resort's ski slopes when he fell down and his right arm became trapped in the machinery, Japanese media reported citing police.

The travelator was equipped with a safety mechanism, but it failed to activate. The machine only halted when the boy's mother hit the emergency stop button.

Rescue workers spent 40 minutes dismantling part of the travelator to free the boy, who by then had fallen unconscious. He was later pronounced dead at the hospital.

Staff at the Asarigawa Onsen Ski Resort in Otaru said that the travelator's safety mechanism, which was designed to immediately halt operations if it detected that an object was trapped in the machinery, had worked earlier in the day.