Police have been given special powers to move on youths hanging around two blocks of council flats in Cheltenham after complaints of rowdiness.
The dispersal order allow officers to break up groups of people gathering at Scott House and Edward Wilson House in Princess Elizabeth Way.
Nearly 60 incidents of anti-social behaviour were recorded in the area in the last six months, police said.
Anyone who refuses to leave the area faces arrest.
The order was obtained by the Hesters Way Safer Community Team and Cheltenham Borough Homes.
"It also prohibits under-16s from wandering the streets between 9pm and 6am, unless they are accompanied by a responsible adult," said a Gloucestershire Police spokeswoman.
"Those found doing so are escorted home or to a place of safety.
"It is intended to address anti-social behaviour in both of these locations, which have seen a significant number of reports of the offence over the last six months."