Back to Guides

Coco Family Tree: Miguel, Héctor and Ernesto Explained

Film Guides Team 31 March 2026

Spoilers from here. The twist is explained in full.

Miguel believes Ernesto de la Cruz is his great-great-grandfather. He is not related to Miguel at all. The actual great-great-grandfather is Héctor, the man Miguel meets in the Land of the Dead.

The lineage, oldest first

  1. Imelda and Héctor, Miguel's great-great-grandparents. They married and had one daughter.
  2. Coco, their daughter and Miguel's great-grandmother. She is the elderly woman at the centre of the family home, and the film is named after her.
  3. Elena, Coco's daughter and Miguel's grandmother, the family matriarch who enforces the ban on music.
  4. Enrique, Elena's son and Miguel's father.
  5. Miguel.

What happened to Héctor

Héctor and Ernesto were musical partners who left home together to tour. Héctor became homesick and decided to return to Imelda and Coco. Ernesto, unwilling to lose the songs and the act, poisoned him.

Ernesto then took Héctor's songs as his own and built a career on them, becoming the most famous musician in Mexico. Héctor's family never learned what happened and assumed he had abandoned them.

Why Imelda banned music

Because she believed her husband had chosen music over his family and left. She removed music from the household entirely and built a shoemaking business to support her daughter, and the prohibition was passed down through four generations.

The ban is therefore founded on a misunderstanding, which is the engine of the whole plot. Every restriction Miguel resents exists because nobody knew Héctor was murdered.

The torn photograph

The ofrenda photograph shows Imelda and Coco with a man whose face has been torn away, holding a guitar. Miguel assumes the guitar identifies him as Ernesto.

The missing piece turns up in the Land of the Dead and shows Héctor's face. Restoring it to the ofrenda is what allows him to cross over, and the film's rules make this urgent: the dead are forgotten and cease to exist when nobody living remembers them.

Why Coco matters so much

She is the last living person who remembers Héctor. When her memory fails, he will be gone permanently under the film's rules, which is why the ending depends on Miguel reaching her before she forgets.

The song functions as the mechanism. It was written for her as a child, and it is what brings the memory back.

Who Ernesto actually is

A stranger. He has no blood relationship to the Rivera family, and every connection Miguel believes exists is his own inference from a guitar in a photograph.

The film sets up a straightforward inspirational story about a boy discovering his famous ancestor and then dismantles it. The person worth claiming turns out to be the one the family had spent generations refusing to speak about.

The wider family

The Rivera household contains several generations living together, including Miguel's parents, his great-grandmother, his grandmother, and various aunts, uncles and cousins who appear throughout.

The dead relatives who cross over on the Day of the Dead are the same people at earlier points in the line, which is why the two halves of the film mirror each other so precisely.

Why the family has no music

Worth restating, because it is the film's cleanest piece of construction. Every rule Miguel resents traces to a single misunderstanding four generations back, and nobody alive knows the reason is false.

The prohibition is enforced most fiercely by Elena, who is furthest from the original grief and has inherited only the rule. This is the film's argument about how family traditions outlive their causes.

What the marigold bridge establishes

Crossing between worlds requires a photograph on an ofrenda, which is what makes the torn picture the central object of the plot. Héctor cannot cross because his face was removed, and Ernesto can because he is remembered by millions of strangers.

The final death

The film's rules establish a second death that occurs when the last living person who remembers you forgets. It is presented gently and it is the sharpest idea in the film.

Héctor is on the edge of it throughout, and the urgency of the last act comes entirely from Coco's failing memory rather than from any physical threat.