Ferrari's Kimi Raikkonen took pole position for the showcase Monaco Formula One Grand Prix on Saturday with world championship leading German team mate Sebastian Vettel alongside him on the front row.
The pole was the Finnish 2007 world champion's first since the June 2008 French Grand Prix and the 17th of his career.
Britain's triple champion Lewis Hamilton, six points behind Vettel in the standings after five races, suffered a major blow when he failed to muscle his Mercedes into the top 10 and qualified only 14th.
Button set to start Monaco GP from last place
McLaren have not qualified higher than seventh on the 20 car grid in five races this season.
Button, the 2009 world champion and former Monaco winner, is standing in for Fernando Alonso in the Mediterranean principality while the Spaniard competes in the Indianapolis 500 on the same day.
The penalty will only confirm in Alonso's mind that the double world champion, who has been the centre of attention at Indianapolis, was right to miss Monaco for a shot at glory across the Atlantic.
McLaren are the only team yet to score a point this season, the former champions beset by a lack of reliability and performance.
Monaco had represented a real chance for the team to change that, however, with the tight and twisty street circuit rewarding driver skills and making engine power less of a factor.
Button, who had not driven a Formula One car for more than six months until he stepped into the cockpit for Thursday practice, was 12th in Saturday's final session before qualifying.
Belgian team mate Stoffel Vandoorne, who already had a three place penalty carried over from the previous race in Spain, was 10th.
Button, 37, had said on Thursday that he was enjoying being back behind the wheel.
"I definitely stepped away at the right time and I haven’t missed driving a Formula One car. But today I really enjoyed it, more than I have for a couple of years to be fair," he said at the time.
"I'm enjoying it very much, probably more than I thought I would actually."
Meet the most popular driver in F1
How kabaddi challenges cricket's might
5 reasons why Nadal is favourite to regain Paris throne
Top women's contenders at the 2017 French Open
Factbox: A list of French Open women's champions over time