The dynamics of lignin, a complex and heterogeneous major plant cell-wall macromolecule, is of both fundamental and practical importance. Lignin is typically heated to temperatures above its glass transition to facilitate its industrial processing. Here, we performed molecular dynamics simulations to investigate the segmental (?) relaxation of lignin, the dynamical process that gives rise to the glass transition. It is found that lignin dynamics involves mainly internal motions below T<
sub>
g<
/sub>
, while segmental inter-molecular motions are activated above T<
sub>
g<
/sub>
. The segments whose mobility is enhanced above T<
sub>
g<
/sub>
consist of 3?5 lignin monomeric units. The temperature dependence of the lignin segmental relaxation time changes from Arrhenius below T<
sub>
g<
/sub>
to Vogel?Fulcher?Tamman above T<
sub>
g<
/sub>
. This change in temperature dependence is determined by the underlying energy landscape being restricted below T<
sub>
g<
/sub>
but exhibiting multiple minima above T<
sub>
g<
/sub>
. The Q-dependence of the relaxation time is found to obey a power-law up to Q<
sub>
max<
/sub>
, indicative of sub-diffusive motion of lignin above T<
sub>
g<
/sub>
. Temperature and hydration affect the segmental relaxation similarly. Increasing hydration or temperature leads to: (1) the ? process starting earlier, i.e. the beta process becomes shortened, (2) Q<
sub>
max<
/sub>
decreasing, i.e. the lengthscale above which subdiffusion is observed increases, and (3) the number of monomers constituting a segment increasing, i.e. the motions that lead to the glass transition become more collective. The above findings provide molecular-level understanding of the technologically important segmental motions of lignin and demonstrate that, despite the heterogeneous and complex structure of lignin, its segmental dynamics can be described by concepts developed for chemically homogeneous polymers.