Trials and Tribble-ations (episode)
When Temporal Investigations arrives on Deep Space 9, Sisko recounts how he and the crew of the Defiant traveled back in time to the 23rd century to prevent the assassination of Captain James T. Kirk during the original Enterprises mission to Space Station K-7.

Summary

Teaser

Lucsly and Dulmur from Temporal Investigations arrive on Deep Space 9 aboard the  and are welcomed into Ops by Major Kira and Lieutenant Commander Dax. The investigators ask for Captain Sisko, and Kira directs them to his office. Before they go in, Dax makes a joke about how temporal investigators are always on time. But this elicits absolutely no response from the apparently humorless investigators, who promptly go into the captain's office.

Sisko asks if they want anything to drink; they say they only want the truth. Dulmur asks Sisko why he took the  back in time. Sisko says it was accidental and he confirms that he is not contending their trip back was a predestination paradox, a statement which relieves the investigators, as they hate predestination paradoxes. When they ask him to start at the beginning, Sisko tells them this may take some time and then assures them that he's not cracking a joke, something the investigators say they hate as well. Sisko tells them that two weeks prior, the Cardassian government had expressed a desire to return one of the Bajoran Orbs that they had procured during the Occupation, so the Defiant traveled to Cardassia Prime – under cloak to avoid detection by the Klingons – to collect it, without knowing which orb it was or even if it were genuine, as many counterfeit orbs had emerged over the years. Though they were unaware of this at the time they recovered it, they had indeed gained possession of the Orb of Time. Sisko had security lock the Orb in crew quarters so it could be authenticated on Bajor. Before leaving Cardassia Prime, they took on a passenger.

 Worf brings a man into the Defiants mess hall who, upon seeing Chief O'Brien and Dr. Bashir, expresses his relief to finally see Humans again. Worf introduces the man as Barry Waddle, a Human merchant who had been trapped on Cardassia when the Klingons attacked. He is an elderly, seemingly harmless man. Waddle says he deals in gemstones, mostly kevas and trillium. While he orders a raktajino from the replicator, he tells O'Brien and Bashir about how Cardassians drink hot fish juice in the morning and that after being on Cardassia for a time, he was hoping for a Klingon invasion as they can make good coffee, even if they are foul-smelling barbarians. He then notices Worf is right there, apologizes to him, and steps away. O'Brien and Bashir gently tease Worf about his aroma, telling him he has a rather earthy, peaty aroma with a touch of lilac – which only serves to annoy Worf further.

On the bridge, as the Defiant is halfway back to Deep Space 9 and Sisko tells the investigators that he was finally beginning to relax, O'Brien relays the story of the incident in the mess hall with Worf to Dax and suggests that she mention lilac the next time she sees him, but she refuses, saying she has her own ways of torturing Worf. "Don't look at me," Sisko responds. At that moment, O'Brien announces a massive surge in chroniton radiation around the ship as the entire bridge glows brightly. The viewscreen shows nothing but white noise. The ship drops out of warp and decloaks as someone activates the transporter. Sisko orders Dax to get the ship back under cloak and deactivate the transporter, but it is already too late, as the individual has already left the ship. Just then, as the ship gets back under cloak, Dax tells Sisko that they are now over two hundred light years from their previous position. Sisko orders the viewscreen activated and the sight they see on the screen shocks them all; a  starship, marked NCC-1701… the original Starfleet-registered .

Act One
In Sisko's office, Dulmur asks him to specify which Federation starship Enterprise as there have been five, but Lucsly quickly corrects him, saying there are now six. Sisko clarifies that it was the first Enterprise, the , NCC-1701. The investigators sit back in their seats in horror at the realization it is "his" ship, James Kirk's, which Sisko proudly confirms. The enraged investigators both call Kirk a menace, saying that his file, containing seventeen separate temporal violations, is the biggest on record. They ask what the Enterprise was doing, and Sisko says it was orbiting one of the old deep space stations, K-7, exactly one hundred and five years, one month, and twelve days previous, on Stardate 4523.7, a Friday.

Sisko's story continues. Back on the Defiant, a briefing is occurring with the senior staff. Worf and Odo have discovered that Waddle's "real" name is Arne Darvin, a Klingon surgically altered to appear Human. Worf tells Sisko that the younger Darvin is, at that moment, on board K-7, posing as a Federation official. Odo picks up and tells Sisko that the younger Darvin's mission was to derail Federation colonization efforts in the area by poisoning a load of grain which was – or rather, is – stored on K-7. However, in eighteen hours, Kirk will expose Darvin and he will be arrested. Worf tells them that Darvin's arrest ended his career, as Klingon Intelligence turned their back on Darvin and he became an outcast, apparently spending the next hundred years eking out a meager living posing as a Human merchant. And then, in what Odo calls a "final indignity," he was trapped on Cardassia by the Klingon invasion. Sisko then is able to pick the rest of the story up from there. Apparently, Darvin then heard rumors about an Orb capable of taking him back in time. Bashir wonders if Darvin may be going to warn his younger self about Kirk, but Dax thinks Darvin may be planning to kill Kirk. And not knowing how or where or when, Sisko decides that they will have to search both K-7 and the Enterprise without raising suspicions or altering the timeline themselves, as he ironically notes that the last thing he wants is a visit from Temporal Investigations when they get home.

So the crew starts to blend in. Odo and Worf change into civilian traders' clothing, and Sisko, Dax, O'Brien, and Bashir all change into old-style s, with Dax taking the extra precaution of applying makeup to cover up her spots.

Stepping out into the corridor, Sisko, who is now wearing a gold command uniform with lieutenant's stripes, sees Bashir, still in sciences blue, albeit with an appropriately altered hairstyle, Sisko tells him that he went with lieutenant's rank because he didn't want to arouse suspicion. Just then, O'Brien appears in a red support uniform, with ensign's insignia, and Bashir asks if Sisko and O'Brien are wearing the wrong colors. O'Brien asks if Bashir knows anything about this time period, and he denies having such knowledge, as he is a doctor, not a historian. Sisko clarifies that the colors were switched in Kirk's era. Dax then appears in the miniskirt uniform of the day (though in operations red rather than her usual sciences blue), saying that "women wore less," and the doctor, unsurprisingly, declares that he will like this time period.

In the Defiants transporter bay, O'Brien reports that the old-style duotronic sensors the Enterprise used allow for tiny interruptions in the scan cycle enabling the Defiant to decloak for three seconds and beam everyone to where they need to go. Worf and Odo are sent to K-7. Worf reports that most of K-7 consists of storage areas and industrial fabrication facilities, and since security on a space station such as K-7 is not as tight as it would be on a starship, they do not expect to have to take long to search the station. The other four go to the Enterprise, O'Brien and Bashir together, and Dax and Sisko together, each pair to opposite ends of the ship. After reminding everyone to do their best not to interact with people from this time period, Sisko and Dax go first, beam into a turbolift and step out into a corridor on the Enterprise.

Act Two
Bashir and O'Brien beam into another turbolift and try to proceed to Deck 21. O'Brien's vocal command goes unheeded and, not knowing what could be wrong with the turbolift, they try to take an intercom panel off to see what's happening when they're interrupted by the lift's doors opening. A  steps in, nods to O'Brien and Bashir, takes one of the handles on the side of the turbolift and orders it to Deck 15. Sheepishly, O'Brien and Bashir take hold of the handles near them and Bashir whispers to O'Brien, "I won't tell anyone if you won't."

Dax marvels as to how many people are packed into the ship. Finding an auxiliary communications juncture, Sisko pretends to do repairs and Dax admires the "classic" 23rd century design of the Starfleet tricorder she carries, but Sisko quiets her before she attracts anyone's attention.

