Obama, unaware of being caught over an open mic, was chatting with UN Special Rapporteur Maina Kiai during an event at United Nations headquarters in New York.
"I hope you quit smoking," Obama said as the two men greeted each other.
Kiai admitted to the president that he hadn't given up smoking altogether, to which Obama answered that "I haven't had a cigarette in probably six years."
"That's because I'm scared of my wife," the president confided during an exchange that was aired on CNN.
Obama acknowledged in recent years that he was struggling to stop smoking, while the first lady, a promoter and champion of healthy living, was one of the people who most insisted on it.
Obama was still a smoker when he had his first medical checkup as president in February 2010.
However, months after being elected president, he admitted that he still smoked from time to time. It wasn't until 2011 that doctors confirmed that Obama was leading a smoke-free life.
Ooh La Lana! WWE Diva flaunts sexy curves in these 30 pictures
Photos: Salman Khan returns from Jodhpur to Mumbai
15 'peach' perfect photos of Priyanka Chopra at People's Choice Awards 2017
62 going on 16: These photos of Rekha prove she is 'forever young'
Spotted: Alia Bhatt, Ranveer Singh, Neha Dhupia in Bandra