Q

Q was a highly powerful individual from a race of godlike aliens known as the .
== History ==
Q appeared to the crews of several Starfleet vessels and outposts during the 2360s and 2370s. As a consequence, all command level officers in Starfleet were briefed on his existence thereafter. One such briefing was attended by Benjamin Sisko in 2367. () Q typically appeared as a humanoid male, though he could take on other forms if he wished, and was almost always dressed in the uniform of a Starfleet captain. ()
In every appearance, he demonstrates superior capabilities, but also a mindset that seemed quite unlike what Federation scientists expected for such a powerful being. He had been described, in turn, as "obnoxious," "interfering," and a "pest." However, underneath his acerbic attitude, there seemed to be a hidden agenda to Q's visits that often had the best interests of Humanity at their core. 
On , he was known as "The God of Lies." ()
In the 22nd century, Q had "some dealings" with the El-Aurian Guinan. These encounters resulted in strong antipathy between them. ()
When temporarily rendered Human by the Q Continuum, Q claimed to possess an IQ of "two thousand and five". ()
Q occasionally used verbal contractions in regular speech, but not often, as part of his chaotic god title. 
By 2401, Q was, for an unknown reason, dying, something that he had not believed to be possible. () Not wanting Picard to die alone as Q was about to, he endeavored to unshackle Picard from his past guilt so that he could move forward with his life simply because Q genuinely cared about Picard and wished to help his friend rather than for a grander design of some kind. To this end, Q intervened to save Picard and his friends from the destruction of the and created an alternate timeline by altering the history of the Europa Mission in 2024. After Picard and his friends restored the original timeline, Q revealed his true intentions and used the last of his power to send them home and to resurrect Elnor. Q's death saddened Picard who had come to see the being as a true friend and who ensured that Q was not alone when he finally met his end. ()
In 2402, despite his apparent death, Q appeared to Picard's son Jack Crusher, simply chiding him for thinking too linearly when asked about his death. Q told Jack that while the trial of Humanity had ended for Picard, it had only just begun for Jack. Q's response to Jack's question about his death suggests that either Q never died or Jack was not meeting him in linear order to Picard's last encounter with Q, meaning that this Q may have been a version from before his supposed death. ()
=== Picard and the Enterprise-D ===
==== Trial ====
Q was first encountered by the Federation when he appeared aboard the in early 2364. He warned the crew of the Enterprise that Humanity should return to their home star system or be destroyed.
When he encountered resistance, Q placed Humanity on trial, with Jean-Luc Picard and his command crew as representatives. Q accused Humanity of being a "dangerous, savage child-race". Picard managed to strike a deal with Q, however, and submitted to a test of conduct to prove that Humanity had evolved beyond its previously savage state.
The Enterprises mission to Farpoint Station served as this test. The Starfleet crew sufficiently proved their evolved state of being by discovering and assisting a space vessel lifeform that had been coerced by the Bandi to take the form of a starbase. Q disappeared, but promised the crew they had not seen the last of him. ()
==== Game ====
The next time Q appeared on the Enterprise later that year, he created a bizarre and deadly "game" for the ship's crew, in order to demonstrate that he had given Commander William T. Riker Q-like abilities. His motives for this were that Humans had a desire to grow and explore, which the Q did not have or understand. Q wanted Riker to join the Continuum so they could understand and possess this desire because if they did not, Humanity could one day surpass the Q.
Q and Picard settled on a bet that, if Riker rejected his offer, the Q would leave Humanity alone forever. Ultimately, Riker rejected these new powers, and Q was forced back into the Continuum. ()
Because of those actions, Q was asked to leave the Q Continuum. ()
==== Guide ====
Q's third appearance on the Enterprise was in 2365. He presented himself as homeless and expressed an interest in joining Picard's crew, his reason being that Humanity would eventually push into uncharted territory and would need a guide as they were ill-prepared to face what they would find. He even offered to renounce his powers to prove that his offer was genuine. However, when Picard vehemently declined (inspired by thinking that Humanity could handle any threat), Q hurled the Enterprise into the path of a Borg cube. Ultimately, Picard had to beg for Q's help in escaping from the pursuit of the Borg ship. ()
In that encounter, Q alluded to a past association with Enterprise bartender Guinan. She declined to elaborate on the nature of their relationship, other than to express an extreme dislike for Q. Based on Q's reactions, the sentiment seemed mutual. ()
==== Being Human ====
In 2366, Q was stripped of his power and immortality and transformed into a Human by the Q Continuum, as punishment for his irresponsibility. He sought refuge on the Enterprise, and requested asylum and protection from the beings in the universe whom he had tormented. Though Captain Picard and the rest of the crew were unconvinced of the sincerity of Q's plea and indeed suspected the entire situation was merely an elaborate prank, Picard agreed to provide Q temporary asylum. During a visit to Ten Forward (almost humorously), Guinan took advantage of the situation and stabbed Q in the hand with a fork. Though not a scientist, Q provided theoretical guidance for Geordi La Forge's analysis of Bre'el IV's moon, which was in danger of colliding with its planet of orbit. During that time, Data was assigned to watch Q and Q gained an unusual perspective on Humanity and its condition from observing Data, in turn. However, after a Calamarain attack nearly destroyed Data (who risked his life to protect Q), Q became ashamed of his newly-discovered lack of empathy for other beings, and resolved to leave on a shuttle, allow the Calamarain to kill him, and prevent further risk to the Enterprise crew. Another Q intervened at that point, acknowledged Q's selfless act and restored his powers as a reward. In gratitude, Q corrected the orbit of the moon and also gave a special gift to Data, his "professor of the Humanities", a brief moment of genuine laughter. ()
==== Meeting Vash and acting as benefactor ====
In 2367, the Enterprise crew encountered a woman claiming to be the mythical Ardra of Ventax II. Her demonstrations of omnipotent power resembled those of Q, to the extent that the Enterprise crew speculated that she might be of the Q Continuum or perhaps Q himself. Picard pointed out that the woman's obsession with the Contract of Ardra was atypical of Q and her powers were later proved to be the product of sophisticated technology rather than any innate ability. ()
Later, in 2367, Q returned to the Enterprise to "properly" thank Captain Picard for his role in helping him regain his standing in the Continuum. At the time, Picard was meeting a past lover named Vash (whom he had met on Risa) the year before. () Q resolved to teach Picard a lesson about love, and cast Picard, Vash, and the Enterprise command crew into an elaborate scenario styled by the ancient legend of Robin Hood. Q himself assumed the role of the High Sheriff of Nottingham. Ultimately, Picard learned and everyone was returned to the Enterprise. However, intrigued by Vash, Q offered to take her on a journey of exploration to various archaeological ruins of the galaxy and she accepted. To pay his debt to Picard, he promised no harm would come to Vash. ()
In 2369, he once again appeared aboard the Enterprise-D, this time to instruct Amanda Rogers, a seemingly Human female who developed Q powers during an internship with Doctor Beverly Crusher. Shortly after Rogers' birth, the Continuum used a tornado to execute Rogers' parents, two Q who had assumed life as Humans on Earth, for being unable to resist using their powers while in Human guise. Although Q's petulant and acerbic attitude did little to ingratiate himself to Amanda, he eventually convinced her to go with him to the Continuum to learn to use her new-found abilities. ()
A few months later, Q followed Vash back to the Alpha Quadrant, after the discovery of the Bajoran wormhole created a new avenue of travel between there and the Gamma Quadrant. Having had so much fun with Vash, Q wanted to continue exploring the galaxy, but Vash wanted nothing to do with him. While the two were at Deep Space 9, mysterious power drains were thought to be Q's doing, but they were, in fact, due to an embryonic lifeform that Vash had unknowingly returned from the Gamma Quadrant. Q had a brief confrontation with Commander Benjamin Sisko during his visit and disrupted an auction that Quark and Vash staged in Quark's. Though he was intrigued by Sisko hitting him as Picard never did, Q eventually became bored because "Sisko was so different than Picard," being so much easier to provoke. One might speculate that Q's actions were intended to ensure Vash's safety in regards to the promise that he had made to Picard two years earlier. In the end, Q and Vash went their separate ways, though both eventually admitted to retaining a certain fondness for each other. ()
Later that same year, Q appeared to Picard when the latter was critically injured in a Lenarian ambush. Appearing as "God", Q told Picard he died because of his artificial heart and offered him the chance to return to the incident in his youth, which allowed him to relive the events leading up to his near-fatal injury and change history. Though Picard was successful in changing history, he eventually realized the event – and his previous nature as an arrogant, brash young man – was a part of his identity, and had helped mold him into the successful Starfleet officer he became. Even though he was uncertain as to whether the experience had been real or simply a vision, Picard was grateful for Q's revelation. ()
==== Never-ending trial ====
In 2370, Q returned to the Enterprise to continue the trial against Humanity. Claiming the seven-year-old trial never actually ended, Q proclaimed Humanity guilty of "being inferior" and informed Picard that his race was to be destroyed. He sent him traveling through time to his own past and present, as well as to a potential future. In all three time periods, Picard was presented with a temporal paradox in the form of an eruption of anti-time in the Devron system. In that paradox, Picard himself was responsible for the creation of the anomaly, which propagated backward in normal time, anti-time having the opposite properties of normal time, thus destroying Humanity in the past.
In addition to sending Picard jumping through time, Q provided him with hints to understanding the nature of the paradox. Ultimately, Picard determined the solution and devised a way to close the anti-time anomaly in all three time periods. Following the success, Q revealed that the entire experience had been a test devised by the Continuum and had been aimed at determining whether Humanity was capable of expanding its horizons to understand some of the advanced concepts of the universe, including the potential of Humanity's own evolution – but helping Picard had been his idea. Q promised to continue watching Humanity and proclaimed that "the trial never ends." ()
=== Janeway and Voyager ===
==== Quinn ====
In 2372, Q was sent by the Continuum to board the , whose crew had unintentionally released a renegade Q from confinement in a rogue comet. When the other Q (later known as "Quinn") asked for asylum on Voyager in order to fulfill his wish to commit suicide, an act considered illegal in the Continuum, Q was permitted to represent the Continuum at a hearing to determine whether the requested asylum would be granted. Q argued that permitting a Q to commit suicide would cause unspeakable chaos and disorder – a profound irony, considering Q's own history as a prankster and renegade. When confronted with his past deeds, Q commented that [his] record has been expunged.
Ultimately, Quinn's arguments prevailed and he was made into a mortal being. Q himself was touched by Quinn's dedication and beliefs – Quinn had previously been an admirer of Q's because of Q's propensity to stir controversy and spread chaos – and actually provided Quinn with the means with which to commit suicide. Q resolved to return to some of his old habits and to encourage the Continuum to allow more chaos into their own order. ()
==== War ====
Following the death of Quinn, a massive Q Civil War broke out as the forces of the status quo resisted the calls for change in the Continuum, by a faction led by Q himself. Seeking to end the conflict, Q devised a plan to mate with Kathryn Janeway, the captain of Voyager, in order to create a new Q / Human hybrid – a new breed of Q that would help bring an end to the civil war. However, Janeway flatly refused.
Q kidnapped Janeway and took her to the Continuum, where he again tried to persuade her by explaining the nature of the conflict. However, Janeway again declined, though she openly sympathized with Q for his inability to understand love and tried to negotiate a truce between the two sides. However, those negotiations failed because the status quo faction refused to accept any terms other than surrender. They tried to execute both Q and Janeway, but they were stopped by personnel from Voyager, with the assistance of , an old flame of Q's. Q and the female Q were able to equip Janeway and the rest of Voyagers crew with Q weapons, which they were able to use to battle the opposing status quo faction.
Q proposed mating with his old girlfriend instead of with Janeway and she agreed. The new child, nicknamed "," became the first child born in the Continuum for millennia and his presence brought an end to the civil war. ()
==== Junior ====
Regardless, Q's child did not prove to become the perfect "savior" child he was meant to be; he grew into a spoiled brat and caused chaos and disorder. Q tried to briefly leave his son with "Aunt Kathy" aboard Voyager and hoped that Janeway's "vaunted Starfleet ideals" would rub off on him. Q himself began to learn more about the role of being a parent, revealing that much of Junior's actions were not punished properly by Q. However, after spending years with the child, Junior only began to behave worse. As a result, the Continuum stripped his son of his powers, left him aboard Voyager (again under the care of Janeway), and told him to change his ways within a week or he would be sentenced to spend eternity as an Oprelian amoeba.
Though Q was initially unimpressed by his son's progress, he devised a test of "Q-ness" to determine whether his son had improved his attitude. He masqueraded as a Chokuzan captain and threatened Junior and his friend Icheb after they took the from Voyager. Junior passed with flying colors and offered to sacrifice himself to face the consequence of his actions, which had endangered Icheb.
However, the Continuum was not impressed by Junior's progress and sentenced him to remain a Human. Outraged, Q proclaimed he would leave the Continuum if his son was not allowed to rejoin – the pair was a "package deal". "Begging for [Q's] return" as a deterrent to instability, Q earlier stated that he "holds them all together", the Continuum acquiesced, on one condition – that Q retain eternal custody of the boy. Grateful for her assistance, Q provided Janeway with a map to a shortcut that would shave three years off Voyagers journey home. Janeway asked Q why he did not send them all the way back to Earth and his response was that it would be setting a bad example for his son if he did all the work for them. ()
=== The Cerritos ===
Q's reputation preceded him aboard the , when in 2380, he was referenced by Ensign Brad Boimler in a simile explaining the existence of his girlfriend, Lieutenant Barbara Brinson, whom he described as being "as real as a hopped-up Q on Captain Picard Day." ()
That same year, he made multiple appearances aboard Cerritos. At one point, while wearing a variation of his judge's garb, he abducted four members of the bridge crew to participate in one of his challenges. He dressed the crew up as chess pieces, and put them on a large chessboard, but had anthropomorphic playing cards holding hockey sticks as the opposing pieces, football goalposts at either end of the game board, and a singing, dancing soccer ball. 
After the Cerritos left K'Tuevon Prime, Q appeared before Ensigns Beckett Mariner, Brad Boimler, Sam Rutherford, and D'Vana Tendi to challenge them. Mariner told him they were not in the mood and walked away, even as Q followed them and urged them – in vain – to continue, and lamented that he found Picard to be boring. ()
===The Road Not Taken===
At some point prior to 2401, Q began to experience a change he believed was impossible: despite everything he believed about the Q as a species, Q was not truly immortal, and he realized that he was going to die. Symptoms of this phenomenon were that Q had begun to lose his powers. Q thought of it as being on "the threshold of the unknowable" and believed that he was about to be "enveloped in the warm glow of meaning" now that his life had a definite end in sight. ()
In 2401, three decades after their last encounter, Q visited Picard at his home on Earth. After having ordered to self-destruct in order to stop the Borg from seizing control of the Starfleet armada, Q had intervened to stop Picard's death. () Picard had awoken in his home to find that not only was he alive, but several things had changed. Picard turned to face Q, and Q remarked that Picard was older than he imagined. Snapping his fingers, Q updated his appearance to more closely match the aged Picard and reminded Picard about the words that he imparted to him when they last parted ways, "the trial never ends." Q reminded Picard about how he had talked about second chances and told him that he was now at the "very end of the road not taken." ()
Following Picard's question as to where they were, Q explained to Picard that he had brought him "home". After Picard inquired about the whereabouts of the Stargazer crew, Q admitted that there was no Stargazer. Picard demanded to know what Q had done, to which Q responded that he had merely shown Picard a world of his own making and stated that it was "Human" of Picard to instead blame him. Picard angrily asked if Q had had enough of playing games with other peoples' lives and exclaimed that he was no longer Q's pawn, to which Q answered that Picard was much more than a pawn – he was instead the "very board upon which this game is played". When Picard told him that he was too old for Q's "bullshit", Q angrily affirmed that Picard was old, and lamented that time was unfair and had presented Picard with "so many wrinkles... so many disappointments." Picard demanded that Q get to the point, to "cut to the chase". Q rambled to Picard about the chase bleeding out and how he was a suture on the wound. Noticing Q's odd behavior, Picard asked Q if he was unwell. Q responded by transporting them both to the vineyard.
At the vineyard, Picard asked again what had happened to the crew of the Stargazer, and Q acknowledged that he had intervened because he had wanted to see him. Picard demanded that Q tell him what he wanted, and Q told him that while he could tell him, Picard was too clever to listen. Picard told Q that he had enough of Q's patronizing, and Q struck Picard, angrily telling Picard that he had had enough of Picard's stubbornness, obstinance, and "insistence on changing in all ways but the one that matters". Q declared the situation was not a lesson but instead a penance. Q explained that in Picard's original history, Humanity had found a way to spare the planet they were "murdering", but in this timeline, Humanity "keeps the corpse on life support". Q once again transported Picard back inside the château, where he revealed several alien slaves working for Picard. Despite Picard's insistence that he would never do this, Q stated that "such moral convictions are the luxury of the victors".
Q brought Picard inside the trophy room, explaining the life that Picard had led in this new timeline. Q talked through several of Picard's trophies – including the skulls of Dukat, Martok, and Sarek, all of whom this timeline's Picard had executed in brutal fashion. Q called Picard "the most bloodthirsty, merciless, ruthless Human to ever set out to conquer the galaxy" and asked if Picard wished to see what else had been lost thanks to Picard's fear. He offered Picard a choice: he could remain as he was in this world, trapped inside "the body of a madman, in the world of a madman", and try to "wash the blood" from his hands for the brutal murders committed by his counterpart – though Q deemed that to be "unwashable". Q offered an alternative: Picard could show atonement, possibly forgiveness. When Picard asked what he would be forgiving, Q answered cryptically that Picard already knew. Q stated that he would not let Picard take this on alone. Picard refused Q's choice and Q left him alone.
Picard would later inform Seven of Nine and Raffaela Musiker of his encounter with Q, and explained that Q would in the past put him to the test using "games" such as the situation they found themselves in. He told them that he felt that there was something wrong with Q, as he was acting stranger than usual. 
A Borg Queen held captive in Agnes Jurati's laboratory was able to perceive the fracture in the timeline and calculated that Q had implemented a single change in the year 2024 to create the current timeline. () Q briefly appeared again to Picard aboard to repeat his words about this being the only life Picard understood. ()
Q later observed Renée Picard reading a book before she undertook the Europa Mission. Q attempted to amplify Renée's fear about the upcoming mission, but his powers failed. ()
He next attempted to get assistance from Adam Soong, whom he promised to give a cure for his daughter's genetic disorder. ()
During a gala celebrating the Europa Mission, Q, posing as Renée's therapist, encouraged her not to go on the mission and nearly succeeded. However, Picard successfully foiled Q's plan. In response, a desperate Soong tried to run down Renée, only to have Picard take the hit himself in order to save her life. ()
Jean-Luc survived and met with Guinan, who performed an El-Aurian ritual in an effort to summon Q. The ritual appeared to fail, and shortly after, Guinan and Jean-Luc were arrested by a team of FBI agents led by Martin Wells. () Q had heard the summons, however, and visited Guinan in prison, where she realized that Q was dying. Q imparted to her that he was trying to find meaning in his remaining time, and that he was using Jean-Luc as a means to that end. He also demonstrated his loss of power by attempting unsuccessfully to vaporize Guinan. Q left with a parting statement that Humans were "all trapped in the past", which gave Guinan the clue she needed in order for Jean-Luc to pry into Agent Wells' past in order to secure their release. ()
Q later hacked himself into a virtual reality program operated by Kore Soong, to reveal to her the truth and offer himself as an ally, in spite of Adam Soong not keeping his end of their bargain. Kore removed the VR headset to end the conversation, but Q had left the permanent cure – labeled "freedom" – in the airlock for her. ()
After the success of the Europa Mission and the restoration of the original timeline, Picard encountered Q in his home after leaving the skeleton key for his younger self to find in the future. Q noted that although Picard had the chance to potentially save his mother and change his own future, he instead accepted himself as he was and absolved himself. Because Picard had chosen himself, he may now be worthy for someone else to choose and he may even give himself the chance to be loved. Q reminded Picard that he'd told Picard that this was about forgiveness: Picard's own forgiveness of himself. Q stated that Picard had fixed all of the deaths that Q had caused by altering the timeline aside from Tallinn and Elnor. However, Tallinn was always destined to die in every timeline, but thanks to Picard's intervention, Tallinn had met Renée in this one. Picard asked why Q had taken such an interest in him for over thirty years and Q explained that he was dying alone and he didn't want that for Picard. Q had elaborated: "Even gods have favorites, Jean-Luc, and you've always been one of mine." As such, he had set it up so that Picard would travel back in time and in a round about way come to terms with his mother's death and absolve himself of his perceived responsibility for the event. "As I leave, I leave you free." For once, Q was not acting as part of some grander design but simply because he cared about Picard and genuinely wanted to help his friend.
Gathering outside, Q prepared to use the last of his power to send Picard and his friends back to their own time, something that would kill Q in his weakened state. With Rios choosing to stay in 2024, Q told Picard that he had an unexpected surplus of energy that he would use to give Picard one last surprise gift. Stating that Q didn't have to die alone, Picard hugged him and an emotional Q promised to "see you out there" and snapped his fingers, sending Picard, Musiker, and Seven back to 2401 moments before the Stargazers destruction, allowing Picard the chance to change his future. Shortly thereafter, the group discovered Q's final gift: Q had resurrected Elnor and returned him to the Excelsior. ()
===Visiting Jack Crusher===
In 2402, Q appeared to Jack Crusher aboard the . Jack immediately recognized the being, having heard about Q from his father Jean-Luc Picard. Jack was surprised as Q was supposed to be dead, but Q simply stated that he was hoping that "the next generation wouldn't think [time] so linearly", echoing what Q had tried to teach Picard decades earlier, and told him that Jack had much ahead of him. While Humanity's trial was over for Picard, Q was here to inform Jack that his trial had only just begun. ()
== Q's disguises ==
File:Picard meets Q for the first time.jpg|Q as a 16th century sea captain
File:Q with cigarette.jpg|Q as a 20th century USMC captain
File:Q 21st Soldier.jpg|Q as a 21st century Earth Army soldier
File:Q as judge, 2364.jpg|Q as a judge
File:Aldebaran serpent.jpg|Q as an Aldebaran serpent
File:Q appears as Data.jpg|Q taking Data's appearance
File:Q as a Franciscan monk.jpg|Q as a Franciscan 
File:Q admiral.jpg|Q as a Starfleet admiral in a dress uniform
File:Q as French marshal.jpg|Q as a French marshal
File:Q as starfleet commander.jpg|Q as a Starfleet commander
File:Q, Bajoran waiter.jpg|Q as a Bajoran waiter
File:Q as Union Army captain.jpg|thumb|Q as a 19th century Union Army captain
File:Chokuzan commander.jpg|Q as a Chokuzan commander
== Locations "created" by Q ==
* A post-atomic horror courtroom of 2079 ()
* The planet of the animal things ()
* Sherwood Forest ()
* The afterlife ()
* The puzzle planetoid ()
== Appendices ==
=== Appearances ===
 
