NOTE: This spoiler was sent in by Horseface.

The movie opens in a night club on an upper story in a Miami high rise. Detectives James 'Sonny' Crockett (Colin Farrell) and Ricardo Tubbs (Jamie Foxx), along with their partners Trudy Joplin (Naomie Harris), Larry Zito (Justin Theroux), and Gina Calabrese (Elizabeth Rodriguez), are mingling in the club, obviously waiting for something to happen or someone to arrive. While waiting, Sonny orders a drink and flirts with the bartender. Outside, two white Escalades pull up to the club and out jumps a 15-person entourage of thuggish men and scantily clad women, led by Neptune (Isaach De Bankole). The entourage skips the line, enters the club, and once inside Neptune approaches undercover Detective Stan Switek (Dominick Lombardozzi). It seems Neptune is a pimp, and he offers his ladies' services to Switek. Switek notices one of the prostitutes looks shaken and upset, but Neptune explains that she is feeling a little sick. Swiek takes two of the prostitutes to an elevator, while Neptune and the thugs take the other ladies, including the upset prostitute, in the other direction. Tubbs sees the upset prostitute being handled roughly, and begins to follow her with Sonny right behind. One of the thugs get in Tubbs way, but Tubbs quickly dispatches him. Some more thugs begin attacking Tubbs and Sonny, but the detectives easily beat them up. However, Neptune and the upset prostitute make it to an exit. Meanwhile, Zito and Calabrese are using a cellphone to watch a live video of Switek undressing with the prostitutes.

Sonny's pursuit is then interrupted by a phone call. Sonny walks out to a balcony to hear the call better. It turns out to be Alonzo Stevens (John Hawkes), a former informant who worked with Sonny and Tubbs. Hawkes is frantic and driving very fast. He tells Sonny that a deal is about to go very bad, but he didn't give up Sonny's name, and he wants him to look out for Lucianna, who is apparently Steven's wife. Sonny asks for more details but Hawkes is too frantic and states he needs to make a quick stop at home. Tubbs joins Sonny on the balcony, and Sonny tells him that the Neptune problem will have to wait. Sonny then calls the FBI and gets on the line with Agent Fujima (Ciaran Hinds). He asks Fujima if the informant Stevens had been working on any cases for the FBI, and Fujima explains that Stevens was indeed working on a case and some inside men were currently in the process of making a deal. Sonny tells Fujima that he believes these men's cover had been blown and asks if these men had any back up, to which Fujima replies no. At the same time, Tubbs tries calling Lucianna at Steven's house but only gets the answering machine. We get a glimpse inside Steven's house while the message is being recorded and see a scary looking white dude covered in tattoos looking through the fridge.

The movie then cuts to the drug deal in question, which is taking place next to the water. The two FBI men get out of their car and approach a group of scary looking white men. The leader of the scary looking men, Coleman (Tom Towles), tells the two men that they have all the drugs they need. There is a drug for money swap, and the two FBI men return to their car with the bag of drugs. Right before they get it the car, Coleman yells to them, "How long have you been working for the FBI?" The two men realize their cover is blown and try to get in their car and drive away. Unfortunately the scary looking men have two hidden snipers on a boat with very large caliber weapons. These snipers begin firing and completely obliterate the two men inside their car.

The movie cuts back to Sonny and Tubbs who are trying to catch up with Stevens. The rest of the squad is in a helicopter overhead helping the two detectives find Stevens. They eventually find him and pull him over on to the side of the freeway. They begin questioning Stevens, who explains he was working with some FBI men but was forced to give them up. Apparently the FBI was compromised, Stevens was revealed as an informant, and the drug dealers forced Stevens to identify the FBI men. Stevens reiterates that he never mentioned Sonny or Tubbs. Stevens, however, is very afraid for his wife and needs to get home to check on her. Tubbs explains that the police have already been sent there. The movie cuts to Steven's house where we see police finding a dead body. We then cut back to Tubbs, who gets a phone call explaining that the bad guys already made it to Steven's house. Tubbs tells Stevens it is too late to go home. Sonny and Tubbs stare at Stevens, trying to look sympathetic. Stevens get very upset, turns towards the freeway, and walks right in to path of an oncoming truck, turning himself into a bloody streak on the asphalt.

