PlantwisePlus Blog

Bean fly is a serious crop pest that can reduce bean yields, putting farmers’ food security and incomes at risk. However, managing the pest effectively can be difficult when farmers do not know the best time to intervene. New research suggests that modelling how the relative numbers of bean fly larvae build up in relation to local temperature conditions can give farmers a clearer window of when to monitor and act if needed. Better timing could make pest management more effective, while potentially reducing unnecessary pesticide applications. In this blog, we explore the research, its findings, and what they could mean for farmers.

A bean farmer in Kenya in his field of crops
A bean farmer in Kenya. Image © CABI

The common bean: a staple for food security and income

The common bean (Phaseolus vulgaris L.) is an important crop in Eastern Africa. Mainly grown during the rainy seasons, it provides a good source of calories, micronutrients, and protein for people living in the region. Although largely grown for subsistence, it is also an important cash crop. Farmers can store beans for long periods of time and sell them relatively easily to generate income.

Given the bean’s benefits, managing the pests that damage them is crucial for many farmers. Two pest fly species – Ophiomyia spencerella and Ophiomyia phaseoli – are considered particularly damaging. These bean flies can cause major yield losses ranging from 10% to 100%. Both are widely found across Eastern Africa and have overlapping distributions in some areas and altitudes. Reducing these yield gaps is essential for food security. This is especially important, as the number of people living in Eastern Africa is predicted to grow by over 60% by 2050 (c. 530 million to c. 855 million people).

We need to find ways to reduce pesticide use

Farmers largely manage bean flies with seed dressings made from synthetic pesticides. Other methods, such as synthetic pesticide sprays, can be beneficial, as the sprays target fly larvae. However, farmers must often repeatedly spray their crops, and this is both time-consuming and expensive. Pesticide costs account for 14% of total production expenses. Furthermore, repeated spraying can lead to unwanted outcomes. These include:

  • The flies becoming resistant to insecticides
  • The accumulation of chemical residues within the beans themselves
  • Adverse effects on beneficial organisms – the natural enemies of bean flies

Over time, these effects can weaken natural pest control and contribute to a resurgence in bean fly populations, potentially making infestations harder to manage. However, it may be possible to reduce pesticide use while still maintaining effective control of the pest. This requires understanding how bean fly populations develop on crops under local conditions, so that insecticides can be applied at the optimal time and potentially fewer applications are needed.

Temperature is the main factor controlling how fast population development occurs. By understanding this, models can use local temperature data to predict when the larvae will start to build up in the field. The research can turn this prediction into a simple instruction for farmers: monitor the crop at a specific time and, if larvae are present, take action to control the pest before the population reaches damaging levels.

The research: using temperature for a pest forecast

Studies have shown that life cycles of Ophiomyia spencerella and Ophiomyia phaseoli are very similar, so a single model can be used for both. Researchers used information from existing studies on how bean flies develop at different temperatures. This included the minimum and maximum temperatures at which development can occur. They then combined this information with field data they had collected on bean fly larvae, and local temperature data estimated by using weather records and satellites, to develop a model linking local temperatures to the build-up of larval populations.

On the left is a bean plant leaf with bean fly damage. On the right, two adult bean fly
Left: Ophiomyia phaseoli damage on a bean leaf © Benson Ngigi, Kenya. Right: Adult Ophiomyia phaseoli © James Litsinger

The model uses a measurement known as degree-days, which represent the heat available for insect development over time. Degree-days are calculated by measuring how far temperatures rise above a minimum threshold needed for development. Each day that temperatures are suitable for development contributes to an accumulating total. Warmer days generally contribute more than cooler ones. Rather than relying on a fixed number of calendar days to predict when bean fly larvae will build up, the model uses accumulated heat to estimate when populations are likely to increase. Because temperatures vary between locations, the model can account for local conditions and provide more tailored predictions of when farmers should monitor their crops.

The researchers used their model to identify an optimal time to manage the pest based on the point at which larvae populations started to increase rapidly. This occurs at around 218 degree-days. They suggested that acting at this point would suppress the population before it became unmanageable. Doing so would not only minimize crop losses caused by the current generation of bean fly. It would also potentially reduce the size of subsequent generations.

Importantly, the model’s predicted larval presence closely matched observed presence across all field sites. This suggests that temperature-based forecasting could provide a useful basis for advising farmers when to monitor their crops and consider pest control measures.

A worker putting harvested beans into multicolour crates
The common bean (Phaseolus vulgaris L.) is an important crop in Eastern Africa. Although largely grown for subsistence, it is also an important cash crop. Image © CABI.

From prediction to action

Early action is important for bean fly management. Better forecasting is already helping farmers to move from reactive pest management to more targeted, timely interventions and pesticide use reduction. For example, the Pest Risk Information SErvice (PRISE), implemented in Ghana, Kenya, Malawi, and Zambia, has developed temperature-driven models for major bean, maize, and tomato pests. Using Earth Observation data to drive the models, PRISE partnered with African national agencies. They can now communicate pre- and in-season pest alerts that forecast the time to act against key insect pests.

As climate change alters temperature patterns, research into understanding how this affects pest lifecycles also helps to improve targeted pest management. For farmers, pest management is often reactive and a race against time. The earlier they can identify a problem, the more options they have to respond. Research into temperature to predict bean fly population development offers a way to make that timing more precise.

The next step is expanding this scientific advance into even more practical and accessible advice that farmers can use in their fields. The future of pest management may not only be about finding new ways to control pests. It may also be about getting better at knowing when to act.

Our donors

This work was funded through the PRISE project, which was funded from 2017 to 2022 by the UK Space Agency International Partnerships Programme and from 2022 by the CABI PlantwisePlus programme as a collaboration between CABI and Assimila LTD.

Leave a Comment

Related News & Blogs

Banana bunchy top disease prevention in Ghana – proactive strategies help reduce risks 

Banana bunchy top disease is one of the most destructive banana and plantain diseases worldwide. Caused by a virus, it poses a considerable risk to commercial and smallholder farmers alike, causing yield losses of 2 to 12 tonnes per hectare and income…

22 September 2026