When Ernita planted a ring of citrus trees around her oil palm farm three years ago, she was hoping to solve two problems at once: keep wild elephants from destroying her crops, and earn extra money from selling the tangy fruits. The plan worked. "Since we planted the citrus trees, the elephants haven't eaten our oil palm fruits," said Ernita, a 33-year-old farmer in Lubuk Kembang Bunga, a village on the edge of Tesso Nilo National Park in Sumatra.

The park, which covers 81,793 hectares — an area larger than New York City — is home to Sumatra's largest population of wild elephants. But decades of illegal logging and oil palm plantations have shrinking their habitat. More than three-quarters of the park's old-growth forest has vanished since 2009, leaving only about 13,000 hectares of partial forest cover. As their home disappears, elephants are increasingly wandering into nearby villages, sometimes destroying farms or even attacking people.

Before the citrus trees, Ernita and her neighbors used carbide cannons and firecrackers to scare elephants away — the same noisy tools used by government patrols. Some farmers resort to poison or electric fences, which have killed many animals. But Ernita and her husband Sumardi found a gentler solution. They planted about 600 citrus trees spaced 1.5 meters apart around their 1.5-hectare oil palm farm, creating what experts call an agroforestry plot, where crops and trees grow side by side.

The couple grows five types of citrus: orange, calamansi, lemon, key lime, and kaffir lime. The strong smell of these fruits naturally repels elephants, while the trees also produce harvestable crops. Elsewhere in Lubuk Kembang Bunga, farmers plant jackfruit, cempedak, and petai — fruits that elephants love to eat, giving the animals a food source outside the park.

Ernita is part of a women's group called Perbani, which has more than 30 members. The group meets monthly for gender equality classes, learning skills like leadership and public speaking, and runs a savings-and-loans program to support one another economically. In 2024, Indonesia's forestry ministry recognized Perbani's work by granting the group official "Wanawiyata Widyakarya" status, an award given to community organizations that successfully run conservation projects and train local residents.

The need for solutions is urgent. Sumatra's wild elephant population has dropped dramatically: from 2,400 to 2,800 animals in 2007 to just 1,100 today. In Tesso Nilo alone, elephant numbers fell from 200 in 2004 to 150 in November 2025. As habitat continues to disappear, the tension between humans and elephants grows.

But in Lubuk Kembang Bunga, women like Ernita are proving that people and wildlife can coexist. By planting the right trees, they've protected their livelihoods, created new sources of income, and given elephants a fighting chance in a shrinking world.