Gosport (/ˈɡɒspɔːrt/ GOS-port) is a town and non-metropolitan district with borough status in Hampshire, England. At the 2021 Census, the town had a population of 70,131 and the district had a population of 81,952. Gosport is situated on a peninsula on the western side of Portsmouth Harbour, opposite the city of Portsmouth, to which it is linked by the Gosport Ferry.
Until the last quarter of the 20th century, Gosport was a major naval town associated with the defence and supply infrastructure of His Majesty's Naval Base (HMNB) Portsmouth. As such over the years extensive fortifications were created. Gosport is still home to HMS Sultan and a Naval Armament Supply Facility, as well as a helicopter repair base.