The olive fruit fly (Bactrocera oleae) is a species of fruit fly which belongs to the subfamily Dacinae. It is a phytophagous species whose larvae feed on the fruit of olive trees, hence the common name. It is considered a serious pest in the cultivation of olives.