On K-7, Odo steps into the station's bar and sits down at a table, discreetly pulling out a portable scanning device. As he does, the door opens again, admitting Ensign Chekov and Lieutenant Uhura into the bar. As they walk up to the bar, a waitress asks Odo what he would like to drink; he tries to order raktajino. When the waitress tells him he is the second person who ordered that today, he asks who the other one was; she says that it was an elderly Human male. She tells Odo that he said he would probably be back later. Then, after being informed that raktajino is Klingon coffee, she tells Odo they have no Klingon beverages, and so he settles for Tarkalean tea. As he sits at the bar and watches, he sees Uhura obtain a tribble from Cyrano Jones.

Back on the Enterprise, Bashir continues to scan for Darvin. O'Brien is supposed to be conducting repairs so as to blend in, but unfortunately, he cannot make heads or tails of it as it's all cross-circuited and rewired. Bashir jokes that it sounds like one of O'Brien's repair jobs. Both are then interrupted by a young engineer who wonders why they are working at that panel, because Scotty had told him to do it. He then wonders why they need a doctor to repair a power relay. Bashir makes up a story about conducting a study on work-related stress and is checking O'Brien for stress. After O'Brien accidentally pulls out a circuit that darkens the whole deck (and quickly replaces it) Bashir tells O'Brien he has seen enough and that they need to go to sickbay. O'Brien tells the engineer he would appreciate if he did not mention this to anyone. The engineer says he won't, and expresses his hopes that O'Brien feels better soon.

On K-7, Worf enters the bar and sees Odo sitting at a table. Worf tells Odo he has finished searching the primary habitat levels. Before he can get any farther, he notices a trilling sound and demands to know, "What is that noise?" Odo says the sound is very soothing; he holds the tribble up as it squeals at Worf, who disgustedly recognizes it.

Act Three
Odo has Worf sit down before he attracts any further attention. Sitting down, Worf asks where Odo got it; he tells Worf that he got it from one Cyrano Jones, who said that tribbles like everyone – but apparently not Worf, a feeling which Worf shares. He calls the tribble a "detestable creature," noting that feeding a tribble more than the smallest morsel will cause prolific reproduction. Worf tells Odo how tribbles were considered mortal enemies of the Klingon Empire, which Odo is amazed to hear, finding it hard to believe that a simple tribble could be someone's "mortal enemy." Worf further explains that the Empire considered tribbles to be an ecological menace and that many warriors were sent out to kill any and all tribbles that they could find. Once the tribble homeworld was located, a Klingon armada obliterated it. According to Worf, tribbles were considered extinct by the end of the 23rd century, which Odo sarcastically calls "another glorious chapter in Klingon history," and then proceeds to ask Worf mockingly, "Tell me, do they still sing songs about The Great Tribble Hunt?"

Before Worf can say anything else, the station goes to red alert. The same has happened on the Enterprise. Seeing everyone rush to battle stations, Dax asks Sisko what they should do; he says they should do the same. They find an empty turbolift and Sisko contacts the Defiant, or at least he tries to; he slaps the insignia on his uniform out of habit, expecting it to be the working combadge that it is not. After a moment of realization, he pulls out the old-style communicator and this time successfully contacts the Defiant. Kira reports that a Klingon  battle cruiser has dropped out of warp and is approaching the station. Sisko asks if the Klingons have locked weapons, but Kira says they have not as yet. Recognizing something familiar, Dax asks Kira to identify the Klingon vessel; she identifies it as the . Dax immediately recognizes it as Koloth's ship and she tells Sisko that Koloth is not here to attack. She remembers Koloth telling her about how he once traded insults with Kirk on a space station near the Federation-Klingon border and how he regretted never getting to face Kirk in battle. Kira then reports that the Klingons just beamed two people to the station manager's office. Dax remembers one of them being Koloth, and asks Sisko if they could beam over to K-7, as they know that Darvin was there a short time ago. However, Sisko refuses and tells Kira to contact O'Brien and have him and Bashir prepare to transport to the station. Dax wants to see Koloth and points out that it is not as if he would recognize her, but Sisko stands firm. After closing the channel with Kira, Dax says it would have been fun, but Sisko corrects her: it would have been "too much fun."

Sisko informs the investigators that Dax was indeed correct. The Klingons only wanted shore leave, and Captain Kirk allowed the Klingons to beam over in small groups. Once the red alert ceases, everyone resumes their search for Darvin.

Kira contacts O'Brien and Bashir on the Enterprise, telling them the next band shift in the Enterprises scan cycle is coming up. O'Brien tells her they will be ready. He and Bashir duck into a turbolift, but Lieutenant Watley is there with them again. She notices that Bashir has left the flap open on his tricorder, thereby draining power. He closes it and thanks her for the tip. Watley asks Bashir if he is a doctor; he replies in the affirmative. She says that she just transferred over from the  and O'Brien, acting as a regular member of the crew, welcomes her aboard. Watley tells Bashir that she will be in sickbay the next day at 1500 hours for her physical and tells him her name as she walks out of the turbolift. Bashir recognizes her name as his great-grandmother's last name and wonders if it could be her, which O'Brien scoffs at, as the odds of that happening are astronomically small. Since no one ever met his great-grandfather, he then begins wondering if he is supposed to meet with her later in a predestination paradox and become his own great-grandfather. O'Brien accuses Bashir of being ridiculous, but he begins to convince himself that if he does not meet with Watley, he may not ever even be born. Just then, Kira calls and asks O'Brien if they are ready for transport; the Chief's reply: "Are we ever!" Bashir denies being able to wait to get back to Deep Space 9 and watch O'Brien's reaction when he finds out Bashir was never born, a comment which causes a smirk from O'Brien as they beam out.

Elsewhere on the Enterprise, Sisko and Dax are near another panel, pretending to work on it, when Dax looks up, sees Captain Kirk and Commander Spock walking toward an intercom close to them, and gets Sisko's attention. They look at the two legendary Starfleet officers for a moment. Then Sisko reminds her they are supposed to be only maintenance crew members doing their jobs. But Dax cannot help looking as Kirk deals with the intercom transmission. She notes how he is so much more handsome in person; Sisko tells Dax how Kirk had a reputation for being a ladies' man, but she reveals herself to be referring to Spock instead. At that moment, Sisko closes the panel, takes Dax by the hand, and they walk away from Kirk and Spock. Dax is amazed that Sisko does not want to meet Kirk. Sisko calls that the farthest thing from his mind, as they have a job to do. Dax then reminds Sisko about how Kirk is one of the most famous captains in Starfleet history. Sisko then admits that indeed he would like to meet Kirk, shake his hand, and ask him about fighting the Gorn on Cestus III. That, however, is not the reason they are there. Dax concedes Sisko's point, but laments that as she remembers this time period, it is difficult for her not to want to be part of it again. At that point the turbolift opens and they enter.

