Nucleosome positioning is crucial for gene expression and other DNA-related processes. In this Review, the authors consider mechanisms by which the genomic pattern of nucleosome positioning is achieved and conclude that nucleosome positioning is determined by the combined effects of several factors including DNA sequence, DNA-binding proteins, nucleosome remodelers and the transcription machinery.