Sonny and Tubbs begin driving over to Stevens' house, but before they get there, their superior, Lieutenant Martin Castillo (Barry Shabaka Henley) tells them to turn around and meet them at a designated location. Sonny and Tubbs get there, and are met by Castillo and Agent Fujima. Agent Fujima introduces himself as the man on the phone earlier. Fujima explains to Sonny and Tubbs that the FBI was trying to infiltrate an Aryan Brotherhood drug ring, but somehow the FBI's undercover operations were compromised. Since the FBI can no longer trust its own undercover operations, they need to enlist an outside undercover operation, namely Miami Vice! Sonny and Tubbs agree to do it, and they then begin to discuss the Aryan Brotherhood's operation, and how they can infiltrate it. It is explained that the Aryan Brotherhood picks up drugs that are transported from a South American cartel, and the best way to get in is to get involved with the transportation of the drugs.

Before they split, Fujima agrees to temporarily deputize Sonny and Tubbs, effectively making them FBI.

Later, Sonny, Tubbs and Castillo are watching some infrared video of two super cool speedboats traveling from Haiti to Miami. The two boats are traveling right next to each other, so that they look like one blip on the radar. The group decides they need to take over this route.

Cut to a dock, where Sonny, Tubbs and their squad are donning ski masks and loading their weapons. They then burst in to a small warehouse full of drugs and take away all the men inside. They then go out onto the dock and throw grenades into two super cool speedboats, blowing them up.

Cut to a fancy apartment where the squad meets up with Nicholas (Eddie Marsan), an informant who had helped the squad in the past. They tell Nicholas they want to set up a meeting with the South American cartel. Nicholas is reluctant, until Trudy reminds him that he is rich because of them and if they wanted to they could cause him some serious trouble. Nicholas is nervous but agrees.

Back at someone's house, Tubbs is taking a shower. In steps Trudy, revealing that the two of them have an amorous relationship. There is a bit of soap lathering but nothing else.

Later, out in the living room, Sonny, Tubbs and Trudy start talking. Trudy explains that a new identity will be created for Sonny and Tubbs, and that the drug dealers will be able to access that identity.

Later, Tubbs jumps in bed with Trudy and they do it.

We cut to Haiti, where a bunch of people are passing around a usb flash drive. The flash drive eventually ends up in the hands of Jose Yero (John Ortiz), who downloads it contents, which turns out to be Sonny and Tubbs' new false identities. Apparently Yero was checking into these guys and the new false identities worked.

The squad flies down to Haiti to meet with Yero. They end up in a really seedy part of town, where everyone is carrying guns. They meet Yero in a basement with a bunch of thugs. Also there is Isabella (Li Gong), watching the events go down. Sonny and Tubbs sit down with Yero, and Yero asks what kind of operation Sonny and Tubbs run, and what kind of jobs have they pulled in the past. Tubbs acts offended, and explains that Yero must have looked up this kind of information before and he didn't expect an interview. Yero explains that he is a real bad ass, and is referred to as the cerdo loco, or crazy pig. He gets real aggressive and all the thugs start pulling out their guns. At the same time Sonny pulls out a hand grenade and pulls the pin. Sonny explains that they can all die or they can all make some money. Yero explains he is actually counter intelligence for the operation and wanted to know what kind of people Sonny and Tubbs were. Yero tells them to wait at a hotel for further word. On the way out Sonny and Isabella exchange glances.

Sonny and Tubbs wait at the hotel, and after waiting four hours they decide they've waited long enough. They walk into the room where somehow Yero and Isabella and all the thugs are waiting. Next, we see Sonny and Tubbs driven in a car. Sonny remarks that he has reception but no service, meaning his cell phone is being jammed. Tubbs says that there are as hi tech as the American army in Baghdad. Sonny and Tubbs are then brought to a convoy of SUV's. Isabella gets in to one of the cars, and Sonny and Tubbs soon enter the same car. Inside they meet Jesus Montaya (John Cortiz), the head of the cartel, who is seated in the back seat of the car with Isabella. Montaya tells them he has agreed to use them as transporters, but he expects results not a service. He also tells them that they will never see him again, and he wishes their families well. Sonny and Isabella exchange more glances.

