Spike Trap

Spike Traps (or Spikes, sometimes Spiked Blocks, 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 fall differently.

Super Mario series
Spike Traps are very common obstacles 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.

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

Super Mario Bros. 3
In Super Mario Bros. 3, if Mario or Luigi wear a Goomba's Shoe, they can easily hop across spikes but can still be hurt from touching them with their sides or head. In Super Mario Advance 4: Super Mario Bros. 3, the World-e level Castle Dash contains circular Spike Traps that resemble large Spiny Eggs that simply float in place. These also appear in the Orange Mushroom House mini-game alongside moving blue ones.

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

Super Mario Bros. Deluxe
In Super Mario Bros. Deluxe, Spike Traps appear during certain levels of the You vs. Boo mode. They can be changed to solid blocks with the use of the Face Blocks.

Super Mario Sunshine
In Super Mario Sunshine, they only appear in Corona Mountain. Coming into contact with them will usually cause Mario to lose a life.

Super Mario Galaxy / Super Mario Galaxy 2
In Super Mario Galaxy and Super Mario Galaxy 2, Mario or Luigi bounce into the air, lose health, and run uncontrollably after coming into contact with a spike trap, similarly to lava.

Super Mario 3D Land
In Super Mario 3D Land, Spike Bars make their first appearance. They operate similarly to Fire Bars. Retractable spikes on the floor make their appearance as well.

Super Mario 3D World
In Super Mario 3D World, the ground spike traps appear again in levels such as Hands-On Hall and Spiky Spike Bridge.

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 themes of both, the Spike Trap can change into a Jelectro and a Sea Urchin from The Legend of Zelda: Link's Awakening (which in turn is based on the Gordo from the Kirby series, and in this appearance acts more like one due to being invincible), respectively. Additionally, shaking a Spike Trap in the New Super Mario Bros. U ground theme makes a train sound.

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.

Super Mario Odyssey
In Super Mario Odyssey, the Spike Traps appear once again in their Super Mario 3D World design, where they can be found in Bowser's Kingdom. In one part, Mario must capture Jizo statues to safely move over them.

Super Mario Maker 2
Spike Traps reappear in Super Mario Maker 2. They use the same properties in the returning game styles. The Super Mario 3D World style instead features Spike Blocks.

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

Unlike other games, spikes are fatal, as simply touching them causes a Yoshi to lose a life. A more common sharp object, a thorn, also appears in the Yoshi's Island series. In the same series, falling into lava or spikes are the only ways Yoshi's death is shown on-screen (not counting when the baby is snatched away); the former shows him spinning and collapsing, while the latter shows him flying off-screen.

Mario vs. Donkey Kong series
Spikes are common indestructible obstacles throughout the Mario vs. Donkey Kong series. Like the other obstacles in the series, they can instantly take out the playable characters. However, enemies are able to stand or walk safely on spikes. In these games, spikes bob up and down slightly, although this is just aesthetic.

Mario vs. Donkey Kong
Spikes have a generic appearance in Mario vs. Donkey Kong. They cover pits and platforms, always pointing upward. In some levels, Mario can stand on enemies such as Shy Guys and RamRams and ride them across a bed of spikes to traverse it.

Mario vs. Donkey Kong 2: March of the Minis / Mario vs. Donkey Kong: Minis March Again!
Starting with Mario vs. Donkey Kong 2: March of the Minis, spikes have a red metallic base framing them. In this game and Mario vs. Donkey Kong: Minis March Again!, the sides of these spikes are harmless, but the Minis will attempt to jump over the spikes once they encounter a side and break themselves anyway.

Mario vs. Donkey Kong: Mini-Land Mayhem!
In Mario vs. Donkey Kong: Mini-Land Mayhem!, and in future 2D Mario vs. Donkey Kong games, spikes can also be seen covering walls and ceilings.

Mario and Donkey Kong: Minis on the Move
In Mario and Donkey Kong: Minis on the Move, some tiles consist of spike pits. When a Mini reaches the edge of one, it will tip there for a short time. If the player does not modify the Mini's path in time, the toy will fall onto the spikes and cause a Game Over.

Mario vs. Donkey Kong: Tipping Stars
In Mario vs. Donkey Kong: Tipping Stars, each row of spikes has two additional smaller spikes on its sides, destroying a Mini instantly upon coming into contact with them. The middle spikes also appear shorter now than in previous appearances.

Mini Mario & Friends: amiibo Challenge
Spikes retain the appearance from the previous title in Mini Mario & Friends: amiibo Challenge. Mini Bowser Jr.'s Spike Guard ability allows the toy to hover above spikes and cross them safely.

Paper Mario: The Thousand-Year Door
A Spike Trap appears in Paper Mario: The Thousand-Year Door in Hooktail Castle. When Mario takes the Black Key out of the chest, spikes pop out of the ground to form a maze and the ceiling starts to lower down with spikes. Mario must run out of the spike maze in 50 seconds or he will end with a Game Over.

Paper Mario: Color Splash
Spike Traps 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.

Luigi's Mansion 3
Spiked Traps appear in Luigi's Mansion 3, primarily in Castle MacFrights. They will harm Luigi; however, Gooigi can walk through them without getting hurt.