King Nimi of Mithilā is known for generosity and moral conduct. His reputation reaches the gods, who wish to hear him speak. Sakka therefore sends his celestial charioteer, Mātali, to bring the king to heaven. Nimi is still alive when he accepts the invitation and begins a journey beyond the places normally visible to human beings.
The king asks first to see the realms of suffering. Mātali drives the heavenly chariot through terrible scenes of punishment, including frightening rivers and torments. At each place Nimi asks why the people there experience such pain, and Mātali explains the conduct whose consequences are being shown. The journey becomes a series of lessons about actions and their results.
Next the chariot travels among heavenly dwellings where beings enjoy rewards associated with good deeds. Nimi does not merely look at beautiful palaces. He asks about the causes of the conditions he sees, contrasting these experiences with the suffering of the lower worlds. The charioteer's answers give moral meaning to the geography of the journey.
Nimi reaches the assembly of the gods and teaches there for a time. He then asks to go home. Mātali carries him back in the celestial vehicle to Mithilā, where the people rejoice at the king's return. Nimi tells his subjects what he has seen and encourages them to act generously and well.
The Nimi Jātaka, numbered 541 in the collection, presents a living king's tour of both hells and heavens under the guidance of a divine driver. The voyage is not a tale of the king's death and resurrection. Its fantastic landscapes illustrate teachings about conduct, reward, suffering, and the choice to live responsibly in the human world.