THE FOLD RETOLD.

Genesis 40

Chapter companionGenesis 40

Two dreams in one night

In Pharaoh's prison, two royal officials wake from strange dreams with no one to explain them. In the next cell is a young Hebrew with a gift he insists is not his own.

Joseph is in prison, and he should not be. Carried down to Egypt and sold to Potiphar, an officer of Pharaoh, he rose to run his master’s whole house (Genesis 37:36; Genesis 39:4). Then Potiphar’s wife accused him falsely, and his master “put him into the prison, a place where the king’s prisoners were bound” (Genesis 39:20).

Yet even here, things keep going right for him. The keeper of the prison handed him charge of everything inside, “because the LORD was with him” (Genesis 39:22–23). Now, after these things, two of Pharaoh’s own officers are marched through the same doors.

Where we are

The prison is “the house of the captain of the guard” (Genesis 40:3), probably attached to the residence of Potiphar himself, who held that title (Genesis 39:1). So Joseph may be confined in his own master’s compound. It is the king’s prison, holding men who have offended the crown.

Egypt is a land where dreams are taken seriously. Its kings keep magicians and wise men whose work includes explaining them (Genesis 41:8). A troubled dream with no interpreter is a genuine problem, not a passing curiosity.

The people in the prison

Joseph

Jacob's son, slave, prisoner

A young man, perhaps still in his twenties. He once dreamed dreams of his own that made his brothers hate him (Genesis 37:5–8). He is trusted with everything in the prison, including its new arrivals.

The chief butler

Pharaoh's cupbearer

The man who put the cup into the king’s hand, a position of close trust. He stood beside Pharaoh daily. He has somehow offended his lord, and Pharaoh is angry.

The chief baker

Overseer of the king's bread

Responsible for the food set before Pharaoh. He and the butler fall from favour together and are imprisoned together, and they will dream on the same night.

Pharaoh

King of Egypt

The mightiest man Joseph has ever come near. His anger decides who is imprisoned and who is released, and his birthday is approaching.

Worth knowing before you read

A cupbearer did more than carry wine. He served the king at his table and handed him the cup himself, as Nehemiah later did for a Persian king (Nehemiah 2:1). To restore the butler to his office was to restore him to the king’s side.

In the ancient world, dreams were often read as messages, and a fixed trade grew up around explaining them. Egypt was famous for it. Joseph’s claim will be different: interpretations belong to God (Genesis 40:8).

Joseph’s own dreams, years before, were about sheaves and stars bowing to him (Genesis 37:7–9). His brothers asked, Shalt thou indeed reign over us? Those dreams are still unexplained in the story.

9 min in all

The Cupbearer and the Baker

Some time later, the king’s cupbearer and baker offended their master, the king of Egypt.

Pharaoh was angry with his two officers, the chief cupbearer and the chief baker,

and imprisoned them in the house of the captain of the guard, the same prison where Joseph was confined.

The captain of the guard assigned them to Joseph, and he became their personal attendant. After they had been in custody for some time,

both of these men—the Egyptian king’s cupbearer and baker, who were being held in the prison—had a dream on the same night, and each dream had its own meaning.

When Joseph came to them in the morning, he saw that they were distraught.

So he asked the officials of Pharaoh who were in custody with him in his master’s house, “Why are your faces so downcast today?”

“We both had dreams,” they replied, “but there is no one to interpret them.” Then Joseph said to them, “Don’t interpretations belong to God? Tell me your dreams.”

So the chief cupbearer told Joseph his dream: “In my dream there was a vine before me,

and on the vine were three branches. As it budded, its blossoms opened and its clusters ripened into grapes.

Pharaoh’s cup was in my hand, and I took the grapes, squeezed them into his cup, and placed the cup in his hand.”

Joseph replied, “This is the interpretation: The three branches are three days.

Within three days Pharaoh will lift up your head and restore your position. You will put Pharaoh’s cup in his hand, just as you did when you were his cupbearer.

But when it goes well for you, please remember me and show me kindness by mentioning me to Pharaoh, that he might bring me out of this prison.

For I was kidnapped from the land of the Hebrews, and even here I have done nothing for which they should have put me in this dungeon.”

When the chief baker saw that the interpretation was favorable, he said to Joseph, “I too had a dream: There were three baskets of white bread on my head.

In the top basket were all sorts of baked goods for Pharaoh, but the birds were eating them out of the basket on my head.”

Joseph replied, “This is the interpretation: The three baskets are three days.

