DNA replication is an essential process in biology and its timing must be robust so that cells can divide properly. Random fluctuations in the formation of replication starting points, called origins, and the subsequent activation of proteins lead to variations in the replication time. We analyse these stochastic properties of DNA and derive the positions of origins corresponding to the minimum replication time. We show that under some conditions the minimization of replication time leads to the grouping of origins, and relate this to experimental data in a number of species showing origin grouping.The replication of the DNA content of a cell is one of the most important processes in living organisms. It ensures that the information needed to synthesize proteins and cellular components is passed on to daughter cells in a robust and timely fashion. Replication takes place during the S phase of the cell cycle, and it starts from specific locations in the chromosome called origins. In order to function in a particular round of the cell cycle, possible origin locations (loci) must undergo a sequence of binding events before the S phase starts. This culminates in the clamping of one or more pairs of ring-shaped Mcm2-7 molecules around the DNA; this is known as licensing. Below we denote a pair of Mcm2-7 molecules as pMcm. Features of human replication have been studied with the help of the yeast S. cerevisiae and X. laevis frog embryos. In S. cerevisiae licensing is only possible at a set of specific points in each chromosome, characterized by the presence of specific DNA sequences, whereas in X. laevis embryos the licensing proteins can bind at virtually any location in the genome [1]. When a licensed locus activates in the S phase, two replication forks are created at the origin, and they move in opposite directions with approximately constant speed, duplicating the DNA as they travel through the chromosome [ Fig. 1(a)]. Both origin licensing and origin activation time are stochastic events, since they result from molecular processes involving low-abundance species. In X. laevis, both the loci that are licensed and licensed loci selected for activation vary randomly from cell to cell, whereas in S. cerevisiae each of the fixed loci has a certain probability of being activated in any given cell-the competence-which reflects the fraction of cells in a population in which that locus has had time to be licensed before the S phase starts [2].The total time it takes to replicate a cell's DNA-the replication time-is a quantity of crucial importance for biology, since it is clearly an evolutionary advantage for replication to be rapid as it affects the minimum time required for cells to duplicate. The location of the origins is one of the crucial factors determining the replication time of cells, and it is reasonable to expect that the loci have been selected by evolution such that the replication time is minimized. There are a number of recent theoretical and modeling works on the * jens.karschau@abdn.ac.uk. 3])....