|This article is a summary page for different variations of a glitches, etc. when talked about as a whole.|
|Bulbapedia also has an article about Bad Egg.|
In Generation III
In Generation III, they appear for Pokémon that do not have a correct checksum value (which is stored in its own byte). The checksum is computed by adding all unencrypted values of the 'data' section of the Pokémon data structure one word (two bytes) at a time. If the actual checksum does not match the checksum value, the Pokémon will be interpreted as a Bad EGG, and if a hex:0000 ?????????? was interpreted as a Bad EGG, it will appear as a Bad EGG with an invisible icon.
Simply changing the personality value of a Pokémon rather than its data substructures can also turn Pokémon into Bad EGGs, probably due to the substructure order being changed due to a different modulo value. For this reason, it is possible to obtain Bad EGGs without cheating in Pokémon Emerald and Pokémon FireRed and LeafGreen using the Pomeg data corruption glitch.
Like ordinary Eggs, Bad EGGs in Generation III under normal circumstances can never be released, however, they can be released with the inverse cloning glitch. When the player attempts to view a Bad EGG's summary screen the game will not give the details of the Pokémon inside but rather, the game will bring up an 'Egg' summary screen, showing its 'state' (an indicator of how long it'll take to hatch the Egg) and 'trainer memo' (origin).
Regardless of what the trainer memo says, a Bad EGG will never hatch; only a normal Egg can hatch. 
A Bad Egg may also be seen during Pokémon Ruby and Sapphire's version of the switch glitch or be caught with the roaming Pokémon encounter glitch. Though the validity of this happening without cheats is unknown, there is also a report of another Bad Egg glitch in FireRed/LeafGreen.
In non handheld Pokémon games
Bad Eggs appear in Pokémon Battle Revolution.
Unless the player turns the narrations off the game will lockup when a Bad Egg is sent into battle, probably because there is no voice file for announcing the Bad Egg's name.
Reportedly, if a Pokémon with an EV total greater than 510 is uploaded on to Pokémon Battle Revolution, the game will regard that Pokémon as a Bad Egg.
In Generation IV
As a Pokémon species
Unlike in the third generation of Pokémon games, Bad Eggs actually have their own defined identifier of 495 (1EF) for a Pokémon species. If such a 'Pokémon' if encountered in the wild by the use of a cheating device, it will have Splash as its only move.
"Bad Egg" is also mentioned in the trapping Ability flee glitch in Pokémon Platinum if the player attempts to flee when the right side wild Pokémon has fainted (requires a Steel-type Pokémon on the user's side for Magnet Pull to prevent fleeing).
In Generation V
Bad Eggs can be found in Generation V.
In Generation VI
They are not to be confused with 'mystery Eggs' (they are not actually called this, they are just referred to as Eggs). Mystery Eggs marked as originating from the Mystery Zone have appeared in the PC boxes of some players of Pokémon X and Y. They also have an obtained date of '0/0/2000'.