Uninvited guests have been banned from tower blocks in Leeds.
The three month order at Clayton Court and Clayton Grange on the West Park estate is part of a drugs and anti-social behaviour crackdown, police said.
It follows complaints by Fillingfir Drive residents about groups using and selling drugs, mainly cannabis, causing trouble and being abusive.
Non-residents can face arrest and prosecution if they enter common areas.
Police said drugs dogs are also being regularly deployed.
Drugs sweeps are also being carried out at Queenswood Heights and Queenswood Court.
Ch Insp Jackie Marsh of West Yorkshire Police said the partial closure was granted in a partnership between the council and police.
"The closure order at the Claytons is a very welcome additional tool which means anyone who thinks they can get away with using the blocks as a place to hang out and take drugs will be liable to face arrest and prosecution," she said.