http://www.hort.purdue.edu/newcrop/morton/fig.html#Keeping Quality
Pests and Diseases
Fig trees are prone to attack by nematodes (especially Meloidogynespp.) and, in the tropics, have been traditionally planted close to a wall or building so that the roots can go underneath and escape damage. A heavy mulch will serve equally well. Today, control is possible with proper application of nematicides.
In India, a stem-borer, Batocera rufomaculata, feeds on the branches and may kill the tree. Lepidopterous pests in Venezuela include the fig borer, Azochis gripusalis, the larvae of which feed on the new growth, tunnel down through the trees to the roots and kill the tree. Another, called cachudo de la higuera, has prominently horned larvae up to 3 1/8 in (8 cm) long that can destroy a fig tree in a few days. There are also coleopterous insects of the genera Epitrix and Colaspis that perforate and severely damage the leaves and shoots. Scale insects include Asterolecanium sp. which attacks the bark of trees weakened by excessive humidity or prolonged drought, and the lesser enemy, Saissetia haemispherica.
A common and widespread problem is leaf rust caused by Cerotelium fici; bringing about premature leaf fall and reducing yields. It is most prevalent in rainy seasons. Leaf spot results from infection by Cylindrocladium scoparium or Cercospora fici. Fig mosaic is caused by a virus and is incurable. Affected trees must be destroyed.
The dried fruit beetle, or sour bug, Carpophilus spp., enters the fruit through the eye and leads to souring and smut caused by Aspergillus niger. This fungus may attack ripening fruits.