The invention relates to a solid fermentation bioreactor. The reactor comprises a reaction casing , and a porous material layer separator plate (5) is arranged in the reaction casing to divide the reaction casing into an upper fermentation chamber (1) and a lower layer air chamber (3); the reactor also comprises a fermentation control system for controlling a stirring unit, a temperature control unit, a humidity control unit, an air feed control unit and a fermentation tail gas detection and processing unit, so as to realize real time monitoring and control on temperature, humidity, ventilation, stirring and tail gas. The invention realizes totally enclosing on-line fermentation and prevents extraneous pollutants from entering; the tail gas detection system carries out real time on-line monitoring on fermentation gas, and tail gas is treated by tail gas recovery equipment to protect the environment, thereby realizing coupling operation of temperature, humidity, ventilation, stirring and tail gas control system and ensuring necessary essential factors for microbe growth.