Emergency services were called to Muirhouse play park off Craigroyston Grove at 2.25pm on Saturday after receiving reports of a child stuck in a swing.
Two firefighters attended the scene and freed a 16-year-old girl using specialist tools including cutters and spreaders.
An ambulance was called after the girl complained of pains in her leg.
She was examined and after no injuries were identified, she was released and returned home.
A spokesperson for the fire service said: “We received reports on 2.25pm on Saturday of a child stuck in a swing in Muirhouse park.
"Officers attended the scene quickly and released the girl using electric hydraulic tools.
"An ambulance was requested after the girl complained of pains in her leg. Following an assessment by emergency services no injuries were found. The girl left accompanied by a known adult.”