Cheng Kao became stuck when he tried to squeeze underneath the window instead of using the door.
Passers-by called rescue officials when they saw the man passed out under the window.
Police said Cheng told them he put his PIN number in wrong three times and the ATM "swallowed" his card. He then couldn't get the door to open and thought the best way to freedom was to go underneath the glass window.
A spokesman for the fire service said Cheng was too intoxicated to follow instructions on how to get out, so they had to smash the glass panel to extract him. Adding, "It is going to turn out to be a very expensive night on the town for this man," because "he will be charged for the cost of repairing the booth."