Mr Obama will arrive in India on Saturday for the first leg of an Asian tour.
But as well as the usual security measures that come with welcoming a visiting dignitary, Indian authorities have decided to go one step further, by removing all natural threats to the president as well.
“We told the authorities to remove the dry coconuts from trees near the building. Why take a chance?” Mani Bhavan’s executive secretary, Meghshyam Ajgaonkar, told the BBC.
Last week American security officers inspected Mani Bhavan and its surroundings along with other places the president is likely to visit.
Every year in India people are injured or even killed by falling coconuts.
Mr Obama, still smarting from heavy losses in the midterm elections, will visit India, Indonesia, South Korea, Japan and China on the 10-day tour.