Aiming at improving the quality of Perna perna mussels cultivated and commercialized in Ubatuba, SP, Brazil, the growth and elimination of Staphylococcus aureus and Bacillus cereus artificially inoculated in mussels were studied. The inoculation was carried out in "in natura" and pre-cooked mussels for 30 min, and after that the mussels were kept for 10 hours at room temperature (25 ± 1 °C) and under refrigeration (7 ± 1 °C). Six thermal treatments were evaluated: three using steam (5, 10 and 15 minutes) and three in boiling water (5, 10 and 15 minutes), in order to find the best time/temperature binomial to provide pathogenic control. Yield and physical-chemical and sensory characteristics were evaluated. All thermal treatments were efficient to eliminate microorganisms in 2 logarithmic cycles. However, the boiling water treatments presented better results than the steam treatments. The physical-chemical and sensory analyses did not show statistical differences among the thermal treatments studied. The best performances were reached in the shortest times of heat exposure. Overall, the treatments in boiling water presented better results than the steam treatments.