The effect of oleic acid overloads on biomass accumulation and activity in an anaerobic filter was investigated. An anaerobic fixed-bed reactor specially designed to allow the regular withdrawal of accumulated biomass was used for that purpose. Organic and hydraulic shocks were performed during four days, by stepwise increasing the substrate concentration from 4000 to 20 000 mg COD/l or by reducing the hydraulic retention time from 16 to 3.2 h. During the organic shock, operational performance was more affected than in the hydraulic one, which was the result of the higher degree of inhibition detected in the acetoclastic, hydrogenophilic and syntrophic activities. The ratio adhered/total biomass remained between 17 and 32% during the hydraulic shock, and between 13 and 60% during the organic shock, suggesting a more stable biofilm during the hydraulic shock. A long time (900 h) after the hydraulic shock, hydrogenophilic and syntrophic activities recovered to higher values than before the shock, but after the organic shock only acetoclastic activity recovered pre-shock values. Hydraulic shock induced an increase in tolerance to oleic acid toxicity, evidenced by an increase in the toxicity limit (IC 50 ) from 140 930 to 215 925 mg/l.