Organometallic halide perovskites (OHPs) hold great promise for next-generation, low-cost optoelectronic devices. During the chemical synthesis and crystallization of OHP thin films a major unresolved question is the competition between multiple halide species (e.g. I-, Cl-, Br-) in the formation of the mixed halide perovskite crystals. Whether Cl- ions are successfully incorporated into the perovskite crystal structure or alternatively, where they are located, is not yet fully understood. Here, in situ X-ray diffraction measurements of crystallization dynamics are combined with ex situ TOF-SIMS chemical analysis to reveal that Br- or Cl- ions can promote crystal growth, yet reactive I- ions prevent them from incorporating into the lattice of the final perovskite crystal structure. The Cl- ions are located in the grain boundaries of the perovskite films. These findings significantly advance our understanding of the role of halogens during synthesis of hybrid perovskites, and provide an insightful guidance to the engineering of high-quality perovskite films, essential for exploring superior-performance and cost-effective optoelectronic devices.