Arabidopsis NDX was previously reported as a regulator of euchromatic gene expression. Here the authors show that NDX functions at pericentromeric regions and regulates heterochromatin homeostasis by controlling siRNA production and non-CG methylation.