The man, who was wanted for a street robbery and other offences, hid in the hole to evade police who were searching for him in the Allerton area of Bradford.
He was concealed by a carpet which covered the hole.
Nonetheless, he was found by the police on Sunday, May 26.
He was arrested.
How to see Lancaster bomber and Spitfire flypasts near Leeds at Yorkshire Wartime Village
Major new £85m build-to-rent Leeds city centre development to go ahead following approval
Developers admit planning breaches in construction of Leeds retirement flats
Leeds councillor in plea for public help after reporting suspected drug house to police
Leeds train strikes: Northern issues 'do not travel' warning to passengers as operator confirms skeleton schedule
Two other occupants in the flat were arrested.
They were charged with obstruction of the police in their lawful duty and assisting an offender.
The incident was shared by the West Yorkshire Police Bradford West team on their Facebook page.
In a statement on Facebook, they said: "Hide and seek contest lost for Robbery Suspect!
"Bradford West most wanted caught today
"Team 1 made multiple enquiries around the Allerton area searching for Male subject who had made it onto our most wanted list following a street robbery and other offences."
They added: "The male was found in an ‘El Chapo’ inspired hole under the ground floor flat. The hole was covered with carpet.
Two other occupants were arrested and charged with obstruction of the police in their lawful duty and assisting an offender.
“A dedicated effort by all the team working together at West. Well done."
Joaquín Archivaldo Guzmán Loera, known as El Chapo, is a Mexican drug lord.
In 2005 he escaped from prison through a hole in the floor of his cell's shower.