* 
** (Season 1)
** 
** (Season 2)
** (Season 3)
** (Season 4)
** (Season 6)
** 
** (Season 7)
* (Season 1)
* 
** (Season 2)
** (Season 3)
** (Season 7)
* 
* 
** (Season 2)
** 
** 
** 
** 
** 
** 
** 
** (Season 3)
=== Background information ===
Q was played by John de Lancie; Q as the Chozukan commander was played by Michael Kagan.
The idea of Q was conceived by Gene Roddenberry as a way to help fill out the events of "Encounter at Farpoint" from a one-hour to two-hour running time. () The name "Q" was chosen by Roddenberry in honor of an English Star Trek fan named Janet Quarton. She was the first president of the UK Star Trek fan club, and Roddenberry and many others spent time at her home, in the Scottish highlands. (; )
Immediately after Roddenberry invented the character of Q, the other members of the TNG preproduction staff realized it was very reminiscent of the character Trelane from the episode . "We're all looking at each other, saying, 'It's Trelane [from the original series] all over again," remembered David Gerrold. "We all hated it and very gently suggested to Gene that it wasn't very good. Of course, this fell on deaf ears. He said, 'Trust me, the way I'll do it, the fans will love it." (The Fifty-Year Mission: The Next 25 Years, p. 67)
In an interview, de Lancie likewise drew parallels between Q and Trelane, feeling Gene Roddenberry had explored his storehouse of effective creations in writing The Next Generation and had found one that would turn out to be highly successful again in The Next Generation. In another interview, de Lancie stated that, upon thinking of ways to describe Q's character, he had remembered a famous quote made about : That he was "mad, bad, and dangerous to know." (Star Trek 25th Anniversary Special)
Minimal makeup was used for the character of Q. "We always defined Q with a little eye makeup and a little lip color, just to make him stand out," recalled Makeup Supervisor Michael Westmore. ()
Production designer Herman Zimmerman was influential in the depiction of Q as a judge presiding over a courtroom. In the script of "Encounter at Farpoint," Q seemed to be floating in that area, though none of the production crew could figure out precisely how to show Q floating without resorting to visual effects for every one of those shots. Ultimately, Zimmerman suggested putting de Lancie on a camera crane and bringing him into the courtroom out of a black hole, which was exactly how Q's arrival in that scene was shot. ()
The depiction of Q in "Encounter at Farpoint" turned out to be extremely popular. Yar actress Denise Crosby commented, "The character of Q, and the way John de Lancie was playing it, was really interesting." Rick Berman noted, "I think [Q] was certainly the most memorable element of that opening episode." "Encounter at Farpoint" Director Corey Allen remarked, "Q was so clearly a wonderful idea of Gene's, about the questions we all ask ourselves; he was the interrogator that each of us carries on our shoulder." Herman Zimmerman observed that his idea of having Q arrive in the courtroom on a camera crane "worked very well." (, pp. 19, 28, & 30)
Though a first draft script of TNG Season 1 episode that Maurice Hurley penned was substantially rewritten by Gene Roddenberry, the character of Q still intrigued Hurley thereafter. He thought of Q as an unreliable god and subsequently intended for him to feature in a story arc through the second season. Due to a writers' strike though, he was only returned in the Season 2 episode before Hurley left the series. ()
Rob Bowman, who got an opportunity to direct de Lancie as Q in "Q Who," enjoyed the experience, finding that de Lancie was easy to direct in the role. "He really had a grasp of the peculiarities of that character," Bowman remarked. ()
Though Q was a recurring character over a relatively long time, he was used sparingly by the Star Trek producers in case fans got tired of him. Gowron actor Robert O'Reilly once likened these circumstances to his own situation, regarding his portrayal of Gowron. () Writing staffer Ronald D. Moore commented, "Q was a fascinating character, but I thought that he should be carefully rationed through the series. I thought if you played him about once a season, that was the most you wanted to use him." (Star Trek: The Official Starships Collection, issue 90, p. 17)
Devising Q stories challenged the writing staff of Star Trek: The Next Generation due to the character's omnipotence. Q could not be made completely into an adversary as he could simply wipe all the characters out of existence. The fact he was intended to be all-powerful also raised the question of why he even bothered with Humans and their allies. Both Ronald D. Moore and Jeri Taylor found it difficult to write for the character, though Moore also regarded doing so as "fun" because Q's extreme powers allowed the writers a wide variety of stories they could feature him in. ()
Following Q's appearance in , the possibility of him making another visit to DS9 was dismissed by Ira Steven Behr, when he remarked, "I don't foresee Q being back on the show. To me, his relationship with Picard was gold. And I don't think we can top it." Ron Moore agreed, "The secret to Q was the Q and Picard relationship. Q was in love with Picard, for some reason. That was the underpinning of the relationship, which was why, when he came to Deep Space Nine, he wasn't as effective a character. The weird love affair that he had going with Jean-Luc made that whole thing work, and it made '' work, and ultimately it made '' work." (Star Trek: The Official Starships Collection, issue 90, p. 17)
Q was originally rumored to make an appearance in ; however, Michael Piller ultimately put those rumors to rest. 
In , Q placed eleventh in TV Zones list of the top twenty science fiction television villains, along with several other Star Trek characters; the Borg Queen was second, Dukat was fourth, Weyoun was eighth, and Seska was nineteenth. However, despite his listing, Q is not necessarily a villain, but more of an anti-hero.
Along with Quark, Morn, and Evek, Q is one of only four characters to appear in all of the first three Star Trek series based in the 24th century: Star Trek: The Next Generation, , and . Of these four, Q is the only one who did not appear in .
Of the thirteen Star Trek episodes featuring Q prior to Season 2, eight of them use the letter "Q" in the title, often forming a pun.
In , having Harcourt Fenton Mudd say "Adieu, mon capitaine" to Captain was intended as an homage to Q. 
Q was the first character to ever use the word "trek" in a Star Trek film or episode, which he does in the Star Trek: The Next Generation series finale "All Good Things...". However, Zefram Cochrane is the only character to utter the phrase "star trek," doing so in .
=== Apocrypha ===
According to Q in the String Theory books, omnipotent beings were actually rather fond of games of choice and chance as it was only under those conditions that beings such as Q could feel the thrill of not being in total control.
Besides the character of Trelane having been an inspiration on the conception of Q in reality, they were both featured in Q-Squared, in which Trelane was actually described as a "child" member of the Q Continuum, even implied to be Q's own illegitimate son. 
The reason for Q's original interest in Picard in particular was explained in the novel The Buried Age, which also revealed he chose to call himself "Q" as he felt that his original choice of 'The Inquisitor' would be too complicated for Humans to say regularly, speculating that, if ever asked why he called himself 'Q', he would reply, "Because U will always be behind me."
The audio play "Spock Vs. Q: The Sequel" suggested there was at least one individual "above" Q, naming herself "Petunia", who, in the play, seemed to have taken Q's powers and placed him, together with Spock, on an asteroid.
In the novel Q-in-Law, Q meets Lwaxana Troi who developed romantic feelings toward him when the two came to the Enterprise during a significant wedding in 2366. Q used this to his advantage to perform a cruel experiment on the nature of the Human emotion of love and Q briefly shared his vast power with Lwaxana. When Q was finished with his experiment to prove that love made others blind to faults in their chosen partner and fixated on their own desires, citing as proof how Lwaxana had ignored all the warnings that he would do exactly this, he tried to take the power back without success. Lwaxana used her power to thoroughly humiliate Q as he had humiliated her. It was later revealed that Q2 was responsible for preventing Q from removing Lwaxana's powers as a way to teach Q another lesson about interfering in the lives of mortals.
Q returned in the Star Trek: Ongoing story arc The Q Gambit. Beginning shortly after the events of Star Trek: Countdown, Q visits Picard on board the , informing Picard that Spock was still alive and that the black hole he was pulled into actually sent him into an alternate reality. When Q tries to discuss this timeline, Picard cuts him off, believing that the various timelines should remain separate from one another. Annoyed, Q reveals he had come for Picard's counsel as Spock had set off a chain of events that would doom that timeline. But since the former captain was uninterested, Q took his leave for the other timeline despite Picard's attempt to call him back. Materializing aboard the on Stardate 2261.34, Q introduces himself to by way of masquerading as a security officer (and complimenting the shiny aesthetic of the ship).
To test Kirk's established lack of belief in a "no-win scenario", Q replicates the in an attempt to teach Kirk that no-win scenarios are a reality. Kirk is undaunted and reveals that no matter what, he does not believe in a no-win scenario. Q takes them both back in time to when Kirk died saving the Enterprise. As the two watch the event, Q asks Kirk if this constitutes Kirk beating the ultimate no-win scenario before revealing he will show Kirk a scenario where failure is a certainty. He then sends the Enterprise and its crew over a hundred years into the future where the Federation no longer exists and the Dominion established an alliance with the Cardassian Union and took over the Alpha Quadrant while existing in a state of cold war against the Klingon Empire.
Q sporadically appears to Kirk throughout the adventure, offering vague advice as well as assuring that he and his crew would not be confined to these dire circumstances forever. After Gul Dukat had merged with a Pah-wraith and intended to ascend to godhood, Q finally appears to Kirk and reveals to him the true magnitude of the stakes: The higher species are at war and the Q Continuum is on the verge of defeat. Galvanized by their victory over the Prophets, the Pah-wraiths have turned on their other neighbors. Not even the Q can stop their onslaught because in spite of all the power they wield in the three-dimensional universe, they are as powerless and clueless as Humans in their own realm. Unable to find a path to victory, Q left to seek the counsel of Picard on what action to take. But when he could not get an answer, Q intended to instead seek the counsel of Kirk for his experience in triumphing over no-win scenarios.
When Q, Kirk, , and Sisko are brought aboard the Enterprise as prisoners, Dukat kills Sisko, who transfers the last Prophet to Spock, and Spock then transfers the Prophet into Q through a mind meld. This causes the two to merge into an even more powerful entity, one readily capable of quelling the Pah-wraith threat. After returning the Enterprise and its crew back to their proper places in time and making it so that only Kirk and Spock remember what happened throughout their ordeal, Q returns to Picard to inform him of his latest adventure. Flatly, Picard said he did not want to know.
In "Connection, Part 1", Q is mentioned when Kirk switches minds with his prime timeline counterpart and Kirk initially assumes Q was messing with him again, with a confused Chekov asking who Q is.
John de Lancie shared his own origin story for the Q in an interview following the conclusion of his arc in : "I gave myself a story, which was, Plato’s Cave. “There’s a cave with an entrance [that] the sunlight goes through, there are Humans who are chained inside the cave and can only see the wall of the cave. Therefore, everything that goes in front of the cave becomes a projection on the wall. So they are only seeing shadows. Continuing the story, one of them breaks his chains, goes out to the entrance, goes outside, and goes ‘Oh, my God, that is reality – that is truth out there.’ Comes back, [and] tells the Humans, ‘These are just shadows, I’m a philosopher now, I’m giving you the truth.’ And of course, they kill him. So I had in my head, what are the Q? The Q are in fact the [people] who are chained, who watch the wall. We are the witnesses, but we are only seeing the shadows. So what have I done? I’m the one who has broken out. And I’m traipsing through the universe trying to actually get the real deal. That was my backstory." 
Q and the Q Continuum appeared in the following non-canon works:
 
