The 33-year-old suspect handed himself into police just a few minutes after carrying out the robbery on the restaurant in Vienna's Leopoldstadt district on Friday morning.
He had held up the restaurant with a blank-firing gun and threatened an employee into handing over €85 in cash from the till.
Once he got hold of the cash, however, he went to the nearest police station and handed himself in.
After the 33-year-old was arrested he told officers that he was suffering financial problems and wanted a new start in life.
“He was very unhappy with his life situation,” police spokesman Christoph Pölzl told the ORF. “He said during the interrogation that he wanted to be locked up so he could have a fresh start.”
The suspect is currently being detained in jail.