Anastrepha obliqua (Macquart, 1835) is an important pest of tropical fruits, especially Anacardiaceae and Myrtaceae, in the Americas. The objective of this study was to evaluate the influence of mineral films and biomaterials on the coloring of guava fruits (Psidium guajava L.) and implications for the oviposition of A. obliqua. Before the bioassays, color, firmness characteristics, total soluble solids, pH, and titratable acidity were determined to characterize the maturation stage of the fruits. Pieces of guava fruit covered in aluminum foil were immersed in suspensions of mineral particles (Surround® WP kaolin; kaolins 605, 607, 608, and 611; and talc) and biomaterials (chitosan, cassava and potato starch, and guar gum) and distilled water (control). After drying, the fruits were exposed to two A. obliqua pairs for 48 h in choice and non-choice tests, and the numbers of eggs per fruit were counted. Mineral films (Surround® WP kaolin, and kaolins 605, 607, 608, and 611) and biomaterials (cassava and potato starch) interfered with the color of guava (luminosity, chroma, and hue angle), inhibiting the oviposition of A. obliqua. Talc, chitosan, and guar gum did not influence the oviposition of A. obliqua in guava.