* Audio:
** Spock Vs. Q
** Spock Vs. Q: The Sequel
** Star Trek: Borg - Experience the Collective
* Novels:
** Q-in-Law
** Q-Squared
** 
** I, Q
** :
*** Q-Space
*** Q-Zone
*** Q-Strike
** Star Trek: New Frontier:
*** #9: 
*** #13: Gods Above
** Star Trek: Voyager - String Theory:
*** 
** 
** The Buried Age
** The Eternal Tide
** Novelizations:
*** 
*** 
** Reference books:
*** Q's Guide to the Continuum
* Comics:
** ""
** DC TNG volume 1:
*** #3: "Q Factor"
*** #4: "Q's Day"
*** #5: "Q Affects!"
** DC TNG volume 2:
*** #33: ""
*** #34: "Devil's Brew!"
*** #35: ""
*** #79: "Artificiality"
*** #80: ""
*** Annual #1: ""
** #7: "An Infinite Jest"
**Star Trek: Ongoing:
***"The Q Gambit, Part 1"
***"The Q Gambit, Part 2"
***"The Q Gambit, Part 3"
***"The Q Gambit, Part 4"
***"The Q Gambit, Part 5"
***"The Q Gambit, Part 6"
* Games:
** Star Trek: Borg
** Star Trek: The Game Show
** Star Trek: ConQuest Online
** Star Trek Online
** Star Trek Timelines
=== External links ===
* 
* 
ca:Q
de:Q
es:Q
fr:Q
ja:Ｑ
nl:Q
ro:Q
pl:Q (gatunek)
pt:Q
ru:Q
sv:Q
Category:Q