Bashir and O'Brien enter the bar on K-7, whereupon they good-naturedly tease Odo and Worf for sitting at the bar for the last three hours while they were crawling through conduits on the Enterprise and the station. Odo says they believe that Darvin will return, and Bashir picks up on the raktajino hint, a clue that others might have missed. Before they can say anything else, Chekov, Scotty, and Freeman enter. O'Brien is amazed, having mistaken Freeman for Kirk. Worf agrees that it would be an honor to meet Kirk. O'Brien suggests buying Kirk a drink, but Odo reminds them they cannot, and O'Brien agrees, as altering the timeline would be too great a risk to take. The waitress comes up and asks them what they want, including a warning not to dare ask her for a raktajino. She then points out the Klingons when Odo asks who else had ordered a raktajino, but they fail to recognize the Klingons as such, since they look nothing like Worf or any other Klingons that the crew had met. When they act confused, the waitress decides they have had enough to drink and walks away. Everyone at the table then looks over at Worf, wondering what's going on. Worf tells them that those are Klingons, and that it is a long story that Klingons do not discuss with outsiders. Meanwhile, a Klingon named Korax has spent his time loudly insulting Kirk, trying to get a rise out of the Enterprise officers. Chekov stands up to fight, but Scotty restrains him, saying they can take a few insults. O'Brien is impressed at how "Kirk" (Freeman) is ignoring Korax. At that moment, a confused Bashir asks if that is really Kirk, and O'Brien says it is, but then Bashir points out that the man is only wearing lieutenant's stripes. Odo says they have more problems at the moment than a case of mistaken identity. Just then, Korax begins insulting the Enterprise herself, which quickly gets under Scott's skin – he is the engineer, after all. When Korax, who had called the Enterprise a "sagging old rust-bucket designed like a garbage scow," clarifies his statement by claiming, not that the Enterprise should be hauling garbage, but instead that it should be hauled away, as garbage, Scott slowly stands up and punches him.  Every Klingon and Starfleet officer stand up immediately and then, despite Odo's efforts to stop them, Bashir, O'Brien, and Worf all stand up. Everyone ends up in the huge brawl in the bar. When the door opens to admit more Enterprise security, Odo notices Darvin in the background and knocks a Klingon off of Worf so they can both give chase to Darvin. Meanwhile, caught up in the fight, Bashir and O'Brien fail to notice Worf and Odo's departure and are themselves, shortly thereafter, arrested by the security officers and taken into custody along with the other crew members who were involved.

Act Four
In Sisko's office, the investigators are not happy, as regulations clearly state that Starfleet officers must take all precautions in taking minimal part in historical events. Sisko admits that they made a mistake, but it caused no alteration of the timeline. Dulmur is not so convinced and goes so far as to point out that this could be an alternate timeline as far as they know, but Sisko says that if they had altered history, they would have known immediately upon their return. After exasperatedly wondering out loud why everyone he interviews always has to mention that particular fact, Lucsly bids Sisko to continue.

Sisko tells them that instead of going to the brig, the arrested officers were taken in for questioning. Bashir and O'Brien find themselves in a line in front of Kirk, who wants to know who started the fight. Kirk walks up and asks O'Brien who started the fight; O'Brien tells Kirk he does not know. Likewise, Chekov tells Kirk he does not know who started it. When no one confesses, Kirk confines everyone to quarters until he finds out who started it. After they are dismissed, O'Brien and Bashir walk away as quickly as possible. O'Brien is astounded that, of all the people in the lineup, Kirk asked him about the fight and that, even more astonishingly, he ended up lying to him! O'Brien says he wishes Keiko could have seen it. Accidentally stepping on a tribble, Bashir wonders who left it out in the corridor alone. But rounding the corner, O'Brien realizes that the tribble is actually far from alone.

Meanwhile, Odo and Worf have captured Darvin in the midst of the fight on K-7 and have beamed him back to the Defiant. Odo tells Darvin that he will face some very serious charges when they return, but Darvin says they would not dare put one of the greatest heroes of the Klingon Empire in the brig, to which Worf angrily tells Darvin he is no hero to the Empire. But Darvin says he will be one soon and wants his statue in the Hall of Warriors to have him standing with Kirk's head in one hand and a dead tribble in the other. Worf grabs Darvin and demands to know what Darvin did: did he hire someone to kill Kirk, or sabotage the Enterprise? But Darvin says that though he did nothing like that, Kirk's death will have a certain poetic justice to it.

Shortly thereafter, Sisko, who is still on the Enterprise with Dax, is amazed to hear from Odo that Darvin has planted a bomb in a tribble. Odo describes it as revenge from Darvin, as in the original timeline, Kirk noticed how a tribble reacted to the younger Darvin and realized he was a Klingon. While Darvin has obviously refused to reveal the bomb's location, he did say it was set to go off within the hour. Dax suggests they risk going to the bridge and using the internal sensors to scan the ship within minutes. Sisko agrees and orders everyone else to K-7 to search for the bomb. However, Odo suggests that Worf remain on the Defiant due to his mutual dislike of tribbles, to which Sisko agrees. However, O'Brien is concerned they may not be able to reach the station's internal sensors. Sisko tells him that then he will have to manually scan every tribble on the station. O'Brien, in disbelief, says there must be thousands. Bashir notes it could be hundreds of thousands, but Dax has already worked out the number as one million, seven hundred and seventy-one thousand, five hundred and sixty-one, starting with one tribble, producing an average litter of ten every twelve hours over a period of three days. Sisko tells everyone they have their orders and closes the channel.

Later on the bridge, Sisko is sitting at a station and Dax is standing over by the engineering station when Kirk comes onto the bridge. He tries to sit in his chair but ends up accidentally sitting on a tribble. Removing the tribble, Kirk looks over at Dax who smiles and shrugs at him. He then calls Dr. McCoy to the bridge. Dax steps over and tells Sisko that she has reworked the sensor interface. Sisko scans the bridge. No explosives are found, which relieves Dax as she almost expected the tribble Kirk sat on to explode. Nothing is found on the first six decks either. Just then, McCoy comes up to the bridge and begins talking to Kirk. Dax seems to recognize him, and Sisko identifies him as McCoy, the ship's doctor. Just then, Dax recognizes him, having met him when he was a medical student at "Ole Miss." Sisko asks if it was Curzon who met him; she says it was actually Emony, when she was on Earth judging a gymnastics competition. Dax tells Sisko that McCoy had the hands of a surgeon and that she knew he would be a doctor. Her smile suggests their acquaintance might have been more than purely social. Sisko is rescued from having to respond by the completion of the scan– there are no explosives aboard. Dax, stating the obvious, says that the bomb must be on K-7.

Act Five
In the bar on K-7, Odo, Bashir and O'Brien are searching through tribbles frantically when Odo gets a call from Sisko telling them the bomb is not on the Enterprise – thus, it must be over there. Unfortunately, Odo reports that they have been able to scan only two decks so far. When Sisko offers to send more people over from the Defiant, Odo tells him it is no man-power shortage; rather, it is that the tribbles are multiplying so fast that they cannot keep up with them. Dax suggests that she and Sisko stay close to Kirk, as Darvin likely will have put the bomb someplace he knows Kirk will be in the next half hour and, as a result, Kirk may lead them right to it. Odo says they will keep scanning the tribbles for now.

Sisko and Dax get set up in the recreation room when Kirk and Spock come in. Kirk, upon ordering his chicken sandwich and coffee, sees that the tribbles are in all the food slots. Kirk tells Spock, "I want these things off the ship. I don't care if it takes every man we've got; I want them off the ship!" Scott comes in with an armful of tribbles and tells them the tribbles are in the machinery and probably in all the other food dispensers as well, probably having gotten there through one of the air vents. Spock realizes there are similar vents on the station…"and in the storage compartments!" Kirk realizes, interrupting him. Sisko is given a clue then, and he and Dax beam to K-7 and climb down into one of the storage compartments to begin scanning tribbles for the explosive. Sisko notes that most of the tribbles are dead, as the grain has been poisoned. Dax detects a faint tricobalt signature, indicating the bomb is in the compartment somewhere. They begin scanning through the tribbles when they hear a strange, multi-toned beeping sound. As it turns out, that sound is Kirk, outside, trying to open the overhead hatch leading into the storage compartment. He finally does get it open – and ends up being buried in tribbles. Sisko and Dax see the hatch open, and as it turns out, Kirk's opening the hatch all but exposes the bomb-laden tribble in the storage compartment. Dax realizes it is directly in front of them. Sisko begins searching frantically for the bomb, tossing tribbles away as he scans them, some of them falling through the hatchway and landing on Kirk. Down on the floor, Nilz Baris threatens to hold an inquiry against Kirk, stating there must be thousands of tribbles. Kirk laments it must be hundreds of thousands. Spock comes up with an exact figure of 1,771,561, using the exact formula that Dax had used earlier. In the hold, Sisko and Dax hear this, look at each other and simply shrug. Just then, Sisko finds the bomb-loaded tribble. He places the "tribble bomb" on his tricorder, contacts Kira, and has the Defiant beam the bomb into space, where it explodes harmlessly. As they start to get up, Dax tosses the last tribble in her hand down, where it falls through the hatchway and onto Kirk, causing him to ask in anguish, "Close that door!"

