A method for drying a product to be dehydrated, comprising displacement of the product to be dehydrated on an industrial treatment course (9a-9i, 11, 12, 1, 2, 15, 5, 61, 6), said course comprising a reactor and a heat exchanger, said course further comprising a mechanical compression system, said method comprising: - a step of thermal conditioning, during which the product to be dehydrated is maintained in the reactor at a carbonization pressure P0, preferably of between 0.6 and 3.5 MPa, and at a carbonization temperature T0, preferably of between 140 and 300°C; - a step of mechanical dehydration during which: o the product to be dehydrated which has been subjected to the thermal conditioning step and the step of transfer of heat is introduced into the mechanical compression system; o the product to be dehydrated contained in the mechanical compression system is compressed by application of a dehydration pressure P1, preferably of more than 0.5 MPa; and o a liquid fraction of the product to be dehydrated is discharged, the liquid fraction being separated from the product to be dehydrated under the effect of its compression; characterized in that the method comprises: a step of transfer of heat, during which, by means of the heat exchanger, transfer takes place to a heat transfer fluid of at least part of the heat contained in the product to be dehydrated which has been subjected to the thermal conditioning step; - a heating step, during which transfer takes place to the product to be dehydrated of at least part of the heat contained in the heat transfer fluid which has been subjected to the step of transfer of heat, this heating step being carried out simultaneously with, or after, the mechanical dehydration step. - a step of thermal conditioning, during which the product to be dehydrated is maintained in the reactor at a carbonization pressure P0, preferably of between 0.6 and 3.5 MPa, and at a carbonization temperature T0, preferably of between 140 and 300°C; - a step of mechanical dehydration during which: o the product to be dehydrated which has been subjected to the thermal conditioning step and the step of transfer of heat is introduced into the mechanical compression system; o the product to be dehydrated contained in the mechanical compression system is compressed by application of a dehydration pressure P1, preferably of more than 0.5 MPa; and o a liquid fraction of the product to be dehydrated is discharged, the liquid fraction being separated from the product to be dehydrated under the effect of its compression; characterized in that the method comprises: a step of transfer of heat, during which, by means of the heat exchanger, transfer takes place to a heat transfer fluid of at least part of the heat contained in the product to be dehydrated which has been subjected to the thermal conditioning step; o the product to be dehydrated which has been subjected to the thermal conditioning step and the step of transfer of heat is introduced into the mechanical compression system; o the product to be dehydrated contained in the mechanical compression system is compressed by application of a dehydration pressure P1, preferably of more than 0.5 MPa; and o a liquid fraction of the product to be dehydrated is discharged, the liquid fraction being separated from the product to be dehydrated under the effect of its compression; - a heating step, during which transfer takes place to the product to be dehydrated of at least part of the heat contained in the heat transfer fluid which has been subjected to the step of transfer of heat, this heating step being carried out simultaneously with, or after, the mechanical dehydration step.