Firefighters were called to St Paul's C of E Primary School, Union Road, Oswaldtwistle, after a pupil got her leg stuck sliding down a bannister.
The crew was called at 10.30am on Friday to free the girl after teachers' attempts to release her failed.
A fire spokesman said: "The girl got her leg stuck between the wall and the banister up to about her knee and we had to use a socket set to unbolt the banister and free her."
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article