Tamar's Husband in Genesis 38: Er, Then Onan

Short answer: Tamar's husband was Er, Judah's firstborn, and Judah arranged the marriage (Genesis 38:6). Er was wicked in Yahweh's sight and God killed him, leaving Tamar a childless widow (Genesis 38:7). Judah then sent his second son Onan to perform the duty of a husband's brother, raising up offspring for Er (Genesis 38:8). Onan refused in his heart and acted to prevent offspring, and he too died under God's judgment (Genesis 38:9–10).

A family line in crisis: setting and shape of genesis 38:6-10

Genesis 38 interrupts the Joseph story. Joseph has just been sold into Egypt, and the narrative turns aside to follow Judah, who has left his brothers and settled among the Canaanites. Judah marries Shua's daughter, and her sons are named in the verses just before this passage: Er, Onan, and Shelah. The setting is the patriarchal period in Canaan, and the family is not a tidy one. The story is told in spare, short prose, with the action carried by a handful of verbs and by Judah's direct speech. What the reader sees here is Judah's household forming while Joseph is far away in Egypt.

The literary shape is a chain: a wife is chosen, a husband dies, a brother is commanded, he refuses, and he dies. Judah takes Tamar as a wife for Er, his firstborn. Er is described as wicked, and Yahweh kills him, leaving Tamar childless. The family line through the firstborn is now at risk, and Judah turns to Onan with an instruction to father offspring for his dead brother. The narrator tells us what Judah could not see: Onan understood the child would not be counted as his, so he acted to prevent it, and he too died. The passage reports these deaths without softening them.

The wording is deliberately restrained. The sexual act is described plainly and briefly, and the text's concern is not the mechanics but the motive the narrator names: Onan refused to give offspring to his brother. The judgment falls on that refusal, not on Tamar, who does nothing wrong here. Verse 11 shows Judah's real posture: he sends Tamar home with a promise about Shelah that he has no intention of keeping, because he fears losing another son. This is the opening of a larger account of how Judah's line survived, the line that leads to David and, in the Gospels, to Jesus.

Er, onan, and the wording of a family duty

The passage begins with an arranged marriage. Judah takes a wife for Er, his firstborn, and her name is Tamar (38:6). The text does not describe two young people choosing each other; a father secures a match for his eldest son, the one who carries the family's future. That detail matters for everything that follows. Er's position as firstborn explains why an heir for him was not a private matter but a family concern. Then the narrative states plainly that Er was wicked in Yahweh's sight, and that Yahweh killed him (38:7). No reason is given. The text names the verdict and leaves the offense unstated, so we should resist filling in what Scripture does not say.

With Er dead and no child born, Judah turns to Onan and gives him an instruction: go in to your brother's wife, perform the duty of a husband's brother, and raise up offspring for your brother (38:8). That phrase names a family obligation, a custom by which a surviving brother provided a child to carry the dead man's name and line. The wording about raising up offspring shows whose future the child would belong to. Onan understood this. The text says he knew the offspring would not be his, and it describes his act of spilling his semen on the ground as a deliberate refusal to give his brother offspring (38:9). His motive is named as clearly as his action.

Twice the passage ties the outcome to God's own judgment rather than to accident or illness. Er's wickedness was evil in Yahweh's sight, and what Onan did was evil in Yahweh's sight, and he killed him also (38:10). The repetition is the point: this is not a story about bad luck befalling a family, but about God seeing and responding. Two things deserve care here. The text condemns Onan for refusing the duty and using his brother's widow for his own ends, not for any and every sexual sin a reader might import into it. And this narrative is not a promise or a threat about fertility, so it should never be turned into a weapon against couples grieving childlessness or weighing hard family decisions.

The passage begins with an arranged marriage. Judah takes a wife for Er, his firstborn, and her name is Tamar (38:6). The text does not describe two young people choosing each other; a father secures a match for his eldest son, the one who carries the family's future. That detail matters for everything that follows. Er's position as firstborn explains why an heir for him was not a private matter but a family concern. Then the narrative states plainly that Er was wicked in Yahweh's sight, and that Yahweh killed him (38:7). No reason is given. The text names the verdict and leaves the offense unstated, so we should resist filling in what Scripture does not say.

Tamar's husband er and the duty that fell to onan