Within three days Pharaoh will lift off your head and hang you on a tree. Then the birds will eat the flesh of your body.”

On the third day, which was Pharaoh’s birthday, he held a feast for all his officials, and in their presence he lifted up the heads of the chief cupbearer and the chief baker.

Pharaoh restored the chief cupbearer to his position, so that he once again placed the cup in Pharaoh’s hand.

But Pharaoh hanged the chief baker, just as Joseph had described to them in his interpretation.

The chief cupbearer, however, did not remember Joseph; he forgot all about him.

Questions readers ask

Genesis 40, question by question

What happens in Genesis 40?

Pharaoh imprisons his chief butler and chief baker in the prison where Joseph is bound, and both men dream on the same night. Joseph interprets the dreams: within three days the butler will be restored and the baker hanged. On Pharaoh’s birthday both outcomes come true exactly as Joseph said. Joseph had asked the butler to mention him to Pharaoh, but the chapter ends with the butler forgetting him (Genesis 40:23).

Who were the chief butler and chief baker in Genesis 40?

They were two high officials of Pharaoh, king of Egypt, who had offended him and were thrown into the prison where Joseph was held (Genesis 40:1–3). The butler, in Hebrew mashqeh, was the cupbearer who handed the king his cup, a position of close daily trust (Genesis 40:11). The baker, from aphah, to bake, was responsible for the food made for Pharaoh’s table (Genesis 40:17). The text never says what either had done to anger the king.

Why were Pharaoh's officers put in the prison where Joseph was?

Because Pharaoh was angry with them and the prison was the king’s prison, attached to the house of the captain of the guard (Genesis 40:2–3). The captain of the guard was likely Potiphar, Joseph’s own master, who held that title (Genesis 39:1). So Joseph, himself wrongly confined, was appointed to serve the two royal prisoners, and they stayed in custody for some time (Genesis 40:4).

What does "Do not interpretations belong to God?" mean in Genesis 40:8?

Joseph’s question means that the ability to explain a dream rests with God, not with human skill. The two prisoners had complained that they had dreamed and there was no interpreter to hand (Genesis 40:8). The Hebrew word pitron, interpretation, comes from a root meaning to untie, and it appears in the Bible only in Genesis 40:1–23 and 41. Joseph says the same thing later before Pharaoh: “It is not in me: God shall give Pharaoh an answer of peace” (Genesis 41:16).

Why did the butler's dream mean restoration and the baker's dream mean death?

Each dream pictured the dreamer’s own trade, and each carried its own ending. The butler saw a vine budding and ripening, and himself pressing grapes into Pharaoh’s cup and giving it into his hand, a picture of his office working well (Genesis 40:9–11). The baker saw three baskets on his head, and in his dream the birds were eating the bakemeats out of the uppermost basket (Genesis 40:16–17). Joseph read the outcome each dream already contained: the birds would eat the baker’s flesh after he was hanged (Genesis 40:19).

What does "lift up thine head" mean in Genesis 40?

The phrase, in Hebrew nasa rosh, means to raise someone up or restore them to favour, and Joseph used it of both men. To the butler it meant good news: “Pharaoh lift up thine head, and restore thee unto thy place” (Genesis 40:13). To the baker Joseph added the words “from off thee”: “Pharaoh lift up thy head from off thee, and shall hang thee on a tree” (Genesis 40:19). The narrator repeats the phrase when Pharaoh judges both men on his birthday (Genesis 40:20).

Why did Joseph ask the butler to remember him?

Because Joseph was in prison for no crime of his own and the butler would soon stand at Pharaoh’s side again. He asked the butler to think on him, show him kindness and “make mention of me unto Pharaoh” (Genesis 40:14). Joseph explained that he was stolen out of the land of the Hebrews and had done nothing deserving the dungeon (Genesis 40:15). The word for kindness, chesed, usually describes covenant loyalty. The butler was restored but forgot him, and two more years passed before he spoke (Genesis 40:23; Genesis 41:1).

Where is Joseph's time in prison echoed elsewhere in Scripture?

Psalms 105:1–45 looks back on Joseph’s suffering and says his feet were hurt with fetters and he was laid in iron, until “the word of the LORD tried him” (Psalms 105:18–19). Many readers take that word as the interpretation Joseph gave, tested by the two years of silence that followed. The scene also rhymes with a later cupbearer: Nehemiah took up the wine and gave it to the king, having never before been sad in his presence (Nehemiah 2:1).

Berean Standard Bible (BSB). Dedicated to the public domain, 30 April 2023. Text from eBible.org, 2026-12-03.