Under Italian rule (1918–1943, nominally lasted to 1947), the area that is now the Municipality of Idrija was a comune of the Province of Gorizia (as Idria), except during the period between 1924 and 1927, when the Province of Gorizia was abolished and annexed to the Province of Udine.