Mahabali was remembered in Kerala tradition as a generous king whose people loved him. His reputation became so great that the gods feared the power of his kingdom. Vishnu came to Mahabali in the form of Vamana, a young Brahmin, and asked for as much land as could be covered in three steps.
Mahabali agreed. Vamana then grew into a cosmic form and covered the worlds in two steps. With no ground left for the third, Mahabali offered his own head. Vishnu accepted the sacrifice and sent him to the netherworld, while granting him permission to visit his people once each year.
Onam celebrates that annual welcome in Kerala tradition. Homes are decorated, meals are shared, flowers are arranged, and communities remember a king whose return is associated with affection and abundance. The Mahabali story is the most widely told Onam narrative, but Kerala preserves other festival traditions as well.