We cut to a South American jungle where a native looking dude throws a bale of what is apparently drugs into a plane where Sonny takes it and stows it away. With Tubbs flying, they take off with the drugs. The drug plane flies next to another plane so as to look like one blip on the radar. Apparently the rest of the transportation is uneventful.

Sonny calls Yero and tells him the drugs were delivered but there were complications along the way. Yero and Isabella meet Sonny, Tubbs, and the rest of the squad at a run down house. Sonny makes up a story that during the course of the drug run, another group of drug runners tried to steal their shipment. They were able to handle these pirates, and in the process they recovered another large stash of drugs. Sonny shows Yero the stash they recovered, and Yero recognizes the drugs as the stash that had been stolen earlier. Yero is suspicious, but Sonny and Tubbs play it off, even though they had in fact stolen it originally, and threaten to go sell it to someone else.

Later, in a much fancier house, Yero and Isabella ask Sonny how much they want for the recovered drug stash. Sonny says they can have it for free, and to consider it an investment. In return, Isabella agrees to give them another shipment. Isabella stands and leaves, but Sonny decides to follow her out while Yero and Tubbs work out the details. Sonny asks Isabella if he can buy her a drink. She asks him what kind of drink he likes and he says Mojitos. She then looks at Sonny's speedboat and asks if it is fast. He says it is and she tells him she knows of a place.

Once in the boat, Sonny discovers that Isabella is not married to Montaya, and that she is a business woman. Isabella explains that the place she had in mind is in Cuba, where her Chinese mother raised her. Sonny says he can't get in with his passport but Isabella explains she has connections. Sonny then buckles her seat belt for her and begins driving his boat really fast. They end up in Cuba, where they drink their Mojitos. They talk for a while, flirting, and then begin to dance. They really get it to and then we cut to the hotel room where they have sex. Apparently the sex is so great it makes Isabella cry. In the morning, they begin talking business, and Sonny convinces Isabella to let them be percentage partners in the shipments instead of flat fee carriers. During breakfast, they discuss how their relationship could never last.

Sonny meets up with Tubbs, Castillo, and Agent Fujima. Fujima wants to bring down the Aryan Brotherhood but Sonny wants to keep the operation going so they can bring down Montaya as well. Fujima and Sonny get in a heated argument over it, and since Sonny has the leverage he eventually wins out. After Castillo and Fujima leave, Tubbs questions Sonny's motives, and points out that there is deep cover and then there is which way is up.

Later back in South America, Isabella and Montaya are sitting on a bed talking. Isabella tells Montaya she slept with Sonny. She also explains the partnership deal. Montaya seems reluctant, and suggests killing them instead. Isabella tells him to do what he feels is best, and Montaya then backs off and agrees to try the partnership deal. Montaya then begins kissing Isabella and the two of them begin making out.

We then cut to a club in Haiti where Sonny and Tubbs have come to met Yero. Sonny walks in with Isabella and Tubbs walks in with Trudy. The club belongs to Yero, who explains that he is a disco kid. Yero explains the upcoming shipment, which is to be delivered by boat to the Aryan Brotherhood. After the meeting, they all go out to dance. Yero watches, with apparent jealousy, as Sonny and Isabella start dancing and are obviously super infatuated with each other.

After they dance, Sonny and Isabella go for a walk where Sonny asks Isabella if she has an insurance plan in case something bad happens.

Sonny and Tubbs and the rest of the squad (except Trudy) begin loading drugs from a freighter onto some speedboats. Meanwhile, Trudy is returning from the grocery store and entering her house when she is attacked and kidnapped by a bunch of Aryan Brotherhood thugs. They take her to a meth lab and tie her up, and she hears a jet plane fly overhead. One of the thugs calls Sonny and lets him hear Trudy, who in the few seconds she has mentions a white trash trailer park and airplanes. Coleman then talks to Sonny and explains that the drop has to be executed in a very specific manner at a specific bridge, to which Sonny agrees.

The squad realizes that the Aryan Brotherhood will probably kill Trudy anyway, but not until they get the drugs. They enlist Castillo to get in a helicopter and look at trailer parks around the airport, specifically for a trailer with some big antennas on it. They take their speedboats up a river towards the bridge, but before they get there they drop off Sonny, Tubbs, and Calabrese. Zito and Switek continue on in the boats, very slowly to give them time.

