Fruit flies (Diptera: Tephritidae) are considered the main fruit pests worldwide. In Brazil, two species are predominant: the South American fruit fly, Anastrepha fraterculus and the Mediterranean fruit fly, Ceratitis capitata. In this study, we evaluated the effect of artificial diets with variable pH in their larval development and adult performance. The experiments were carried out in the laboratory at 25 ± 2 °C, 70 ± 10% RH and 12:12h (L:D) photoperiod. Semisolid diets with pH values of 6.0, 5.0, 4.0, 3.0, 2.0, 1.5, and 1.0, adjusted by adding hydrochloric acid were tested. Results indicated that the diet with pH 6.0 did not support larval development of both species of fruit fly. Diets with greater acidic pH values did not allow egg, larvae or pupae development and adult reproduction of A. fraterculus. For C. capitata , the pH of artificial diet exerts greater influence compared to A. fraterculus on the duration and viability of the larval stage, number of pupae, sex ratio and longevity of males.