To mount an adaptive immune response, dendritic cells must migrate to lymph nodes to present antigens to T cells. Critical to 3D migration is the nucleus, which is the size-limiting barrier for migration through the extracellular matrix. Here, we show that inflammatory activation of dendritic cells leads to the nucleus becoming spherically deformed and enables dendritic cells to overcome the typical 2- to 3-μm diameter limit for 3D migration through gaps in the extracellular matrix. We show that the nuclear shape change is partially attained through reduced cell adhesion, whereas improved 3D migration is achieved through reprogramming of the actin cytoskeleton. Specifically, our data point to a model whereby the phosphorylation of cofilin-1 at serine 41 drives the assembly of a cofilin-actomyosin ring proximal to the nucleus and enhances migration through 3D collagen gels. In summary, these data describe signaling events through which dendritic cells deform their nucleus and enhance their migratory capacity.