Genesis 38:6 answers the question plainly: "Judah took a wife for Er, his firstborn, and her name was Tamar." Tamar's husband was Er, the eldest son born to Judah and Shua's daughter. The verses just before this one name the family: Er, Onan, and Shelah, born in that order. Judah arranged the marriage, as a father in that setting would, and Tamar entered the household as the wife of the firstborn. The next verse gives the outcome without softening it: Er was wicked in Yahweh's sight, and Yahweh killed him. Tamar was left a widow, and the text says nothing about children, so the firstborn's line stood empty.

That emptiness drives what follows. Judah told Onan to go in to his brother's wife and raise up offspring for his brother, an older custom later written into Israel's law. Onan knew the child would not be counted his, and Genesis 38:9 describes what he did to prevent it. The passage calls this evil in Yahweh's sight, and he died as well. The text is direct but not lurid, and it does not invite us to dwell on the act. What it weighs is the motive: Onan took the duty and refused its purpose, treating his brother's name as worth less than his own advantage.

Read against the surrounding chapter, this is not a story about fertility or family planning but about a line under threat. After Onan's death Judah sent Tamar to her father's house with a promise about Shelah that verse 11 shows he never meant to keep, since he feared the same fate for his youngest son. Genesis 38 then follows Tamar's bold move and Judah's admission that she was more righteous than he was. The line preserved here runs to David and, in the Gospels, to Jesus. God kept his promise through a family that was failing, which is where any honest reader can stand.

Where readers disagree about er, onan, and tamar

Careful readers agree on the plain facts of Genesis 38:6–10. Judah took a wife named Tamar for his firstborn Er, and Er was wicked in Yahweh's sight, so Yahweh killed him. Judah then told Onan to go in to his brother's wife and raise up offspring for his brother. Onan knew the child would not be his, so he spilled his semen on the ground, and the text says the thing he did was evil in Yahweh's sight, and Yahweh killed him also. The narrative is stark and leaves no doubt that God saw the act and judged it. What readers differ on is how to describe the obligation Onan was asked to fulfill.

The practice appears here in narrative, and later the law of Moses regulates it. Readers debate how much that later law should shape the reading of this earlier episode. Some stress that Onan's sin was primarily withholding an heir and defrauding his brother's line; others stress the sexual act itself. The text holds both together without ranking them. It is worth noticing that the passage describes Israel's ancestral story; it does not command the church to follow this family custom. The text also does not turn Onan's judgment into a general rule about marriage, family planning, or fertility, and it should not be used as a weapon against people who struggle with such decisions.

What remains central is that God saw the act, called it evil, and acted in judgment. The passage is describing Israel's ancestral story rather than prescribing church practice. Grace comes first: God's action in Christ, then our response. Readers who differ on how to describe the obligation can still agree on the plain facts and on the seriousness of treating God's judgment lightly. The passage does not promise that every difficult family decision will be met with immediate judgment, nor does it guarantee healing, wealth, or safety. It calls for careful reading, humility about what the text does and does not say, and compassion toward those facing fertility and family decisions today.

How the line of Judah survived and where it leads

Genesis 38:6–10 is not a tidy story, and it does not try to be. Judah arranges a marriage for his firstborn, Er, but Er is described as wicked and God takes his life. Judah then tells his second son, Onan, to do the duty of a brother-in-law and raise up offspring for the dead man. Onan goes in to Tamar but deliberately prevents a child, because the child would not be counted as his. The text names this plainly as evil in God's sight, and Onan dies too. Two sons gone, and Tamar is left with nothing.

The passage is honest about sin and about judgment, and it should be read that way rather than turned into a lesson about fertility or family planning. Onan's sin was a specific act of using another person while refusing the obligation he had accepted, and God judged it. That is the text's own focus. Judah's later words in 38:11 show a father protecting his remaining son out of fear, and Tamar is sent back to her father's house with a promise that quietly stalls. The family line of Judah is in serious trouble, and the story does not hide it.

What keeps this from being only a story of failure is where the line goes. Tamar is named in Matthew's genealogy of Jesus, so the woman wronged and set aside in this chapter stands among the ancestors of the Messiah. The passage does not preach Christ directly, and it should not be forced to. It shows God preserving a promise through a messy household, and the gospel announces that the heir finally raised up for this line is Jesus, born into the very family history Genesis records without cleaning it up.