Sisko tells the investigators that after the bomb exploded, history continued uninterrupted and, thanks to a tribble's characteristic "alarm chirps" and McCoy's tricorder scans, Kirk exposed Darvin as a Klingon agent exactly as he had done before. By the time the DS9 personnel returned to the Defiant, Kira had figured out how to use the Orb to return the ship back to its proper time. Back in Sisko's office, the investigators ask if that is when they returned to the future, but Sisko is forced to admit that it was not, as he realized that there was one more thing he had to do – something he had thought of since he first saw the Enterprise on the Defiants viewscreen. Sisko goes to the Enterprises bridge and brings a duty roster over to Kirk, seated in his chair, for the latter's approval. As Kirk looks it over, he looks over at Sisko, and asks his name. Sisko tells Kirk his real name and says that he has been on temporary assignment on the Enterprise. Before Sisko left, he just wanted to tell Kirk it was an honor serving with him. Kirk smiles, nods at him and then tells Sisko, "All right, Lieutenant, carry on." Sisko thanks the legendary captain and leaves the bridge, while Spock and Uhura watch him walk away.

Back in his office, Sisko tells Dulmur and Lucsly that if they want to put a reprimand in his file for that, then they are welcome to do so. They both stand up and tell Sisko they will have to review everything before making a final recommendation, but it does not seem as if any harm was done. Dulmur says he probably would have done the same thing himself, given the chance. Sisko walks them out of the office; Lucsly tells them he will have their full report in about a month, but that he should have nothing to worry about. Sisko admits he is happy to hear it, and the investigators then quietly leave the station, heading directly for their ship at Docking Port Seven. Dax asks Sisko if it went well; he says it did. Kira tells Sisko that Odo wants to see them on the Promenade.

Odo asks Sisko if he told the investigators; Sisko says they did not ask, and that he is open to suggestions. Dax quips that they could build a new station. It turns out that Odo brought his tribble back with him, and that it reproduced. True to Worf's warnings about them, a considerable number of the creatures are now all over the Promenade – particularly Quark's Bar, with one even sitting on Quark's head.

Memorable quotes
"I guess you boys from Temporal Investigations are… always on time."
 - Dax, upon the arrival of Dulmur and Lucsly; both, having likely heard the joke many times before, respond with disgusted expressions

"That's…"
"The Enterprise."
 - Dax and Sisko, as the Defiant viewscreen clears to reveal the legendary ship

"Be specific, Captain – which Enterprise? There have been five."
"Six."
"This was the first Enterprise, Constitution-class."
"His ship."
"James T. Kirk."
"The one and only!"
"Seventeen separate temporal violations – the biggest file on record."
"The man was a menace."
 - Dulmur, Lucsly, and Sisko

"Don't you know anything about this period in time?"
"I'm a doctor, not an historian."
"In the old days, operations officers wore red, command officers wore gold..."
(showing herself off in her red skirt) "And women wore less."
"I think I'm going to like history."
 - O'Brien, Bashir, Sisko and Dax, on changing into 23rd century s.

(referring to the tribbles) "They were once considered mortal enemies of the Klingon Empire."
"This? A mortal enemy of the Empire?"
"They were an ecological menace; a plague to be wiped out."
"Wiped out? What are you saying?"
"Hundreds of warriors were sent to track them down throughout the galaxy. An armada obliterated the tribbles' homeworld. By the end of the 23rd century, they had been eradicated."
"Another glorious chapter in Klingon history. Tell me, do they still sing songs of The Great Tribble Hunt?"
 - Worf and Odo, about the tribbles and the destruction of their homeworld

