Spike Trap

Spike Traps (or 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 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 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.

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 Sunshine
In Super Mario Sunshine, only appearing in Corona Mountain, coming into contact with it 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.

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 renames the original game's iteration of the obstacle as the Spike Block. In edit mode, they are yellow by default, but they also have blue and red variants. Both red and blue variants will extend or retract their spikes in reference to an ON/OFF Switch while yellow ones do so at regular intervals.

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.

Mario vs. Donkey Kong series
Spikes are common indestructible obstacles throughout the Mario vs. Donkey Kong series, being present in almost every course in these games. 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, but always point upward, covering pits and platforms. 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 it to hover above spikes and cross them safely.

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 Luigi's Mansion 3, primarily in Castle MacFrights. They will harm Luigi, however Gooigi can walk through them without getting hurt.