Star Trek was introduced as a television series in 1966. With the publication of novels, comics, animated series, toys and feature films, it grew into a full scale media franchise. Before that it was simply a television serial and known only as such that lasted three seasons.
Star Wars was introduced as a feature film in 19777, when the first film, Star Wars. It quickly grew into a popular media franchise.
Star Trek has its origin in television and was only known as a television series. The franchise was conceived in the style of the television Western Wagon Train and the adventure stories of Horatio Hornblower but adopted in the idealistic, utopian prospect of future human society. Star Trek 's main focus is giving a fictional depiction of space exploration and the system of a galactic society consisting of multiple planets and species. Conflict occasionally occurs. Star Trek occurs in the relative near future (the 22nd through 24th Centuries, with occasional time travel backward and forward) in "our" universe, on an Earth that shares most of real history and throughout the Milky Way Galaxy
Star Wars is an epic space opera was inspired by works such as Beowulf and King Arthur, and the origins of myth and world religions.Star Wars is a story that depicts a galactic society in constant conflict. Though there are periods of peace, this is not documented in the feature films but can be found in the comics and novels and spin-off films. Star Wars is set "a long time ago, in a galaxy far, far away" although many characters are human, speak English (and, in the original films, write in Latin characters), occasionally use Earth metaphors, and exhibit typical human character traits.
In later series, the Star Trek Federation has no form of currency, with all members working towards a common goal, although this is sometimes contradicted on screen. Trade is mainly used to acquire goods. Star Wars' Empire and Rebellion use credits to purchase goods and other items. In early series, Star Trek used "credits" as well.
Aside from having the word 'Star' in their respective titles, the two franchises also share many similarities:
Both stories depict societies consisting of multiple planets and species. The main galaxy in Star Trek consists of various planets, both human and non-human, united into a single state known as the United Federation of Planets. Star Wars depicts a galaxy that is mostly part of a single state known as the Old Republic, inhabited by both humans and countless other species, that later became the Galactic Empire and later reformed into a new society called the New Republic.
Both franchises promote philosophical and political messages, though Star Wars not as much as Star Trek. The main philosophies of Star Trek convey the ethics of exploration and interference and how to morally deal with a new situation when faced by it. Creator Gene Roddenberry was inspired by stories like Gulliver's Travels that implied a morality tale. The main philosophical messages in Star Wars are the ethics of good against evil and how to distinguish one from the other. The philosophy of Star Wars also preaches against the totalitarian system and preaches in favor of societies that give equality to citizens.
In the book Star Wars vs. Star TrekTim Russ, who played Tuvok in Star Trek: Voyager, argues that while both franchises are spectacular, Star Trek comes out better than Star Wars because it has a setting in humanity's future and can connect with the audience better. Russ further goes to acknowledge that his former role as a Star Trek character could be a factor in such judgements.
The two franchises nonetheless have a "symbiotic relationship", states William Shatner, who credits Star Wars for the beginning of the Star Trek films. The documentary Trek Nation features interviews where both George Lucas and Gene Roddenberry praise one another's respective franchises, with the former stating that Star Trek was an influence while writing the original screenplay for Star Wars.
A few references to Star Wars have been inserted into Star Trek films; for fleeting moments one can see ships and droids from Star Wars. (Most Star Trek films and some TV episodes used Industrial Light and Magic, founded to provide effects for Star Wars, for their special effects.)
When Star Trek was being relaunched in the late 1970's, the release of Star Wars is said to have had an effect on plans, both causing the studio to change a planned movie into a TV series (due to fears that the market could only handle one film) and then back to a film again (when Star Wars proved a large market existed).
William Shatner was a presenter at George Lucas' AFI Lifetime Achievement Award ceremony. In 2011, Star Wars actress Carrie Fisher and Shatner posted a series of humorous YouTube videos satirizing each other's franchises. When Gene Roddenberry was honored at a Star Trek convention late in his life, a congratulatory letter from George Lucas was presented by an actor dressed as Darth Vader. (A few years earlier, Roddenberry had contributed an entry in honor of Star Wars and George Lucas at a convention honoring the latter.)
Both franchises are set to grow in the next few years.
Star Trek was rebooted with a series of feature films started in 2009 which was followed by a sequel in 2013 and a number of sequels set to follow.
Star Wars is set to continue by storyline from where Return of the Jedi left off and is being aimed to be at least a sequel trilogy of films before the decision to make more films has been accepted. There will be future episodes such as 7 and possibly 8.
^Empire of Dreams: The Story of the Star Wars Trilogy. Star Wars Trilogy Box Set DVD documentary. 
^See David Alexander[disambiguation needed], Star Trek Creator. The Authorized Biography of Gene Roddenberry and interview with Roddenberry in Something about the Author by Gale Research Company and chapter 11 of Trash Culture: Popular Culture and the Great Tradition by Richard Keller Simon