The invention relates to the use of a composition for treating the surfaces of livestock buildings and/or the material therein in order to eliminate and/or inhibit pathogenic protozoa, and in particular coccidiosis oocysts. According to the invention, said composition essentially comprises the combination of an alkylamine and of a quaternary ammonium or of a quaternary ammonium derivative.