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.
"lift up thine head"
Joseph uses the same phrase for both men. To the butler: “Pharaoh lift up thine head, and restore thee unto thy place” (Genesis 40:13). To the baker: “Pharaoh lift up thy head from off thee, and shall hang thee on a tree” (Genesis 40:19). One expression, two opposite fates. The difference hangs on three small words: “from off thee”.
The narrator never tells us which man deserved what. Both had “offended their lord the king” (Genesis 40:1). We are not told what either had done. The chapter simply lets two dreams meet two outcomes, and the reader is left watching God’s knowledge of tomorrow at work in a prison.
A birthday, a feast, and a cup
“And it came to pass the third day, which was Pharaoh’s birthday, that he made a feast unto all his servants” (Genesis 40:20). The third day is the day Joseph named in both interpretations. And on that day of feasting, the butler’s dream comes true in its smallest detail: he gives “the cup into Pharaoh’s hand” (Genesis 40:21), exactly as he had seen himself do in the dream (Genesis 40:11).
Centuries later, another cupbearer stands before another king with wine in his hand. Nehemiah, cupbearer to Artaxerxes, is sad before the king, is asked the reason, and speaks his request (Nehemiah 2:1–4). The scene rhymes with this chapter: a king’s servant, a downcast face, and a moment when a cupbearer’s words change everything.
"Do not interpretations belong to God?"
The two prisoners despair for a reason a first reader would understand: “there is no interpreter of it” (Genesis 40:8). In Egypt, dreams were read by professional interpreters and magicians. In prison, none is available. Joseph’s answer cuts through the whole system: “Do not interpretations belong to God?” (Genesis 40:8).
Joseph holds this conviction to the end. When he finally stands before Pharaoh, he says it again: “It is not in me: God shall give Pharaoh an answer of peace” (Genesis 41:16). The gift that made his brothers hate him (Genesis 37:5–8) is the same gift he now offers freely in a dungeon. Nothing is said about how Joseph knows. He asks for the dreams, listens, and speaks.
Dreams that mirror the dreamer
Look at what each man dreams. The butler sees a vine, grapes, and Pharaoh’s cup: his own trade, running smoothly (Genesis 40:9–11). The baker sees baskets of bakemeats on his own head: his own trade, spoiled by birds (Genesis 40:16–17). Each dream is built from the dreamer’s working day. The butler’s dream ends with a hand giving a cup. The baker’s dream ends with birds eating.
The baker takes courage from his companion’s good fortune: “When the chief baker saw that the interpretation was good” (Genesis 40:16). He assumes the pattern will hold for him too. It does hold, but not in the way he hoped. The three branches meant three days; the three baskets also mean three days (Genesis 40:12, Genesis 40:18). Same number, different ending.
Birds eating
Birds appear twice in the baker’s story. In the dream, “the birds did eat them out of the basket upon my head” (Genesis 40:17). In the interpretation, “the birds shall eat thy flesh from off thee” (Genesis 40:19). The dream already contained its own ending; Joseph only reads it out.
Readers have long noticed an earlier scene with birds descending on food. When Abram cut the covenant sacrifices, “And when the fowls came down upon the carcases, Abram drove them away.” (Genesis 15:11). There, the birds are driven off and the covenant stands. Here, no one drives them away. The contrast is left for the reader to weigh.
"I was stolen away"
Joseph’s one request is a small speech, and every word of it is true. “I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon” (Genesis 40:15). Stolen: the word for what happened to him in Canaan, when traders drew him out of the pit and sold him for twenty pieces of silver (Genesis 37:28). Nothing: the truth about Potiphar’s wife’s accusation (Genesis 39:14–20).
The law of Moses later made kidnapping a capital crime: “If a man be found stealing any of his brethren of the children of Israel… that thief shall die” (Deuteronomy 24:7). Joseph does not press charges. He asks only for kindness: “shew kindness, I pray thee, unto me, and make mention of me unto Pharaoh” (Genesis 40:14).
Remembered and forgotten
The chapter opens with remembering on Joseph’s lips. “But think on me when it shall be well with thee” (Genesis 40:14). The Hebrew verb is zakhar, to remember, and Joseph uses it twice in one verse. The chapter closes with the same verb turned upside down: “Yet did not the chief butler remember Joseph, but forgat him” (Genesis 40:23).
Yet did not the chief butler remember Joseph, but forgat him.
The last line is one of the quietest in Genesis. No complaint follows it. No angel visits. The next chapter opens with a date that tells its own story: Pharaoh dreams “at the end of two full years” (Genesis 41:1). Two years pass on the strength of a promise a freed man forgot the day he was restored.
A psalm looks back on this stretch of Joseph’s life and calls it a furnace: the word of the LORD tried him (Psalms 105:19). The word was the interpretation that came true. It was tested, in Joseph’s own life, by two years of silence. When the butler finally speaks, his first words to Pharaoh are an admission: “I do remember my faults this day” (Genesis 41:9). The forgotten prisoner is remembered at last, and only because Pharaoh cannot sleep.
Preview · not yet on the site
After these things, the butler of the king of Egypt and his baker offended their lord, the king of Egypt.
Pharaoh was angry with his two officers, the chief cup bearer and the chief baker.
He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound.
The captain of the guard assigned them to Joseph, and he took care of them. They stayed in prison many days.
They both dreamed a dream, each man his dream, in one night, each man according to the interpretation of his dream, the cup bearer and the baker of the king of Egypt, who were bound in the prison.
Joseph came in to them in the morning, and saw them, and saw that they were sad.
He asked Pharaoh’s officers who were with him in custody in his master’s house, saying, “Why do you look so sad today?”
They said to him, “We have dreamed a dream, and there is no one who can interpret it.” Joseph said to them, “Don’t interpretations belong to God? Please tell it to me.”
The chief cup bearer told his dream to Joseph, and said to him, “In my dream, behold, a vine was in front of me,
and in the vine were three branches. It was as though it budded, it blossomed, and its clusters produced ripe grapes.
Pharaoh’s cup was in my hand; and I took the grapes, and pressed them into Pharaoh’s cup, and I gave the cup into Pharaoh’s hand.”
Joseph said to him, “This is its interpretation: the three branches are three days.
Within three more days, Pharaoh will lift up your head, and restore you to your office. You will give Pharaoh’s cup into his hand, the way you did when you were his cup bearer.
But remember me when it is well with you. Please show kindness to me, and make mention of me to Pharaoh, and bring me out of this house.
For indeed, I was stolen away out of the land of the Hebrews, and here also I have done nothing that they should put me into the dungeon.”
When the chief baker saw that the interpretation was good, he said to Joseph, “I also was in my dream, and behold, three baskets of white bread were on my head.
In the uppermost basket there were all kinds of baked food for Pharaoh, and the birds ate them out of the basket on my head.”
Joseph answered, “This is its interpretation. The three baskets are three days.
Within three more days, Pharaoh will lift up your head from off you, and will hang you on a tree; and the birds will eat your flesh from off you.”
On the third day, which was Pharaoh’s birthday, he made a feast for all his servants, and he lifted up the head of the chief cup bearer and the head of the chief baker among his servants.
He restored the chief cup bearer to his position again, and he gave the cup into Pharaoh’s hand;
but he hanged the chief baker, as Joseph had interpreted to them.
Yet the chief cup bearer didn’t remember Joseph, but forgot 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).
World English Bible (WEB). Public domain. "World English Bible" is a trademark. Text from eBible.org, 2026-12-03.