Sgonico ( ; Triestine: ) is a comune (municipality) in the Province of Trieste in the Italian region Friuli-Venezia Giulia, located about 12 kilometers northwest of Trieste, on the border with Slovenia.