The ATP-dependent chromatin remodeller DDM1 has a vital role in plant DNA methylation, influencing gene silencing and suppression of transposable elements. The structure of DDM1 in complex with nucleosome in different states of the ATP hydrolysis process reveals the molecular mechanism underlying chromatin remodelling by DDM1.