Byproducts generated from food industries, such as olive oil mills, have been studied to decrease harmful pollution and their environmental consequences. In this work, a new thermal pretreatment and saprobic fungal incubation to detoxify alperujo (two-phase olive mill waste) have been evaluated in view of its use as fertilizer in agriculture. The sequential use of both methods simplifies the thermal conditions and incubation times of the fungal treatment. Optimization of the thermal treatment from 150 to 170 °C for 45 and 15 min, respectively, reduced the incubation time with Coriolpsis rigida from 20 to 10 weeks needed to reduce phytotoxic effects on tomato plants. Therefore, the combination of thermal and biological treatments will allow the development of the potential benefits of alperujo to improve nutrients in agricultural soil.