If you were looking for the glitch move, see HM05 (move).

HM05 (Japanese: ひでんマシン05 Secret Machine 05) is an HM introduced in Generation I. It teaches a compatible Pokémon a move that can also be used in the field; but using an HM in the field requires that the player have a certain Badge (except in Generation V). The move it teaches depends on the game. For compatibility, refer to the move's page. HMs can used to teach moves without limit.

Secret Machine 05
Bag None Sprite.png
Pokémon Global Link artwork
Introduced in Generation I
Generation I Bag Items pocket icon.png Items
Generation II Bag TMs and HMs pocket icon.png TMs and HMs
Generation III Bag TMs and HMs pocket icon.png TMs and HMs (RSE)
Generation III Bag TM Case pocket icon.png TM Case (FRLG)
Generation IV Bag TMs and HMs pocket icon.png TMs and HMs
Generation V Bag TMs and HMs pocket icon.png TMs and HMs
Generation VI Bag TMs and HMs pocket icon.png TMs and HMs

In the core series games

Generation I

Location Required Badge
RBY Route 2   Boulder Badge

Generation II

Location Required Badge
GSC Sprout Tower   Zephyr Badge

Generation III

Location Required Badge
RSE Granite Cave   Knuckle Badge
FRLG Route 2   Boulder Badge

Generation IV

Location Required Badge
DP Great Marsh   Fen Badge
Pt Solaceon Ruins   Relic Badge

Location Required Badge
HGSS Team Rocket HQ   Glacier Badge

Generation V

No Badge is required to use HM moves in the field in Generation V.

Location Required Badge
BW Route 18 N/A
B2W2 Victory Road N/A

Generation VI

Location Required Badge
XY Route 19   Iceberg Badge
ORAS Prize for defeating Wallace   Rain Badge

In the spin-off games

Pokémon Mystery Dungeon series

HMs in the Mystery Dungeon series are named only by the move they teach. For example,  Cut is the item that teaches the move Cut. Most HMs, however, correspond to an HM in the core series' contemporaneous games.

HMs in Pokémon Mystery Dungeon games prior to Pokémon Super Mystery Dungeon can be used any number of times. In Pokémon Super Mystery Dungeon, "HMs" are treated like TMs and only usable once. However, if an "HM" is dropped on the ground, it has a different color than a TM.

Location Purchase price Sell price
MDRB Buried Relic (70F) 2   1  

Location Purchase price Sell price
MDTDS Final Maze
Kecleon Shops (Destiny TowerS)
Spinda's Café (Silver Ticket big win; Gold Ticket win)S
Sometimes received as a reward from Numel found on Sky Peak Mountain PathS
7500   250  
MDBSL ? N/A 1  

Location Purchase price Sell price
SMD Kecleon Shops 1314   132  

In the manga

Pokémon Adventures

Red, Green & Blue arc

In What a Dragonite, Red was revealed to have already obtained HM05 (Flash).for his Pikachu.


HM05 appears as a Water-type HM in Diamond, Pearl, and Platinum.
  • In Diamond, Pearl, and Platinum, HM05 has the item sprite of a Water-type HM, even though Defog is a Flying-type move. It is possible that a Water-type HM was considered for the position before Defog was finalized. Whirlpool, a Water-type move itself, takes the spot in HeartGold and SoulSilver, though this is likely unrelated, as HeartGold and SoulSilver came out more than three years after Diamond and Pearl were released.
  • HM05 is the only HM that has changed moves within a generation, from Defog in Diamond, Pearl, and Platinum to Whirlpool in HeartGold and SoulSilver.
  • HM05 has contained the most different moves of any HM, teaching four different moves throughout the series.
    • Interestingly, two of the moves it has contained are the two HM moves which first appeared as HMs in Generation II.
  • HM05 is the first and so far the only HM that has been handed out as a prize by a Gym Leader when defeated.

Hidden Machines
  This item article is part of Project ItemDex, a Bulbapedia project that aims to write comprehensive articles on all items.