The order ran from 6pm yesterday to 2am this morning, covering an area that included Elson Recreation Ground and Elson Library.
The order, which was in response to reports of anti-social behaviour (ASB) in the area, had been authorised to help officers tackle the issues and keep local communities safe, according to a social media post from Gosport police.
It marks at least the fourth time so far this year that a dispersal order has been needed to tackle ASB in the borough.
Portsmouth Traffic: M27 between junctions 11 and 12 closed throughout August amid footbridge repairs with A27 diversion in place
Thunderstorms in Portsmouth yellow weather warning: The Met Office forecast for the next three days in city, Fareham, Gosport, Havant and Waterlooville and Hampshire
‘I watched ten years of my children’s lives go up in flames': 'Traumatised' Paulsgrove mum of five launches fundraiser to find family new home after they 'lost everything' in bedroom fire
Police update over alleged violent gang rape of woman at address in Portsmouth
Fareham pensioner couple 'devastated' after hapless driver mistakenly trashes garden after confusing address for another property
In January, police placed an order over Rowner, followed by similar measures being applied to Alver Village less than two weeks later in February.
Last month saw Gosport police disperse a 'large group' in Elson Recreation Ground after reports of underage drinking and criminal damage.
Dispersal orders gives officers the power to disperse people involved in ASB in a specified area and gives officers the power to seize anything used in the commission of ASB.
Anyone who witnesses any ASB should call us on 101, or report it online at orlo.uk/2P4tZ.
If a crime is in progress, always dial 999.