The Clone Wars lasted approximately three years in the official Star Wars canon, beginning with the Battle of Geonosis in 22 BBY and ending around 19 BBY with the final battles such as the Battle of Utapau and the execution of Order 66
. However, some fans and sources argue that the war may have lasted longer, possibly between 5 to 10 years, based on the extensive events and character developments depicted in various media like the animated series and expanded universe stories
. This longer timeline is not officially confirmed but is considered plausible by some due to the complexity and scale of the conflict. In summary, the widely accepted canonical duration is about three years, but there is debate and speculation about a longer timespan depending on interpretation and source material.