In Aztec mythology, Xolotl (ˈʃolot͡ɬ) was a god of fire and lightning. He was commonly depicted as a dog-headed man and was a soul-guide for the dead. He was also god of twins, monsters, misfortune, sickness, and deformities. Xolotl is the canine brother and twin of Quetzalcoatl, the pair being sons of the virgin Chimalma. He is the dark personification of Venus, the evening star, and was associated with heavenly fire. The axolotl is named after him.
Xolotl was the sinister god of monstrosities who wears the spirally-twisted wind jewel and the ear ornaments of Quetzalcoatl. His job was to protect the sun from the dangers of the underworld. As a double of Quetzalcoatl, he carries his conch-like ehecailacacozcatl or wind jewel. Xolotl accompanied Quetzalcoatl to Mictlan, the land of the dead, or the underworld, to retrieve the bones from those who inhabited the previous world (Nahui Atl) to create new life for the present world, Nahui Ollin, the sun of movement. In a sense, this re-creation of life is reenacted every night when Xolotl guides the sun through the underworld. In the tonalpohualli, Xolotl rules over day Ollin (movement) and over trecena 1-Cozcacuauhtli (vulture).
His empty eye sockets are explained in the legend of Teotihuacan, in which the gods decided to sacrifice themselves for the newly created sun. Xolotl withdrew from this sacrifice and wept so much his eyes fell out of their sockets.
According to the creation recounted in the Florentine Codex , after the Fifth Sun was initially created, it did not move. Ehecatl ("God of Wind") consequently began slaying all other gods to induce the newly created Sun into movement. Xolotl, however, was unwilling to die in order to give movement to the new Sun. Xolotl transformed himself into a young maize plant with two stalks (xolotl), a doubled maguey plant (mexolotl), and an amphibious animal (axolotl). Xolotl is thus a master transformer. In the end, Ehecatl succeeded in finding and killing Xolotl.
In art, Xolotl was typically depicted as a dog-headed man, a skeleton, or a deformed monster with reversed feet.