A Perth youngster is attracting attention on social media for all the wrong reasons, after her head became stuck between two poles at Mandurah Train Station.

The Department of Fire and Emergency Services said a Triple-0 caller reported the embarrassing incident shortly after 2pm on Tuesday.

Firefighters used hand tools to free the child. Credit:Facebook

A spokeswoman from the department said a crew from Mandurah Fire Station were sent in to assist.

"Firefighters used hand tools to free the child and by 2.25pm the crew reported the child had been released," she said.