Essien, 34, joined Indonesian top-flight side Persib Bandung in January after mutually terminating his contract with Greek giants Panathinaikos.
As part of his visit, the Ghana star engaged the prisoners and encouraged them not to give up on their lives despite their current state and played panjat pinang game, which involves four men forming a team and climbing poles to pick prizes.
A prison officer, who was on duty during the visit, revealed that he initially mistook the midfielder for another player, adding that the Ghanaian is smaller in reality than on television.
"I thought it was a new player [Ezechiel Ndouassel] but it's Essien. He's smaller than TV," he told Heru.
Essien has made 12 appearances for Bandung, who sit 10th on the log, scoring three goals and providing one assist.