What faithful response looks like when no one is watching

Judah arranged a marriage for his firstborn, and when Er died, he told Onan to do the duty of a husband's brother and raise up offspring for the dead man's name. Genesis 38:8 records the instruction plainly. Onan went along with the arrangement outwardly, but his motive was elsewhere. He knew the child would not be counted as his own, so he deliberately prevented conception. What happened in that room was hidden from Judah and from the family, yet Genesis 38:10 says the thing he did was evil in Yahweh's sight. The text does not say God was offended because a rule was broken in public. It says God saw what no one else saw.

That is where this passage searches us. We can keep every visible obligation and still protect our own name, our own money, our own position at another person's expense. Onan's refusal was not a private preference; it left Tamar with no child and no standing, in a household where both meant survival. Judah's own arrangement was bent too, since he later delayed Shelah out of fear for his son. Faithful response begins with honesty about motive before God, and it moves toward concrete care for the vulnerable person in front of us, not just the appearance of doing our duty.

Two things this passage does not say need saying. It does not promise that faithfulness brings safety, children or relief from hard family decisions, and it does not authorize us to pronounce judgment on others. God alone named Onan's act evil and acted on it. What it does call for is trust that God sees what others do not, and honesty about why we do what we do. That obedience rests on grace, because the same God who judged sin here preserved a line through this family for the Savior.

Biblical fidelity check

Read Genesis 38:6–10 as a narrative, not a rulebook. The text gives few details, so the risks are guessing at what it leaves unsaid: assuming we know Er's specific wickedness, or turning Onan's act into a general law about marriage and family planning. Note who speaks and acts. Judah arranges Tamar's marriage to Er, his firstborn. Er dies under God's judgment. Judah then tells Onan to perform the duty of a husband's brother and raise up offspring for the dead man. Onan's motive is stated plainly, and so is God's verdict.

Evangelical readers agree on the plain facts: Er was Tamar's husband, Er died under God's judgment, and Onan was judged for refusing to raise up offspring for his brother. They differ on how much the later law of Moses should shape this earlier episode, and on whether Onan's sin was mainly withholding an heir or the sexual act itself. The text holds both together without ranking them. What stays central is that God saw the act, called it evil, and acted in judgment. This describes Israel's ancestral story; it does not prescribe church practice.

Following the theme of Genesis 38:6-10 through Scripture

These studies open up the wider story: Genesis 38: Judah and Tamar: Righteousness and Redemption traces Judah's family line, Genesis 49:8–12 Prophecy: Judah’s Scepter, Ruler looks at Tamar's place in it, Tamar in Genesis 38: Judah's Sin and God's Line considers the duty of a husband's brother, and Genesis 10: Nations and Generations After the Flood follows the theme of God's judgment and mercy in Genesis.

Frequently asked questions

Who was Tamar's husband in the Bible?

Tamar's husband was Er, the firstborn son of Judah, and the marriage was arranged by Judah himself (Genesis 38:6). Scripture says little about Er beyond the verdict that he was wicked in Yahweh's sight, and God put him to death (Genesis 38:7). That left Tamar a widow with no child, which is the situation the rest of the chapter addresses. The man who came after Er, Onan, was not her husband in the ordinary sense but a brother acting out a family duty.

Why did Onan die in Genesis 38?

Onan died because God judged what he did as evil (Genesis 38:10). Judah told him to go in to his brother's wife and raise up offspring for his brother (Genesis 38:8). Onan knew the child would not be counted as his, so he deliberately prevented conception (Genesis 38:9). The text names the motive and the act together, and God's verdict follows. His death is a specific judgment in a specific story, not a general rule for weighing every hard family decision people face today.

Was Tamar married to both Er and Onan?

No. Tamar was married to Er, and after his death she was never married to Onan. Judah directed Onan to perform the duty of a husband's brother, a family obligation meant to raise up offspring in Er's name (Genesis 38:8). Onan went in to her under that duty but refused its purpose, and he died before anything was settled (Genesis 38:9–10). Judah then sent Tamar back to her father's house, still a widow, waiting on his third son Shelah (Genesis 38:11).

Subscribe for more Scripture-centered studies.

Support Sermon Academy.

Previous
Previous

Why Did God Make the Tree of Knowledge?

Next
Next

Why Jesus Called Zacchaeus by Name in Luke 19