Sgonico is a comune (municipality) in the Province of Trieste in the Italian region Friuli-Venezia Giulia, located about 12 kilometres (7 mi) northwest of Trieste, on the border with Slovenia. As of 31 December 2004, it had a population of 2,130 and an area of 31.3 square kilometres (12.1 sq mi). According to the 1971 census, 81.6% of the population are Slovenes.