"I had no idea."
"What?"
"He's so much more handsome in person. Those eyes!"
"Kirk had quite the reputation as a ladies' man."
"Not him…Spock."
(Sisko quickly shuts the panel he's pretending to work on and starts pushing Dax away) "Let's go."
 - Dax and Sisko(Sisko taps the badge on his uniform out of habit) "Sisko to Defiant..."
(Sisko realizes his mistake, then pulls out the old-style communicator) "Sisko to Defiant."
 - Sisko with Dax in the Enterprise turbolift

"They are Klingons… and it is a long story."
"What happened? Some kind of genetic engineering?"
"A viral mutation?"
"We do not discuss it with outsiders."
 - Worf, O'Brien, and Bashir, when the lack of cranial ridges on Kirk-era Klingons is noted (see Klingon augment virus)

(referring to the Enterprise) "That sagging old rust bucket is designed like a garbage scow. Half the quadrant knows it. That's why they're learning to speak Klingonese."
"Mr. Scott!"
"Laddie…don't you think you should…rephrase that?"
(mocking Scotty's accent) "You're right. I should." (normal voice) "I didn't mean to say that the Enterprise should be hauling garbage. I meant to say that it should be hauled away as garbage."
 - Korax, Chekov and Scott, in front of Odo, Worf, Bashir and O'Brien

"Your men could've avoided that fight, Captain."
"Regulation 157, Section 3, Paragraph 18: Starfleet officers shall take all necessary precautions to minimize any participation in historical events."
"All right. It was a mistake. But there were no lasting repercussions."
"How do you know that? For all we know, we could be living in an alternate timeline."
"If my people had caused any changes in the timeline, we would have been the first to notice when we got back."
"Why do they all have to say that?"
 - Dulmur, Lucsly and Benjamin Sisko, about the fight on Space Station K-7

"So, your men were arrested."
"That's right. But instead of being taken to the brig, they were brought in for questioning."
 - Dulmur and Benjamin Sisko, about Bashir and O'Brien being interrogated by Captain Kirk

"Who started the fight?"
"I don't know, sir."
 - Kirk and O'Brien, on who threw the first punch

"You are no hero to the Empire!"
"I will be. I've been thinking about my statue in the Hall of Warriors. I want it to capture my essence. Our statues can be so generic sometimes, don't you think?"
"I take it whatever your plan is, you've already set it in motion."
"I see myself standing with Kirk's head in one hand and a tribble in the other."
"What have you done?! Did you hire someone to kill him? Or did you sabotage the Enterprise?"
"Nothing so mundane. Let's just say that Kirk's death will have a certain poetic justice to it."
 - Worf, Arne Darvin and Odo, on the plot to kill Captain Kirk

"McCoy… Leonard McCoy!… I met him when he was a student at Ole Miss… I had a feeling he'd become a doctor – he had the hands of a surgeon."
 - Dax, recognizing an old friend on the Enterprise bridge

"I'm not sure we can get to K-7's internal sensors."
"Then you will have to manually scan every tribble on the station."
"There must be thousands of them by now."
"Hundreds of thousands."
"One million, seven hundred seventy-one thousand, five hundred sixty-one. That's starting with one tribble with an average litter of ten every twelve hours. After three days…"
"Thank you. You have your orders, people. Sisko out."
 - O'Brien, Sisko, Bashir, and Dax, during the briefing about the tribble bomb

(referring to the tribbles) "They seem to be gorged."
"Gorged?! On my grain?!! Kirk, I'm going to hold you responsible! There must be thousands of them!"
"Hundreds of thousands."
"One million, seven hundred seventy-one thousand, five hundred sixty-one. That's assuming one tribble, multiplying with an average litter of ten, producing a new generation every twelve hours over a period of three days."
"That's assuming that they got here three days ago."
"And allowing for the amount of grain consumed and the volume of the storage compartment."
 - Spock, Baris and Kirk, repeating the same formula that Dax told Sisko earlier

"After the bomb was detonated, history continued uninterrupted, and thanks to the tribbles, Kirk was able to uncover the truth about Darvin."
 - Sisko, on how Captain Kirk and Dr. McCoy exposed Arne Darvin as a Klingon

 
"Excuse me, Captain. Here's tomorrow's duty roster for your approval."
"Lieutenant… uh, Lieutenant…"
"Benjamin Sisko, sir. I've been on temporary assignment here. Before I leave, I just want to say… it's been an honor serving with you, sir."
"All right, Lieutenant. Carry on."
"Thank you, sir."
 - Sisko and Kirk, just before Sisko returns to the DefiantBackground information
Conceiving the episode

"Trials and Tribble-ations" was conceived as a tribute to , broadcast to coincide with Star Treks 30th anniversary. When Paramount asked executive producer Ira Steven Behr to come up with a suitable story to mark the event, he and the writing staff of  gathered together and began brainstorming for plot ideas. Behr toyed with the notion of harkening back to the episode , since that installment was a favorite of Behr's and because actor Robert Walker – who had guest-starred as Charles Evans in the TOS episode – was still available. Skeptical that Walker would be interested in returning to Star Trek, this concept was discarded. (, pp. 79–80)

An alternative idea, conceived by writer Ronald D. Moore, was to revisit Sigma Iotia II, from the episode , where imitators of Kirk and Spock would be discovered as a social commentary on the Trekkie phenomenon. However, fellow writer René Echevarria wanted to revisit a classic episode using original footage. This was made possible by recent technological innovations, such as those used in the   movie .

When the writers sat down to decide which episode to use, there was little question that  was not only arguably the most famous TOS episode but also an excellent choice in that it was relatively lighthearted compared to other well-known episodes such as . In what Ira Steven Behr later described as the most incredible coincidence he has ever experienced, Behr and the other producers were at the Mulberry Street pizza parlor in , discussing the possibility of bringing original TOS actors back for this episode, Behr mentioned Charlie Brill (Arne Darvin), who he then spotted at the counter alongside his wife. Although Behr was hesitant to discuss the matter directly with Brill (due to the complications that normally entail Hollywood negotiations), Brill was greatly honored to be given a chance to make history twice and felt that Gene Roddenberry would be proud. Behr later joked, in a DVD audio commentary for this episode, that the remarkable turn of events proved God was a DS9 fan, while Brill stated that he was happy he hadn't gone out for Chinese food instead.

 The difference in appearance of TOS and TNG/DS9/VOY Klingons, first recognized as canon here (it was not broached in the DS9 second season episode ), was addressed in the  episodes  and . There was a conscious effort to keep Worf at a distance from TOS-era Klingons due to the obvious make-up differences. Ronald Moore wrote Worf's explanation (or lack thereof) into the script because he felt that there was "not a single explanation that's less than preposterous" for the make-up differences and he believed that fans could figure out why the Klingons looked so different. Bashir and O'Brien's dialogue concerning the issue had them suggesting reasons, "genetic engineering" or "viral mutation", that had long been proposed by fans as the reasons for the differences. When the Enterprise episodes were filmed, the final canon explanation for the difference combined both their suppositions.For a more detailed explanation, see Klingon augment virus.Combining the past with the present
 The writers were initially skeptical about whether creating an episode such as this with the relatively limited budget of a television series would be possible. However, when the visual effects team showed them a clip from "The Trouble with Tribbles," they were unable to tell that an extra person had been added to the scene because the blending was so seamless.
 Contrary to the normal technique of  (better known as "blue screen" or "green screen") shooting, in which the new footage is shot with a blue or green background in order to allow the computer to easily place the characters into another piece of footage, the scene in which Dax and Sisko are working behind Kirk and Spock was shot with an actual set background and then placed into the existing footage. This was due to the fact that there was no panel for Sisko and Dax to pretend to repair in the original shot.
 Creating the footage for scenes such as the fight with the Klingons took almost a full week to shoot due to the number of components involved, the complexity of staging, and other minor details.
 More crude blue screen techniques had actually already been employed in the Star Trek franchise for combining new performances with pre-existing footage; it had been employed previously in the Orlando, Florida venue of the Star Trek Adventure live-performance attraction.
 Everything from the TOS sets was created faithfully right down to the blinking lights on the bridge, which the crew recreated by freeze-framing and painstakingly examining the TOS footage. Everything from the turbolift control panels to the wall intercoms to basic surface textures and back-lit graphics in the corridors were reproduced exactly as they originally appeared. Even the pattern of the overhead graphics in the Enterprise corridors is identical to the original.
 However, there were some minor details that didn't come out as planned. In his foreword for the novelization, David Gerrold – who wrote the original episode – spoke about his involvement in production on the anniversary episode. Among other things, he tells how Bob Justman pointed out, during a visit to the set, that both the wall paneling and the orange mesh screen in front of the set ladder were not right. Michael Okuda explained that those were the only two things they could not perfectly recreate, as the company that made the reflective plastic had gone out of business ten years earlier and that nobody else produced that kind. (, "Introduction")

 The original Enterprise, now in the  museum exhibit, had been refurbished and altered slightly over the years. Knowing that fans would inspect every minor detail of this episode for consistency, the staff consulted sketches made for the original series and had a special set of plans made for the new model's construction. They even inspected it with a magnifying glass to ensure that everything was perfect.
 The original model of space station K-7 had been lost by the time this episode was made. The recreation used in the new footage was created as faithfully as possible by watching the original episode as any fan might.
 The clip featuring Sisko meeting Kirk was created with footage from  rather than "The Trouble with Tribbles", taking Kirk's introduction to the prime universe Marlena Moreau and inserting Sisko in Moreau's place.
 Sisko's comment about asking Kirk about fighting the Gorn on Cestus III is a reference to , where Kirk and a landing party exchanged fire with the Gorn on the planet's surface.
 In the original episode, after Kirk opens the cargo hold door and is showered in tribbles, lone tribbles continue to fall on him one by one, every minute or so, for the rest of the scene. This episode provides an explanation: Sisko and Dax are hiding in the cargo hold, scanning all the tribbles and then tossing them out the door.
 When Kirk sits on the tribble in his captain's chair, Dax is standing right where he looks, and shrugs sympathetically toward him. In "Trials and Tribble-ations: Uniting Two Legends", a featurette on the DS9 Season 5 DVD, Terry Farrell claims that director Jonathan West insisted, much to her delight, that the glance be as short as possible, since, if it went on too long, the audience would be hard-pressed to believe that Kirk would not make a point of introducing himself to such a beautiful young officer new to his ship.
 In relation to making the show "feel" as close to the spirit of the original as possible, Ronald D. Moore has commented, "My only real gripe was the music – I had hoped it would be more like the original score and I thought it hurt the show particularly during the barroom brawl by changing the tone of the scene. Rene and I also had this idea to redo the entire end title sequence as an homage to the original series, with freeze frame shots from various DS9 episodes in the background, the TOS end credit music and changing the font of our credits to match theirs. That idea never got very far chiefly because we were the only proponents of it and also because the show was so far over budget that we couldn't afford to spend any more money anyway."  To date, the only episodes of a Trek show to have changed title and credit sequences for specific episodes have been the  mirror universe episodes  and , and the  episode , which featured a modified end credit sequence.
 Moore also stated that as of the end of Season 5 of the show, this was the most expensive one-hour episode produced. 
 Here is an example of the "Forrest Gump" technique. The first image is the original from , the second is the altered version from this episode. The third image is the original from , the fourth is the altered version from this episode:

Production
 Once this episode was green-lit, an immediate question faced by the production staff was when it would air. The actual 30th anniversary of Star Trek was , but if the show aired that week, it would make it the first episode of the fifth season. The producers discussed the possibility of showing this episode as a kind of stand-alone show before returning to established chronology the following week with  but they ultimately decided to abandon this idea. ()

 The producers specifically chose Jonathan West to direct this episode due to his cinematography training. According to West, he shot the episode as if it were actually 1967, with lens choices and lighting techniques which gave the episode a sixties look. He also used a slower speed film stock with finer grain and a different color saturation (likely Eastman EXR 100T 5248) instead of the faster film stock used for the 24th century scenes (Eastman EXR 500T 5298), the former more closely matching the stock that TOS would have used in 1967 (Eastman 50T 5251). ()
 In "Trials and Tribble-ations: A Historic Endeavor", a featurette on the DS9 Season 5 DVD, production designer Herman Zimmerman explains that he had just returned to Deep Space Nine from working on  as "Trials and Tribble-ations" was going into early pre-production. Zimmerman noticed that the art department was drawing up construction plans so as to build the Enterprise sets by using the only floor plans that they could find on the Paramount lot. However, these plans had an incorrect scale which put the Enterprises corridors at seven and a half feet wide, when Zimmerman knew they were actually twelve feet wide. He points out that if he hadn't returned at that moment, all of the Enterprise sets would have been in ⅝ scale.
 According to Terry Farrell, it was easier to interact with stock footage than real people, due to the fact that they could watch the existing footage and observe exactly what the other person would be doing in the scene.
 Jadzia Dax's enthusiasm about the 23rd century and her desire to revisit old friends was the writers' avenue by which to convey their own enthusiasm about writing the episode. It was also intended to represent the way fans of TOS would feel when watching the fusion of past and present Trek series.
 When Jadzia and Benjamin Sisko enter the corridor aboard the , the reactions from the actors are genuine, as they had not been on the set prior to that shot and were truly amazed by how faithfully the set recreated the look and feel of TOS. According to Terry Farrell, "What was great was that we were supposed to react to the sets like, 'Wow, we're on the Enterprise!' And it was easy because we felt like, 'Wow, we're on the Enterprise!' It looked so real!" This technique is commonly used in Hollywood; for example, two performers whose characters will be meeting for the first time may be kept separate prior to filming in order to evoke a more genuine reaction (a good example is  and  in  1986 film  – they didn't actually meet one another until principal photography wrapped). Director Winrich Kolbe employed this technique during the shooting of the sixth season episode , where he did not allow Debra Wilson to meet any of the recurring cast until after the shoot was completed.
 The scene in which Dax is on the bridge of the Enterprise took twelve takes because of the complexity involved in the timing of the shot.
 Reportedly, the DS9 stunt crew had both a challenge and a "good time", adjusting to the 'old-school' brawling style used in this episode's fight scenes.
 The film elements from the original "Trouble With Tribbles" episode were used and  digitally, instead of using the 1980s  transfers that were on professional format , so that there wouldn't be a difference in quality between the original scenes and the new Deep Space Nine scenes, especially for scenes where the characters from both shows were in the same shot. (DS9 Season 5 DVD)

Reception
 Ira Steven Behr commented, "The episode was just an amazing, amazing amount of work. The crew, the technical people, the actors – they just threw themselves into it. They were all having fun. Just sitting on those sets, being on that bridge. It was a hoot, a real hoot. Everyone who worked on it should be credited. The enthusiasm was like a little virus that just kept spreading. It's very rare in television, where you're fighting the clock and you have to produce so much in a limited amount of time, to really lavish the care on an episode the way we did on this. The only regret I have is that we can't lavish that time and attention on every single episode." (The Magic of Tribbles: The Making of Trials and Tribble-ations)
 Although he was thrilled with how the episode turned out, with the high ratings it received, and with the critical plaudits it garnered, there was one thing Ira Steven Behr wasn't completely happy about; "The only thing that bugs me about it is that it feeds off the myth of the franchise, and the fact that it's so popular saddens me in a way, in the sense that I wish a show that is Deep Space Nine intensive didn't have to lean on the history." ()
 Alexander Siddig commented that he found "Trials and Tribble-ations" "a particularly fun show, like the . I felt like I'd taken on another character. Bashir wasn't the usual Bashir. And it was wonderfully strange to see myself acting with William Shatner. The technology is amazing isn't it?" ("A Truly Model Doctor", )
 Mary Chieffo selected this as one of her favorite Star Trek episodes. "I really did like 'Trials and Tribble-ations' because that was such a great homage to what had come [before]. I just feel like it's the essence of Trek," she enthused. "We know what came before, we loved it. Here's this new show, and then all the tech and attention to detail, which reminds me so much of what our crew does [on ], infusing what they love about the franchise and sticking true to what was. And it's a fun episode, because it just does so many fun things, and I think that they did such an amazing job visually; the CGI and everything really looks great. So, I have a lot of favorites, but that one just feels like essence of Trek." 
 Bo Yeon Kim commented: "Time travel! Tribbles! Kirk! Spock! Tribbles! Jadzia Dax in a TOS red miniskirt! Tribbles! What more could you possibly want? Just a superbly, seamlessly executed homage to The Original Series, yet equally a quintessential DS9 story. And this episode includes one of my favorite writing "cheats" with Worf's line, in reference to the Klingons' lack of cranial ridges in TOS: "We do not discuss it with outsiders." F***ing brilliant". 
 Mary P. Taylor wrote: "The Trouble with Tribbles was so unforgettable that, with the aid of 1990s technology, it was made into the even funnier DS9 episode “Trials and Tribble-ations.” I can never think of the Bureau of Temporal Investigations without laughing". (Adventures in Time and Space p. 465)
 Cinefantastique ranked "Trials and Tribble-ations" as the sixth best episode of Star Trek: Deep Space Nine. (Cinefantastique, Vol. 32, No. 4/5, p. 99)

Trivia
 When Sisko, O'Brien, and Bashir appear in the hallway of the  in their 23rd century uniforms, Bashir thinks that Sisko and O'Brien have put on the wrong shirts because of the color, noticing that in the 23rd century, the command and engineering colors were reversed. O'Brien replies, "Don't you know anything about this period in time?" to which Bashir responded "I'm a doctor, not an historian!"
 Odo makes a comment to Worf about humanoids liking small furry animals, especially if they make a pleasing sound. A similar line was used by Leonard McCoy in the original episode.
 When Dulmur references the date of the original incident and Lucsly adds that it was a Friday, it is a reference to the fact that  originally aired on a Friday.
 According to Dulmur and Lucsly, this episode takes place "one hundred and five years, one month, and twelve days" after the events of "The Trouble with Tribbles".
 Quark appeared in this episode (as an homage to the similarly tribble-covered bartender in the original episode) but Armin Shimerman has no spoken lines. This is the only episode of DS9 where Quark appears but has no dialogue.
 George Takei (Hikaru Sulu) does not appear in this episode (he hadn't appeared in "The Trouble With Tribbles" to begin with); this was, however, remedied by his appearance in s 30th Anniversary episode .
 The names of the temporal investigators, Dulmur and Lucsly, are anagrams of "Mulder" and "Scully", the paranormal investigators of The X-Files (or, in the case of Dulmur, a near-anagram). Indeed, when meeting Sisko in his office Dulmur tells him he wants "the truth", while Lucsly is mostly skeptical about elements of Sisko's story. The writers considered having one of the characters deliver the line "The truth is out there". (The Magic of Tribbles: The Making of Trials and Tribble-ations)
 The term "D7", in reference to the original Klingon battle cruiser, started out as an inside joke between William Shatner and Leonard Nimoy. It eventually became a reference to this style of battleship, but it wasn't "official" until this episode. The designation had been used since 1979 in the game Star Fleet Battles for that particular class of ship.
 As Dax tells Sisko about how much more handsome Spock was in the flesh, the Kirk-Baris dialogue in the background is actually taken from their later confrontation aboard the station after Cyrano Jones had been detained.
 When Julian Bashir suspects he is experiencing a predestination paradox and is destined to fall in love with Lieutenant  and become his own ancestor, he remarks to Chief O'Brien that surely he has attended Elementary Temporal Mechanics at Starfleet Academy. However, as an enlisted crewman, O'Brien has never been to the Academy.
 O'Brien believes that Lieutenant Freeman is Captain Kirk; the actor in that scene, Paul Baxley, was a regular stunt double for William Shatner in the original series.
 The number of tribbles that Dax calculates is the same number that Spock determined in the original episode.
 Darvin, posing as Barry Waddle, claims he deals in (among other things) kevas and trillium, the two materials Spock claimed he dealt in while posing as a Vulcan trader in .
 Worf (slightly younger than he is here) met an older Scotty 101 years later, while serving aboard another Enterprise in . O'Brien was also serving aboard that Enterprise at the time, though it's not known if he and Scotty ever actually met.
 Sisko states that if he could (without causing harm to the timeline), he would ask Kirk about his confrontation with the Gorn on Cestus III, referencing the battlefield conflict against the Gorn on that planet in which Kirk participated in  (the later hand-to-hand fight in that episode took place on another planet).
 The boots worn by Terry Farrell in the past were later reused in .
 The  crew bringing some tribbles back to the 24th century (and thus, repopulating the species) is reminiscent of the original Enterprise crew bringing two humpback whales with them from the 20th century into the future to repopulate the species () (though that case was intentional). This is the second time that a previously eradicated species is re-populated with specimens brought back as a result of time travel, the first being humpback whales George and Gracie in 2286.
 Dax claims that Koloth once told Curzon that he regretted not facing Captain Kirk in battle. However, in the  first season episode , Koloth fought the Enterprise several times. This may be due to the fact that TAS was officially declared "non-canon" by Paramount despite TAS references being worked into the series, including the Edosian orchid in . A more charitable interpretation could be that Koloth and Kirk in the TAS episode never had a real battle, just skirmishes and tricks. Koloth might also have been indicating a face-to-face, physical combat, rather than a clash of starships, or possibly, that he didn't fight Kirk on this occasion.
 Sisko's line of "Storage compartments. Storage compartments." in the episode is the same as Kirk's line from .
 One of the Temporal Investigations officers mentions that James T. Kirk has made "seventeen temporal violations". Kirk went back in time on at least seven separate occasions (, , and ).
Some speculative possibilities include, but are not limited to:
 beaming aboard a 20th century Earth Air Force pilot (allegedly "erased")
 beaming aboard a 20th century guard (allegedly "erased")
 breaking into a military base in 1969 and getting caught (allegedly "erased")
 stealing clothes and clashing with law enforcement in 1930
 beaming aboard two NYC policemen in 1968
 breaking into a military base in 1968, getting caught, and beaming out risking being seen doing so
 helping to sabotage a rocket launch in 1968
 being involuntarily transported into Sarpeidon's past
 giving information about transparent aluminum to Dr. Nichols the president of Plexicorp (although this can be attributed more to Scotty than Kirk, with Scotty speculating that they were merely preserving history by providing the original inventor the means to create it)
 bringing two whales from 1986 to save Earth from the cetacean probe
 bringing back Gillian Taylor to the 23rd century
 leaving Klingon technology on board the  (Chekov throws his non-functioning phaser at his captors while trying to escape)
 allowing Bones to cure a patient in 1986 with 23rd century medicine
 not concealing use of a phaser and a de-cloaking of a Klingon Bird-of-Prey in 1986 
 Temporal Investigations may not know about this, as McCoy may be unaware his phaser went missing and a homeless man killed himself with it
 taking work, money, housing and food that others would have been employed at, spent (or saved) or consumed
 after Kirk saved the  from being destroyed in the Nexus, he was swept into the energy ribbon. Although from his point of view, Kirk was altering future events, he technically went into the past by agreeing to assist Captain Picard stop Soran. However, Picard altered past events by preventing the destruction of the Veridian System and the survivors of the USS Enterprise-D. Kirk would have known that by leaving the timeline, he would be assisting Picard alter the timeline by preventing the torpedo launch.
 This is the first episode of Star Trek since  in  to feature any scenes set in the 23rd century.
 This episode marks the first mention of the , which would be formally introduced just over two weeks later in .
 The end credits say the episode is "Based on the original STAR TREK episode "The Trouble with Tribbles" by David Gerrold."

Cast trivia
 David Gerrold, writer of , can be seen in two scenes, playing an Enterprise crewman (he is the gray-haired man who passes Sisko and Dax when the Enterprise goes to red alert). Bashir and O'Brien later see him petting a tribble in the corridor (which, in actuality, is an original tribble used in ). Gerrold thought the episode was "one of the cleverest Star Trek scripts I've ever read."
 The permission of the TOS actors had to be sought to use their performances in the various episodes the archive footage was taken from. It took the producers three months to negotiate for the use of the footage. Walter Koenig remarked he was paid "eight times more" for the use of his likeness than he was for the original episode.
 Stanley Adams (Cyrano Jones) and Whit Bissell (Lurry) had passed away by the time that this episode was produced, making them the two "posthumous" performers in the archive footage.
 Koenig himself visited the sets and showed Colm Meaney and Alexander Siddig how to properly interact with the set pieces.
 Cirroc Lofton (Jake Sisko) does not appear in this episode.
 After Michael Ansara (Kang), John Colicos (Kor), and William Campbell (Koloth), Charlie Brill (Arne Darvin) is the fourth and final actor to reprise a role which he had originally played on The Original Series in one or more episodes of Deep Space Nine. All four actors played Klingons.

The Enterprise
 This is the first appearance of the original  since its destruction was shown by the Klingon Ambassador as he addressed the Federation President in ; though the bridge of the Enterprise did appear in the  episode , it was merely a holodeck recreation.
 It is also the first of only seven appearances of an original  in a live action Star Trek series since TOS (the second one was as the  in the two-parter  part 1 and 2, the third was in 's final episode , although the latter was a montage sequence) discounting appearances as graphic display () or tabletop model (; ), the fourth was in Episode 15 of  (), the fifth in , and sixth and seventh in  and .
 This episode also contains the first reference to the new  , as the film  hadn't premiered yet. After Sisko mentions the  was in front of the Enterprise, Dulmur tells him to be more specific, as there had been five. Lucsly corrects him and says there had been six. ( was never in Federation service, and Star Trek: Enterprise didn't exist as a series until 2001, five years after this episode was released.)

Media

 This episode was adapted by Diane Carey in the novelization .Cinefantastique detailed the making of "Trials and Tribble-ations" in 1996. The cover of the issue featured Sisko and Kirk. Anna Kaplan commented: "Only in CFQ could I have written complete coverage of 'Trials and Tribble-ations' Deep Space Nines homage to classic Trek on its 30th anniversary. I talked to all the writer-producers and many of the people behind and in front of the camera who contributed to that remarkable episode. David Hines also interviewed David Gerrold, who wrote the original series episode . The November 1997 CFQ issue devoted 18 pages to that one episode. None of the other genre publications, not even official Star Trek magazines, provided that kind of coverage." 
The making of "Trials and Tribble-ations" was examined in The Magic of Tribbles: The Making of Trials and Tribble-ations, an eBook released in 2001.
 A  was released by Marvel Comics as a direct sequel to this episode, DS9 #14: "Nobody Knows the Tribbles I've Seen".
 The episode was mentioned in an episode of The Big Bang Theory and referred to as a "classic".

Award nominations
 This episode was nominated for the 1997 Hugo Award for Best Dramatic Presentation. It was also nominated for three Emmy Awards for Outstanding Individual Achievement in Special Visual Effects, Outstanding Art Direction for a Series, and Outstanding Hairstyling for a Series (which was won by ).

Remastered information
 Paramount announced the HD remastered version of this episode would be included on the TOS Season 2 Blu-ray collection.  The episode was presented in a 16:9 matte preserving its 4:3 ratio with 480i video, but encoded in VC-1.

Video and DVD releases
UK VHS release (two-episode tapes, CIC Video): Volume 5.3, The sleeves of DS9 videos up to season 6 display stardates for the episodes within (even when none appear) – the 23rd century stardate mentioned in the episode is used on this volume.The sleeve of this release displayed Sisko, Bashir and Dax in 23rd century uniforms. The division insignia within the Enterprise badges are reversed in the case of Dax and Bashir.As part of the US VHS collection, Star Trek - Tribbles Gift SetAs part of the DS9 Season 5 DVD collectionThe usual ambient sounds of Deep Space 9 Ops on the episode's menu are replaced by the sounds of Tribbles cooing.As part of the Star Trek: Fan Collective - Time Travel and Star Trek: Fan Collective - Klingon collections
 As a special feature of the TOS-R Season 2 DVD collection
 As a special feature of the TOS Season 2 Blu-ray collectionThe Blu-ray collection advertises the episode as being in high definition. Links and references 
 Starring 
 Avery Brooks as Captain Sisko

 Also starring 
 Rene Auberjonois as Odo
 Michael Dorn as Lt. Commander Worf
 Terry Farrell as Lt. Commander Dax
 Cirroc Lofton as Jake Sisko
 Colm Meaney as Chief O'Brien
 Armin Shimerman as Quark
 Alexander Siddig as Doctor Bashir
 Nana Visitor as Major Kira

 Guest stars 
 Jack Blessing as Dulmur
 James W. Jansen as Lucsly
 Charlie Brill as Arne Darvin / Barry Waddle

 Co-stars 
 Leslie Ackerman as Waitress
 Charles S. Chun as an Engineer
 Deirdre L. Imershein as Lieutenant 

 Actors appearing in the original Star Trek episode 
 William Shatner as James T. Kirk
 Leonard Nimoy as Spock
 DeForest Kelley as Leonard McCoy
 James Doohan as Montgomery Scott
 Nichelle Nichols as Uhura
 Walter Koenig as Pavel Chekov
 Stanley Adams as Cyrano Jones
 Paul Baxley as Freeman
 Whit Bissell as Lurry
 Charlie Brill as Arne Darvin
 Michael Pataki as Korax
 Guy Raymond as a bartender
 David Ross as Galloway
 William Schallert as Nilz Baris

 Uncredited co-stars 
 B.J. Davis as a Klingon brawler #4
 Cathy DeBuono as Starfleet science officer
 Brian Demonbreun as a Starfleet science officer
 Chris Doyle as a Klingon brawler #5
 David Gerrold as an Enterprise crewman
 Jim Hart as Starfleet captain
 Randy James as 
 Pete Johnson as a Starfleet officer
 Andrew Lerner as a Starfleet officer
 Dan Magee as a Bajoran officer
 Karlotta Nelson as Bajoran woman
 Spiro Razatos as a Klingon brawler #6
 Chuck Shanks as a Bajoran officer
 Mark Allen Shepherd as Morn
 James Lee Stanley as a Bajoran security deputy
 Unknown actors as
 Enterprise security lieutenant 1
 Enterprise security lieutenant 2
 Pink-skinned alien
 Tygarian

 Uncredited co-stars appearing in the original Star Trek episode 
 William Blackburn as Hadley
 Dick Crockett as Klingon brawler #1
 Steve Hershon as security officer
 Roger Holloway as Roger Lemli
 Jeannie Malone as 
 Starfleet officer 1
 Enterprise yeoman
 Bob Miles as Klingon brawler #2
 Bob Orrison as Klingon brawler #3
 Eddie Paskey as Leslie
 Unknown actors as
 Command lieutenant 1
 Command lieutenant 2
 Crewman
 Lieutenant
 Sciences lieutenant
 Security guard 1
 Security guard 2
 Human civilian
 Human colonist
 Human waitresses #1 & #2
 Human workers #1 & #2
 Starfleet cadets 1 & #2
 Starfleet officers #2, #3, & #4

 Stunt doubles 
 Brennan Dyson as stunt double for Michael Dorn
 Brian Hite
 Dennis Madalone as stunt double for B.J. Davis

 Stunt doubles appearing in the original Star Trek episode 
 Phil Adams as stunt double for Michael Pataki
 Jay Jones as stunt double for James Doohan
 Jerry Summers as stunt double for Walter Koenig

 References 
23rd century; 2268; air vent; Alpha Quadrant; altered; alternate timeline; Antarean glow water; aroma; auxiliary communications juncture; Bajor; Bajorans; barbarian; Bashir's great-grandfather; battle cruiser; battle stations; black; body odor; breeding; Cardassia Prime; Cardassians; Cardassian space; career; Cestus III; chicken sandwich; chroniton radiation; cloaking device; coffee; color; command division; confined to quarters; Constable; ; Constitution class decks; D-7 battlecruiser; ; ; Deep Space Station K-7; Denebian slime devil; Department of Temporal Investigations; ; duotronics; Earth; Elementary Temporal Mechanics; ensign; ; ; Federation-Klingon border; fish juice; food processor; Friday; generation; GNDN; ; Gorn; ; Hall of Warriors; historian; industrial fabrication facility; internal sensors; Koloth; Klingons; Klingon beverages; Klingon Empire; Klingon Intelligence; Klingon Imperial Fleet; kevas; letter of reprimand; ; lieutenant; lilac; litter; medical tricorder; Milky Way Galaxy; milliwatt; mistaken identity; ; navigational computer; NCC-K7; operations division; ; "Old Man"; Ol' Miss; Orb of Prophecy; Orb of Time; Orb of Wisdom; peat; poison; predestination paradox; Promenade; quadrotriticale; Quark's; raktajino; red; red alert; sabotage; San Francisco Fleet Yards; scan cycle; security officer; sensor array; Sherman's Planet; shore leave; ; Spacematic''; Spican flame gem; Starfleet Academy; ; statue; station manager; ; stripes; swarm; Tarkalean tea; temporal violation; transporter; transporter log; transtator; tri-cobalt device; tricorder; trident scanner; Trills; trillium; tribbles; Tribbles' homeworld;

External links 
 
 
 
 
 

de:Immer die Last mit den Tribbles
es:Trials and Tribble-ations
fr:Trials and Tribble-ations
ja:DS9:伝説の時空へ
nl:Trials and Tribble-ations
DS9 episodes