The effect of four temperatures (18, 20, 25 and 30°C) on pupa development and sexual maturity of Anastrepha obliqua adults was investigated under laboratory conditions. The results showed that the duration of the pupal stage decreased with an increase in temperature (29, 25, 13 and 12 days, respectively), and maintaining the pupae at 18°C and 20°C results in a low percentage of pupation, pupa weight loss and lesser flying ability. However, it significantly favored sexual behavior, a higher proportion of sexual calls and matings. While enhanced pupa development was observed at a temperature of 30°C, adults had low sexual efficiency, as well as a lower proportion of calls and matings. Gas chromatography-mass spectrometry (GC-MS) analysis of male volatiles showed that the amount of (Z,E)-α-farnesene did not vary among males from pupae reared at different temperatures; however, less (E,E)-α-farnesene was emitted by males obtain from pupa reared at 30°C. Male flies kept at 30°C during their larval stage had more (Z)-3-nonenol and, also, an unknown compound was detected. The fecundity of the females was higher at low temperatures. Regarding fertility, no significant differences were found between temperatures. The optimal temperature on pupa development was 25°C when males displayed ideal attributes for rearing purposes.