Pest electrocution device, suitable to be mounted in a pipe (2) or conduit, wherein the electrocution device comprises a ramp (30) hingely attached to a chassis (10), which chassis has means to be fastened to said pipe or conduit, where said chassis further comprises a chassis arm (11), and a tunnel element (20), which tunnel element is pivotably fastened to said chassis arm, and where the tunnel element in a first position extends to an upper end of said ramp, such that a pest travelling up the ramp can enter the tunnel element at a first end, where activating means are provided inside the tunnel element, which activation means activate at least three electrodes (70, 71, 72) by supplying electrical current to said electrodes arranged as separate floor plates in the tunnel, such that after activation and a predetermined period of time, the tunnel element pivots the first end downwards into a second position, in which second position the electrocuted pest slides out of the tunnel element, after which the tunne