Electric rail

Electric Fences are barriers of electrical energy that appear in the Mario series.

Mario Football series
In Mario Smash Football and Mario Strikers Charged Football, Electric Fences appear around all of the soccer fields. If players run into the fence, they will be shocked temporarily. The fence cannot be seen; it is transparent until players run into it.

''Super Mario Galaxy
Electric Fences appear in Super Mario Galaxy in the Battlerock Galaxy and Bubble Blast Galaxy, where they occasionally move horizontally throughout the galaxy and shock Mario and Luigi if contact is made.

''New Super Mario Bros. Wii
Electric Fences make one appearance in New Super Mario Bros. Wii. They appear in the second airship battle against Bowser Jr.. The player must knock Bowser Jr. into the fence three times in order to win. However, if Mario is pushed into the fence, he will lose his transformation until he is Small Mario. When hit in this form, he is defeated.

''Super Mario Galaxy 2
In Super Mario Galaxy 2, Electric Fences appear in the Flip-Swap Galaxy. They retain their function and effect from the previous game.