Barnsley Council's licensing board met last week to tackle the issue of parents consuming alcohol at Doncaster Road Primary School.
A unanimous decision was taken in support of the police application to introduce a prohibition order for the area around the school.
Staff became increasingly concerned as parents were inebriated not only when collecting their children but also when taking them to school in the morning.
Lisa Hutton, the school's family-support worker, wrote to police saying: "On many occasions I have had to ask parents not to bring alcohol on to the school premises - this has resulted in alcohol, being left on the roadside or on the school wall."
The ban now gives police the power to seize alcohol, and anyone caught drinking could be fined up to #163;500. GL.