How cells maintain their ploidy is relevant to cellular development and disease. Here, we investigate the mechanism by which the bacterium Bacillus subtilis enforces diploidy as it differentiates into a dormant spore. We demonstrate that a sporulation-induced protein SirA (originally annotated YneE) blocks new rounds of replication by targeting the highly conserved replication initiation factor DnaA. We show that SirA interacts with DnaA and displaces it from the replication origin. As a result, expression of SirA during growth rapidly blocks replication and causes cell death in a DnaA-dependent manner. Finally, cells lacking SirA over-replicate during sporulation. These results support a model in which induction of SirA enforces diploidy by inhibiting replication initiation as B. subtilis cells develop into spores.