Nimis was founded by the ancient Romans, its name deriving from the Latin word Nemus. After the fall of the Western Roman Empire it housed a castrum, mentioned by Paul the Deacon in his Historia Langobardorum. During World War II, the town was burned by the SS, due to the presence of both Italian and Yugoslav partisan brigades in the area.