Star Wars: Duel of the Fates (also known as Star Wars: Episode IX – Duel of the Fates) was the original draft of the third film in the Star Wars sequel trilogy. Named after the franchise's musical composition of the same name, the script was written in 2016 by Colin Trevorrow and Derek Connolly while Trevorrow was attached as director. After Trevorrow left the project in 2017, it was replaced with a script by J. J. Abrams and Chris Terrio that became 2019's Star Wars: The Rise of Skywalker, although the film retained modified ideas from Duel of the Fates.
A draft of the script of Duel of the Fates was leaked online in January 2020, shortly after the release of The Rise of Skywalker. It garnered attention due to The Rise of Skywalker's polarizing reception and inspired fan-made adaptations.