The use of fertilizer is closely related to crop growth and environmental protection in agricultural production. It is of great significance to develop environmentally friendly and biodegradable bio-based slow-release fertilizers. In this work, porous hemicellulose-based hydrogels were created, which had excellent mechanical properties, water retention properties (the water retention ratio in soil was 93.8% after 5 d), antioxidant properties (76.76%), and UV resistance (92.2%). This improves the efficiency and potential of its application in soil. In addition, electrostatic interaction and coating with sodium alginate produced a stable core–shell structure. The slow release of urea was realized. The cumulative release ratio of urea after 12 h was 27.42% and 11.38%, and the release kinetic constants were 0.0973 and 0.0288, in aqueous solution and soil, respectively. The sustained release results demonstrated that urea diffusion in aqueous solution followed the Korsmeyer–Peppas model, indicating the Fick diffusion mechanism, whereas diffusion in soil adhered to the Higuchi model. The outcomes show that urea release ratio may be successfully slowed down by hemicellulose hydrogels with high water retention ability. This provides a new method for the application of lignocellulosic biomass in agricultural slow-release fertilizer.