This article discusses the fictional timeline of the Star Trek franchise. The franchise is primarily set in the future, ranging from the mid-22nd century (Star Trek: Enterprise) to the late-24th century (Star Trek: Picard). However the franchise has also outlined a fictional future history of Earth prior to this, and, primarily through time travel plots, explored both past and further-future settings. The chronology is complicated by the presence of divergent timelines within the franchise's narrative, as well as internal contradictions and retcons.