Shocking footage has captured the moment a child teetered along the monorail track at Pennsylvania's Hersheypark as panicked adults rushed to save him.

Amusement park officials told the Daily Mail that the young boy was reported missing around 5pm on Saturday after becoming separated from his parents.

As security searched for the boy, he entered the secured area for the monorail ride, which was closed at the time, according to a Hersheypark spokesperson.

'The ride was closed and safeguarded by a chained closure at the entrance and barricaded turnstile at the platform,' the spokesperson said.

'The child remained at the closed station for about 20 minutes before briefly walking along the track.'