Résumé : There have been many efforts to valorise lignin to produce bio-based chemicals and advanced materials. In this study, alkaline delignification was initially employed to recover lignin from the rind, pulp, and whole bagasse fractions of Moroccan sugarcane. The lignin fractions were subsequently modified via silanization and acetylation reactions. The modified lignin and raw lignin were then characterised to assess changes in their physicochemical properties via Fourier transform infrared spectroscopy (FTIR), solubility and thermogravimetric assessment, with both salinization and acetylation modification shown to enhance the solubility properties of the raw lignin of both polar and non-polar solvents. Preliminary investigations into the suitability of employing the modified lignin in hydrogel preparation were also undertaken. The preliminary hydrogels were developed using heating and freeze-thawing methods, while polyvinyl alcohol (PVA) and epichlorohydrin (ECH) were used as the matrix and the crosslinking agents, respectively. Fourier transform infrared spectroscopy (FTIR), rheological analysis, scanning electron microscopy, and thermal analysis were then used to characterize the different lignin–PVA hydrogels. The study showed that the swelling behaviour of the hydrogels was mainly influenced by the nature of the lignin (i.e., modified or raw), and the morphology of the hydrogel surfaces varied depending on the preparation methods. The study showed that the hydrogel based on silanized lignin and PVA had superior mechanical performance and swelling capacity compared to the acetylated lignin–PVA and raw lignin–PVA hydrogels.