Acting on a complaint by the victim, the police nabbed the accused persons from several places, Superintendent of Police Manu Maharaj said.
The five persons had persuaded the girl to come with them at the premise of the sick Rohtas Cottage Industry where they allegedly traped her, he said.
The girl has been taken to a hospital for medical examination, Maharaj said.
The victim has given a statement before a magistrate under section 164 of the CRPC narrating that she was raped by the accused persons, the SP said.
Some liqour bottles and cigarette packets have been recovered from the site when the incident took place.