Talk about not using your head. A Chinese boy caused plenty of headaches after getting his noggin stuck in a stone guardrail.

The boy was visiting a government building in Hezhang County with his grandmother Sunday when he decided to stick his head between the columns and soon realized he couldn't get it out, ITV News reported.

A team of firefighters had to use hydraulic pliers to widen the gap in the stone balustrade and free him, according to The Independent.

The boy was unhurt and was tearfully reunited with his grandmother standing nearby.

Watch video of the rescue here