An anti-insect barrier (1, 21, 31) for protecting an element (2, 22, 32), in particular a structure or a trunk or branch of a tree (22, 32) or shrub, wherein the barrier (1, 21, 31) comprises: a power supply (7, 27), a control system (8, 28), an elongated strip (23, 33) made of an electrically insulating material, wherein the strip (23, 33) comprises a first surface configured to be placed against an outer surface of the element (2, 22, 32), and a second surface (4, 24, 34) on a side of the strip (23, 33) opposite to the first surface, a first electrical conductor (5, 251, 351) and a second electrical conductor (6, 252, 352), wherein said first electrical conductor (5, 251, 351) and said second electrical conductor (6, 252, 352) arranged on the second surface (4, 24, 34) of the strip (23, 33), are spaced apart and extending along a longitudinal direction of said strip (23, 33), wherein a distance (d) between the first and second electrical conductor (5, 6, 251, 252, 351, 352) is configured so that an insect that attempts to traverse said anti-insect barrier (1, 21, 31) interconnects the first and second electrical conductor (5, 6, 251, 252, 351, 352), and wherein the first electrical conductor (5, 251, 351) and the second electrical conductor (6, 252, 352) are each connected to the power supply (7, 27) via the control system (8, 28), wherein the control system (8, 28) is configured for temporarily applying a voltage difference between the first and the second electrical conductor (5, 6, 251, 252, 351, 352), characterized in that the first electrical conductor (5, 251, 351) and the second electrical conductor (6, 252, 352) at least partially comprise elastic conductors. a power supply (7, 27), a control system (8, 28), an elongated strip (23, 33) made of an electrically insulating material, wherein the strip (23, 33) comprises a first surface configured to be placed against an outer surface of the element (2, 22, 32), and a second surface (4, 24, 34) on a side of the strip (23, 33) opposite to the first surface, a first electrical conductor (5, 251, 351) and a second electrical conductor (6, 252, 352), wherein said first electrical conductor (5, 251, 351) and said second electrical conductor (6, 252, 352) arranged on the second surface (4, 24, 34) of the strip (23, 33), are spaced apart and extending along a longitudinal direction of said strip (23, 33), wherein a distance (d) between the first and second electrical conductor (5, 6, 251, 252, 351, 352) is configured so that an insect that attempts to traverse said anti-insect barrier (1, 21, 31) interconnects the first and second electrical conductor (5, 6, 251, 252, 351, 352), and wherein the first electrical conductor (5, 251, 351) and the second electrical conductor (6, 252, 352) are each connected to the power supply (7, 27) via the control system (8, 28), wherein the control system (8, 28) is configured for temporarily applying a voltage difference between the first and the second electrical conductor (5, 6, 251, 252, 351, 352), characterized in that the first electrical conductor (5, 251, 351) and the second electrical conductor (6, 252, 352) at least partially comprise elastic conductors.