Plot
In Mexico, Machete Cortez, a Mexican Federal and his younger partner are on a mission to rescue a kidnapped girl. During the operation, his partner is killed, the kidnapped girl stabs him in the leg before she is killed, and Machete is betrayed by his corrupt Chief to the powerful drug lord and former Federal, Rogelio Torrez, who kills the girl, brings in Machete's wife to kill her in front of him, and implies that he will kill Machete's daughter before leaving him for dead.
Three years later, a down-and-out Machete roams Texas, scraping by on yard work. Michael Booth, a local businessman and spin doctor, explains to Machete that corrupt Texas State Senator John McLaughlin is deporting hundreds of illegal immigrants, which would reduce the number of laborers. To stop this, Booth offers Machete $150,000 to kill McLaughlin. Machete accepts the murder contract after Booth threatens to kill him if he does not.
Machete trains a rifle on McLaughlin from a rooftop during a rally, but before he fires, he sees one of Booth's henchmen aiming at him. The henchman shoots Machete in the shoulder, and shoots McLaughlin in the leg. It is revealed that Booth orchestrated the attempted assassination as part of a false flag operation to gain public support for McLaughlin's secure border campaign. By setting up Machete as the gunman, the conspirators appear that an outlaw Mexican immigrant has tried to assassinate the senator, who is known for his tough stance on illegal immigration.
An injured Machete escapes capture by Booth and is taken to a hospital to be treated for wounds, escaping again from Booth's henchmen at the hospital. Agent Sartana Rivera, a persistent U.S. Immigration and Customs Enforcement agent, is sent by her superior to capture the injured Machete. Machete, with the help of Luz, aka Shé, the leader of an illegal immigrant aid movement known as the Network, recruits Padre, his "holy" brother. For revenge on Booth, Machete kidnaps Booth's wife June and his daughter April, after "starring" in an amateur adult film with them. He also collects evidence from Booth's house linking McLaughlin and Torrez in a major drug trafficking deal.
After encountering Machete, Sartana begins to develop an interest in him. Elsewhere, Booth, who is revealed to be working for Torrez, hires a hitman, Osiris Amanpour, to assist in the hunt for Machete. A group of border vigilantes sponsored by McLaughlin and led by Von Jackson begin attacking anyone who may be harboring Machete, and they shoot Luz in the right eye.
Booth and Osiris lead a raid on the church. Padre kills their henchmen before the two incapacitate him and kill him by nailing him to a cross, but do not find Booth's wife and daughter. Unbeknownst to Booth, the church has cameras. Through the CCTV recordings, the news of McLaughlin's corruption and faked assassination is eventually aired on national television. Infuriated, McLaughlin kills Booth and heads back to join Torrez and Jackson to kill Machete. In order to eliminate the people who double-crossed him, Machete gathers the Mexican Network and leads them to the base of the border vigilantes. When McLaughlin arrives at the base, Jackson turns on him for being involved with the Mexican drug trade and attempts to execute him, but is interrupted when Machete and the illegals arrive.
During this confrontation, the Mexican illegals triumph over the border vigilantes. Jackson tries to escape, but Luz, who survived and now sports an eye patch, shoots him in the back of the head. Machete fights Torrez and stabs him, who then scornfully kills himself through Seppuku. April shows up wearing a nun's habit after escaping from the church and shoots McLaughlin after figuring out that he has killed her father.
Injured, McLaughlin manages to escape, but he is killed by the last remnants of his own border vigilante group, who mistake him for a Mexican. Machete meets with Sartana, who gives him a green card, but he rejects it, saying that he is already a legend. They kiss and ride off into the night.