A major manhunt had been underway since Guzman broke out of his prison cell through a mile-long tunnel in July
Recaptured Mexican drug lord Joaquin "El Chapo" Guzman planned to make a biopic of his infamous life while on the run, according to the authorities.
Prior to his arrest, the notorious fugitive had even got as far as contacting actresses and producers for the film, it has emerged.
It has also been revealed his arrangements for the movie actually played a part in his capture, six months after his Hollywood-style escape from a maximum-security prison near Mexico City.
Attorney General Arely Gomez said an "important aspect that allowed us to locate him was that we discovered Guzman's intention to make a biographical film, for which he established contact with actresses and producers".
"The follow-up work allowed us to document meetings between attorneys of the now-detainee and these people," she said.
His prison break on 11 July, in which he fled through an elaborate tunnel, has already inspired a movie by the Mexican production company, Dragon Films, called El Chapo: The Escape Of The Century.
The cinematic aspirations of the cartel boss came to light shortly after he was caught and paraded before the world's press by Mexican marines.
He has been taken back to the same maximum-security prison he escaped from last year using an elaborate tunnel which had been dug under his shower.
Handcuffed, Guzman was bundled into a military helicopter after being forced to face the media.
Announcing his detainment on Twitter, Mexican President Enrique Pena Nieto wrote: "Mission accomplished: We got him. I want to inform Mexicans that Joaquin Guzman Loera has been arrested."
Guzman was captured after a shootout with Mexican marines in his home state of Sinaloa.
Five of the drug kingpin's henchmen were killed in the gun battle, and six were captured.
Guzman, whose nickname means "Shorty", was pursued through the drains of the city of Los Mochis before he was apprehended following a car chase.
He humiliated the Mexican authorities when he broke out of his prison cell last year, with CCTV pictures of the escape showing him calmly leaving the compound.
The government announced it was offering a 60 million peso (€3.33m) reward for information leading to his capture.
Despite the huge bounty, Guzman appeared ready to taunt the authorities, with a blog that monitors Mexico's drug war publishing photos purportedly showing him flying in a plane and enjoying a beer while at large.
The head of the Sinaloa drug cartel was said to have been injured in October while escaping from an attempt to recapture him by security forces.
The US Drug Enforcement Administration said it was "extremely pleased" by Guzman's recapture.
On Twitter, it said it saluted "the bravery involved in his capture".
The US Justice Department did not immediately comment on whether it would seek his extradition.
Guzman had previously evaded capture for years in the rugged mountains of Sinaloa state after he escaped from another maximum security prison in 2001.