In his travel he chanced to meet a beautiful mortal woman, Mi Fei. She was the wife of Feng Yee, the God of Water, who had a reputation as a womanizer and for ignoring his wife. Both lonelyd, Mi Fei and Hou Yi became friends and later lovers. In legend, such things never remain unpunished. When Feng Yee returned and discovered his wife's infidelity, he was furious and transformed himself into a white dragon, roaring and plunging in the water, destroying fields and killing many people. Hou Yi thought the dragon was an evil sea monster. He took up his bow and shot, blinding Feng Yee in one eye. Thereupon, the god of waters registered a complaint with the Jade Emperor. The Emperor considered all the good deeds that Hou Yi had done for the mortals, and since he was already under punishment, the Emperor merely ordered Hou Yi to go home to Chang Er and never see Mi Fei again.
Hou Yi had no choice but to return home. Chang Er was angry with him for his unfaithfulness and unhappiness came between the once "divine" couple. Hou Yi knew that he had wronged his wife and tried to soothe her, telling her that tears would make her age faster, as they were now mortals. Chang Er looked at her reflection in the water, for in those days there were no mirrors. She was terrified to see wrinkles appearing around her eyes, and demanded that Hou Yi find some way to restore her immortality.
Hou Yi was desolate and dared not stay at home, but he couldn't violate the Jade Emperorís order by going to Mi Fei. He became violent and drunk. In his drunkenness he treated the people cruelly. There were two men among the people who began to plot against him, Feng Meng and Han Cho. Both were opportunists. Han Cho told Hou Yi that the Royal Goddess resided on top of Kunlun Mountain and had a pill of immortality.
Hou Yi decided that for the saje of peace at home he would climb Kunlun Mountain and begg the Royal Goddess for the pill of immortality. The Goddess, taking pity on him, gave him her one remaining pill. She instructed Hou Yi that if one person took the pill he would ascend to Heaven, but if he cut the pill into two halves and shared it with another, they could live forever. The pill had to be taken on the 15th night of the eighth month when the moon was fullest. Hou Yi was very happy and thanked the Royal Goddess exuberantly and went home to Chang Er. They decided to divide the pill and take it at the proper time so that they could both attain immortality.
Three days before the 15th day of the eighth month, Hou Yi heard of a medicinal solution called "jade elixir" that could be found on Tienshan mountain, an elixir that could could prevent women from aging and allow them to stay eternally beautiful. Hou Yi wished to please Chang Er and resume a happy life at home, so he decided that he could make the trip in three days to obtain this wonderful medicine and to surprise his wife. He left for Tienshan immediately.
On the 15th of the eighth month, Chang Er saw no sign of Hou Yi. She waited and later grew impatient, and sought out Feng Meng the schemer and asked where her husband was. Feng Meng lied and told Chang Er that Hou Yi had gone to see Mi Fei. Chang Er believed him and became furious at her unfaithful husband. As the moon rose Chang Er went into the garden, looking up to heaven and remembering the contentment in the life of immortality and the happiness of heaven, and then she thought of the sorrows of the earth. She was confused and filled with emotion. Thinking that Hou Yi had abandoned her, she swallowed the whole pill and at once she felt her body becoming lighter, rising upwards towards the sky. At this moment Hou Yi arrived back with the jade elixir and saw Chang Er ascending faster and faster.
The gods and goddesses in heaven despised Chang Er because she had abandoned her husband. Chang Er had to change her direction and head toward the cold palace in the moon. Hou Yi watched from the earth and took out his magic bow to shoot down the moon. He aimed but he could not bear to kill his wife. Frustrated and saddened, he destroyed his magical weapons and took to drink.
Hou Yi's enemy Feng Meng watch and waited until Hou Yi was senselessly drunk, then he attacked Hou Yi then and killed him. When Chang Er arrived at the cold palace in the moon and saw how her husband had been cruelly murdered she deeply mourned what she had done. She was cut off from the happy life in heaven and committed to eternity alone in the moon, becaming the moon goddess.
Each year on the 15th day of the eighth month, when the moon is at its fullest and brightest, people look at the moon and try to see in it the image of a beautiful maiden.