Superman dies in Justice League (2017) when he is killed by Doomsday during the film's third act, not at the very beginning; his death is the climax of Batman v Superman: Dawn of Justice (2016), and the opening of Justice League deals with the aftermath—a world mourning him and Batman and Wonder Woman recruiting a team in his absence. To answer the question as phrased, the key correction is one of chronology and film: the death itself happens at the end of Batman v Superman, and what "begins" Justice League is the consequence of that death.

Why the Confusion Arises

The question's wording—"in the beginning of Justice"—points at a real ambiguity worth addressing directly. There are several distinct works and moments that a viewer could reasonably mean:

The 2016 film Batman v Superman: Dawn of Justice: Superman's death occurs at the end of this movie, after a battle with the monster Doomsday in Metropolis. Because the subtitle contains "Justice," some viewers conflate this film with Justice League. The 2017 theatrical film Justice League: It opens in the shadow of Superman's death. The first act shows a world in mourning—a memorial, a grieving Lois Lane, a Batman who feels responsible—and the plot is built around assembling the League partly because Superman is gone. Superman does not die at the start of this film; he is dead before it starts, and he is resurrected later in the story. The 2021 Zack Snyder's Justice League: The longer director's cut follows the same overall arc—Superman's death precedes the story, the League forms in his absence, and he returns. The death is again not depicted as a fresh event at the opening.

So the accurate answer depends on which film and which "beginning" the question has in mind. If the question means "How did Superman die just before Justice League begins?" the answer is the Doomsday fight from Batman v Superman. If it means "Does Superman die at the start of Justice League?" the answer is no—he is already dead, and the opening is about the aftermath.

The Death Itself: Doomsday in Batman v Superman

In Batman v Superman: Dawn of Justice, Lex Luthor unleashes a Kryptonian-engineered monster, Doomsday, in Metropolis. Batman, Wonder Woman, and Superman fight it. The decisive moment comes when Superman, realizing the creature cannot be stopped by ordinary force, takes the kryptonite spear—the same weapon Batman had prepared to kill Superman—and drives it into Doomsday. The two kill each other in the exchange: Doomsday is impaled and dies, and Superman is fatally wounded. He dies in Lois Lane's arms. This mirrors, in broad outline, the 1992–93 DC Comics storyline "The Death of Superman," in which Superman and Doomsday strike each other with fatal force in front of the Daily Planet and Superman succumbs to his wounds in Lois's arms.

That comic-book parallel is the source of much of the cultural memory here. The 1992 crossover, culminating in Superman #75, had Doomsday tear through the Justice League before Superman stopped him at the cost of his own life. The film's version compresses and reorders this—the League in the movie is not yet formed, so Doomsday fights Batman, Wonder Woman, and Superman rather than the full team—but the core image of a mutual kill between Superman and Doomsday is retained.

What Actually Happens at the Start of Justice League

The theatrical Justice League opens with a world that has lost Superman. The tone is elegiac: there is public mourning, and the film establishes that crime and catastrophe are rising because Earth's most powerful protector is gone. Batman, guilt-ridden, and Wonder Woman begin recruiting metahumans—Aquaman, Cyborg, and the Flash—to face a new threat, Steppenwolf, and his Parademon army. The premise is explicitly that the League is a response to Superman's absence.

Later in the film, the team resurrects Superman using a Mother Box and the Kryptonian ship's technology. He returns, initially disoriented and hostile, then joins the fight. So the arc is death (in the prior film) → mourning and recruitment (the opening of Justice League) → resurrection (later in Justice League). The death is the setup, not the opening scene.

Distinguishing the Versions

Because the question's date context is 2026 and the DC films have multiple cuts, it helps to be precise:

Theatrical Justice League (2017): Same broad structure—Superman dead before the film, resurrected during it. The theatrical cut is shorter and changes tone and some plot details, but the death/resurrection framework is intact. Zack Snyder's Justice League (2021): A four-hour re-cut. It expands the mourning, the recruitment, and the resurrection, and it makes the aftermath of Batman v Superman more explicit. Superman's death still precedes the story; he is still resurrected within it. The comics: "The Death of Superman" (1992–93) is the original template, and its imagery—Doomsday, the Daily Planet, Lois holding the dying Superman—is what the films echo. The comics also include a "Reign of the Supermen" aftermath with replacement figures, which the films do not adapt in the same way.

Why "Beginning" Is the Wrong Frame

The most useful clarification is structural. Justice League is not a film in which Superman dies at the start; it is a film in which he is already dead at the start. The death is the ending of the previous movie. If a viewer remembers "Superman dies at the beginning of Justice," they are likely recalling one of two things: (1) the death scene from Batman v Superman, whose subtitle includes "Justice," or (2) the somber, death-haunted opening of Justice League, which feels like a death scene even though the death itself is off-screen and prior.

A useful counterexample: in Justice League, the first time we see Superman in the present timeline, he is dead—his body is in the Kryptonian ship, and the plot revolves around whether to resurrect him. That is not a death scene; it is a body-at-rest scene. The distinction matters because it changes what the opening is about: not the act of dying, but the consequences of a death that already happened.

The Comics Context, Kept Straight

The 1992–93 "Death of Superman" storyline ran across multiple Superman titles and culminated in Superman #75, in which Superman and Doomsday kill each other. Doomsday had already cut a swath through the Justice League. The story was followed by "Funeral for a Friend" and then "Reign of the Supermen," in which replacement figures appear before the real Superman returns. The films borrow the Doomsday fight and the Lois-in-mourning image but do not reproduce the full comics aftermath. Keeping the comics and film versions separate avoids the common error of attributing the comics' replacement-Supermen plot to the movies, which do not use it.

A Note on What Is and Is Not Depicted

In Batman v Superman, the death is shown on-screen: the spear, the mutual kill, Lois holding him. In Justice League, the death is not re-enacted at the opening; it is referenced and mourned. If the question is "how did he die," the answer is the Doomsday fight with the kryptonite spear. If the question is "what happens at the beginning of Justice League," the answer is mourning and recruitment, with the death as prior context. The two answers are consistent but not interchangeable, and conflating them is the main source of confusion in the question as posed.

Summary

Superman is killed by Doomsday in Batman v Superman: Dawn of Justice (2016), dying alongside the monster after impaling it with the kryptonite spear; Justice League (2017, and the 2021 Snyder cut) begins after that death, with a mourning world and a team being assembled in his absence, and resurrects him later in the story. The phrase "beginning of Justice" most likely refers either to the "Dawn of Justice" subtitle of the earlier film or to the elegiac opening of Justice League, but in neither case does Superman die at the start of Justice League itself—he is already dead when it begins.