Spike Trap

Spike Traps (or simply Spikes, sometimes Spiked Platform or Spiked Floor ) are harmful obstacles that appear in nearly all Mario games. Spike Traps can be stationary, retractable, or attached to a moving object. They are first introduced in Super Mario Bros. 2. They function similar to the Icicles from Mario Bros., however, Spike Traps function differently when they fall.

Super Mario series
Spikes are very common throughout the Super Mario series. When touched, they cause the player to lose their current power-up and, if the player is Small Mario, they will lose a life. Players can safely traverse across spikes when invincible without any consequences.

In Super Mario Bros. 2, in a few levels, the player has to ride an Autobomb in order to cross some spike traps.

In Super Mario Bros. 3, if Mario or Luigi wear a Goomba's Shoe, they can easily hop across spikes but are still hurt by them touching them from the side and from below.

In Super Mario World, Yoshi can safely walk on spike traps due to the boots Yoshi wears. This game also introduces the Falling Spike.

In Super Mario Galaxy and Super Mario Galaxy 2, Mario and Luigi run uncontrollably when coming into contact with a spike trap.

In Super Mario 3D Land, Spike Bars make their first appearance, they are similar to Fire Bars. Retractable spikes on the floor make their appearance as well.

In Super Mario Odyssey, the Spike Traps reappear, where they can be found in Bowser's Kingdom.

Yoshi series
Yoshi's Story features living, jumping Spikes in Bone Dragon Pit and Magma Castle.

In other games, spikes are fatal, as simply touching them causes a Yoshi to lose a life. A more common rough object, a thorn, also appears in the Yoshi's Island series.

Super Mario Maker
In Super Mario Maker and its 3DS port, Spike Traps are classified as block objects. Depending on the game style and theme, Spike Traps can change appearance, most notably in the Super Mario Bros. 3 and Super Mario World game styles, where in the underwater theme, the Spike Trap changes into a Jelectro and an Urchin respectively. Additionally, shaking a Spike Trap in the New Super Mario Bros. U ground theme makes a train sound.

Paper Mario: Color Splash
Spikes appear in Paper Mario: Color Splash. Spike pits appear in levels such as Mustard Café, The Golden Coliseum, and Fortune Island. 8-bit spikes appear in Green Energy Plant. In Kiwano Temple, there are many spikes that resemble Spiny Shells. Some must be crossed by rolling platforms, and others must be flipped over with a POW Block.

Super Mario Run
Spike Traps reappear in Super Mario Run, making their first appearance in the level Shell Me the Way! when collecting the Black Coins. They have the same appearance as the Spike Traps in the New Super Mario Bros. U style of Super Mario Maker.