In 1471, the Yorùbá empire seizes Timbuktu, a cosmopolitan trading hub on the southern edge of the Sahara. Nineteen-year-old Òdòdó, a blacksmith, watches as a captured Songhai general is executed after a cowpea trial, a form of divine judgment involving a sacred bean and the Yorùbá god of thunder, Ṣàngó. Òdòdó lives with her mother, Okóbí, and a guild of fellow blacksmiths known as
Alálè, meaning "Owners of the Earth." Feared as witches, the unmarried women perform grueling labor with metal and fire; blacksmithing is one of their few means of survival but subjects them to chronic injury and social stigma. Since childhood, Òdòdó has crafted metal daffodils and sung a song about flowers conquering Death. One day, a charming, ragged stranger engages her over the compound wall. He wears the scar of the Aláràá, the dominant Yorùbá clan, and asks what she knows of the Aláàfin, the king of Yorùbáland. She gives him a silver daffodil, admitting even the Aláàfin's horses live better than she does. Okóbí chases the stranger away and strikes Òdòdó for speaking to a man.
A soldier drugs Òdòdó at the market. She loses consciousness and awakens in a palanquin entering Ṣàngóté, the capital of Yorùbáland. Inside the royal city, the Aláàfin's walled compound, the royal tailor Ìgbín reveals she is to be the Aláàfin's bride. The stranger reappears, richly adorned, and introduces himself as Àrèmọ, the Aláàfin. Àrèmọ insists on a parade atop his elephant, Ajá, despite protests from Gassire, the royal griot, a historian and spokesperson. At the welcoming feast, he has cowpeas hidden in Òdòdó's food. She discovers them and, knowing that lightning would mean her death, eats them deliberately, choosing this life over blacksmithing. Lightning never strikes. Àrèmọ declares Ṣàngó's approval, making the engagement unassailable. He claims a divine dream guided him to her. Òdòdó refuses to marry until her mother joins her, and Àrèmọ agrees.
Àrèmọ's mother, Mama Aláàfin, inspects Òdòdó with disdain but organizes her education: exercise, lessons with Gassire, and music sessions. Òdòdó meets Kòlò, Àrèmọ's first wife, introduced as the princess of Òyó, a rival Yorùbá city. Their marriage is political, part of the treaty ending generations of war. Kòlò is warm and witty, becoming Òdòdó's first friend, and reveals that eunuch guards assigned to noblewomen also spy for Àrèmọ. Mama Aláàfin sabotages Òdòdó by encouraging her to visit the blacksmiths, which angers Àrèmọ. At the forges, Òdòdó befriends Dígí, a young blacksmith who leads the guild. She also encounters Captain Kiigba, Àrèmọ's crude second-in-command, and General Rótìmí of Wúràkémi, a Gold Coast city.
At a garden party, Kiigba assaults Òdòdó. Àrèmọ humiliates him in a mock sparring match and beheads him. Àrèmọ begins training Òdòdó in combat each night and asks her to replace Kiigba as his intelligence source, gathering gossip from noblewomen. Her information proves valuable. Across Yorùbáland, blacksmith guilds abandon their forges, depleting the supply of weapons and tools. At a celebration, General Omóṣẹwà approaches Òdòdó, seemingly drawn to her, then recoils and threatens to kill her. Kòlò, growing visibly worn, asks Òdòdó to request
aṣọ òkè, a prestige woven cloth, from Àrèmọ to send to her family in Òyó.
When a Portuguese army marches south across the Sahara, Òdòdó proposes at a generals' meeting that a small unit harass and stall the invaders, letting the desert kill them. The generals accept but credit Àrèmọ. He gifts Òdòdó twin attendants, the enslaved children Táíwò and Kéhìndé, who grow deeply loyal. While Àrèmọ is away, Òdòdó visits Dígí, who reveals that Òdòdó's escape from the forge inspired the blacksmith strikes. On her return, Òdòdó discovers iron spearheads concealed in Kòlò's fabric bundles but says nothing.
A massive revolt of enslaved people erupts in Ṣàngóté's wealthiest district, timed to when senior soldiers are away. Òdòdó fights alongside Àrèmọ and notices the rebels carry the same spearheads she found in Kòlò's fabrics. In a collapsing building, she helps rescue trapped noblewomen, including Kòlò. As they reach a window, Kòlò punches Òdòdó and leaps to safety. The building implodes around Òdòdó.
Pinned beneath rubble with her right hand crushed, Òdòdó experiences a vision of deities who banish her back to the living world. Rain extinguishes the fire. She severs her own hand with her machete and drags herself free. She stumbles upon a masquerade ceremony where Gassire eulogizes her and her handmaids await execution to serve her in the afterlife. Gassire spots her and halts the ceremony. Òdòdó has walked into her own funeral.
During recovery, Kòlò visits and taunts her, confident Òdòdó cannot expose her without implicating herself. Àrèmọ dismisses Òdòdó's accusations as paranoia and has her food laced with sedatives. Òdòdó secretly vomits her meals to stay lucid. The twins sneak in, replacing her compromised handmaids and bringing untampered food and intelligence. After weeks, Òdòdó recants her claims about Kòlò to secure her release.
Free again, Òdòdó determines that ivory flooding the markets comes from scavenged carcasses, not hunted elephants. She manipulates a visiting king into presenting the insight to Àrèmọ, who raids a scavenger camp. They share a first kiss. Meanwhile, Okóbí infiltrates the royal city, reveals that Òdòdó's father assaulted her, and warns that a powerful husband will cage Òdòdó the same way. Òdòdó refuses to leave. Àrèmọ captures Okóbí and, in a public ceremony, chains her to a pole and hands Òdòdó a gilded dagger, demanding she prove loyalty by executing her mother. Overwhelmed by Àrèmọ, the crowd, and Okóbí herself, Òdòdó drives the dagger into her mother's chest. Okóbí dies smiling.
One of the twins overhears Kòlò coordinating a second ivory camp for Òyó. Confronted, Kòlò admits everything: She is not the real princess but an Ahosi warrior, a woman soldier sent by Òyó to undermine Àrèmọ. She supplied weapons to enslaved people and coordinated the ivory black market for Òyó's benefit. Rather than face capture, Kòlò swallows castor bean seeds. In a final moment of honesty, she tells Òdòdó they could have been real friends. On a hunting trip, Rótìmí eliminates General Omóṣẹwà, who had threatened Òdòdó. Mama Aláàfin poisons Òdòdó with a substance intended to leave Òdòdó barren.
The wedding is an enormous celebration. On their wedding night, Àrèmọ leaves for the Battle of Gao. Weeks pass with no word. Òdòdó fills his absence by attending the generals' meetings, sitting in his chair, and holding court disguised under the Aláàfin's beaded crown. When a runner reports that Àrèmọ was ambushed by Òyó soldiers and held prisoner, Òdòdó assembles Rótìmí's elite squad and rides Ajá to lead the rescue. Three small teams storm the camp from different directions, creating the illusion of overwhelming numbers. She finds Àrèmọ chained in a tent.
Àrèmọ refuses Òdòdó's request to be named his second-in-command, telling her she is too beautiful for a man's job. Òdòdó has already stationed Rótìmí's squad in the war room and brought Dígí as a witness. She slits Àrèmọ's throat with the same gilded dagger he forced her to use on her mother, singing the daffodil song as he dies. Mama Aláàfin calls Òdòdó
àbíkú, a spirit child. Òdòdó has Mama Aláàfin escorted home under guard. In the war room, Dígí crowns Òdòdó with the Aláàfin's beaded crown. "The king is dead," Òdòdó announces. "The Aláàfin lives on." Rótìmí rises first: "Long live the queen." Ṣégun, Omóṣẹwà's eldest son and the new general of the city of Ìlódè, follows. The remaining generals pledge allegiance. Òdòdó instructs Dígí to end the blacksmith strikes and invite guild leaders to negotiate better conditions.