Perfluoalkyl and perfluoroalkylether substituted benzoxazoles, benzothiazoles, bisbenzoxazoles, and bisbenzothiazoles have been synthesized and have been extensively tested as antirust and anticorrosion additives in grease compositions based on fluorine-containing fluids and fluorinated ethylene-propylene (FEP) and polytetrafluoroethylene (PTFE) thickeners. Testing has shown that one percent concentrations of the additives in the grease formulations provide inhibition against rusting of ferrous metal components under conditions of high humidity. Testing in high-temperature environments has shown that corrosion of the ferrous metals is inhibited under these conditions also. Variations in fluid and thickener concentrations or grease consistency had no deleterious or synergistic effect on the inhibiting characteristics of the additives.