Device and process for the detection of biodegradation of wood.The device is characterised by comprising a sensor (2) fitted with a light emitter (3) and a light detector (4) which are connected to the control module (1) which includes means of detection of small insects based on the detection of light and which generates an alarm.It comprises a temperature sensor and one for relative humidity in order to establish the moisture content of the wood starting from these parameters and to generate an alarm indicating that the conditions in the wood are suitable for the settlement of xylophage agents when the moisture content obtained exceeds an established threshold, It prevents the degradation of the wood by means of the early detection of the xylophage agents that can affect it.