Castillo, in his chopper, finds the specific trailer. Sonny, Tubbs, and Calabrese, heavily armed, descend on the trailer. Sonny takes out a sentry while Calabrese pokes a scope under the trailer to take a look inside and see Trudy. Tubbs grabs a pizza box from the trash and knocks on the door. One of the rednecks opens the door and is pulled out and knocked out by Tubbs. Tubbs and Calabrese jump in and fight two of the other rednecks and Tubbs shoots one of them in the head. A fourth redneck grabs a detonator that is attached to a bomb around Trudy's neck. He claims that if he is shot he will release the button and the bomb will go off. Calabrese counters that if she shoots him right above the cerebellum he will effectively be brain dead but his body will still be alive and he will not let go. He does nothing, and she asks if he believes her or not. She then shoots him right in the head, and the bomb does not go off. Tubbs unties Trudy and carries her out to the trailer entrance.

Meanwhile, Yero has a video feed to the trailer. He activates his own bomb inside the trailer, and just as Trudy is walking down the steps it goes off, throwing Trudy through the air. Trudy is brought to the hospital where the squad learns she is in a coma and in a very serious condition.

Outside the hospital, Sonny gets a call from Yero who claims he heard there were some troubles with the drop off. Sonny is pissed, and knows that Yero was in on it. Sonny arranges for another drop off, and this time demands that Yero be there.

Cut to a scene with Yero talking to Montaya. Yero says he has no hard evidence that the "Americans" were at fault for the drop, but he does have evidence that they are not to be trusted. He shows Montaya video from the disco when Sonny and Isabella were dancing and getting super into it. He tells Montaya that their relationship is not casual.

Meanwhile, Sonny and Tubbs are getting ready for the drop off. Castillo explains that the Aryan Brotherhood will obviously change the location immediately before the drop off so that it will very difficult for the squad to get set up. Castillo also explains that he will run the show and they must wait until he can find the shooters. Tubbs talks to Sonny about his relationship with Isabella, and Sonny explains he will do what he has to do.

The squad is waiting when they get the call from Coleman concerning the new drop off location. The squad speeds there and Castillo tries to get set up with his snipers. Sonny, Tubbs, and the rest of the squad approach the bad guys at the drop off point, which is next to the water. Castillo tells Sonny and Tubbs to stall because he can't find the shooters. Tubbs calls out for Yero who emerges with Isabella. Yero explains that Montaya gave Isabella over to Yero and he will have his way with her and then violently kill her when he is done. Coleman asks to see the drugs and Sonny replies that he will not show the drugs until he sees the money. Coleman agrees to send over one of his men in return for one of theirs, but Sonny says that he will only agree if Isabella is the one to come over. Coleman agrees and sends over Isabella while Switek goes to look at the money.

As Sonny walks Isabella to the car, Castillo finally finds the shooters and has his own snipers take them out. As the shooters are shot, one of them lets off a shot, which causes a massive shoot out. Everyone takes cover, and most of the bad guys are taken out. Zito gets shot in the knee but keeps fighting. Sonny puts Isabella behind a car, and runs forward. Isabella sees his badge and finally realizes he is a cop. She runs forward to attack him, and Sonny has to tackle her to prevent Coleman from shooting her. Sonny then turns and shoots Coleman in the foot, knocking him to ground. He then puts two bullets right in Coleman's head.

Meanwhile, Tubbs has tracked down Yero who has run away with his bodyguard. Tubbs takes out the bodyguard and then blows a gaping hole in Yero's chest.

After the gunfight, Sonny grabs Isabella and throws her in his car. He drives her away to a safe house by the beach. He calls some people up and arranges to have a boat take her away back to Cuba. She is upset at first, but then resigns herself to being sad. They then talk about how it could never be and they get really sad as they look longingly at each other.

Tubbs is back at the hospital, holding Trudy's hand. Her hand begins to twitch, and Tubbs gets all excited as she comes out of her coma.

Back at the safe house, the sheets are shown to be all ruffled and Isabella is floating away on a boat. The last scene is of Sonny walking back into the hospital.