Hydroxycholesterols are used to formulate lipid nanoparticles (LNPs) for enhanced mRNA delivery into T cells.