Cells migrate collectively through confined environments during development and cancer metastasis. While the nucleus, a large and stiff organelle, impedes cell migration between non-deformable pillars in vitro, its function in vivo may vary depending on the microenvironment. Further, it is unknown how nuclei contribute to collective migration in vivo and whether nuclei in different positions within cell collectives experience different forces. Here, we use border cell migration in the fly ovary as an in vivo model to investigate the effects of confined, collective migration on nuclei and the contribution of nuclear lamins to migration. We found severe yet transient nuclear deformations occur, particularly in the leading cell, as border cells squeeze through tiny crevices between germline cells, termed nurse cells. Leading cells extend protrusions between nurse cells, which may pry open space to allow the cluster to advance. Here we report that the leading cell nuclei deformed as they moved into leading protrusions. Then as protrusions widened, the nucleus recovered a more circular shape. These data suggest that lead cell nuclei may help protrusions expand and thereby enlarge the migration path. To test how nuclei might promote or impede border cell migration, we investigated nuclear lamins, proteins that assemble into intermediate filaments and structurally support the nuclear envelope. Depletion of the Drosophila B-type lamin, Lam, from the outer, motile border cells, but not the inner, nonmotile polar cells, impeded border cell migration, whereas perturbations of the A-type lamin, LamC, did not. While wild type border cell clusters typically have one large leading protrusion as they delaminate from the anterior follicular epithelium, clusters depleted of B-type lamin had multiple, short-lived protrusions, resulting in unproductive cluster movement and failure to progress along the migration path. Further, border cell nuclei depleted of B-type lamins were small, formed blebs, and ruptured. Together, these data indicate that B-type lamin is requied for nuclear integrity, which in turn stabilizes the leading protrusion and promotes overall cluster polarization and collective movement through confined spaces.