Biomaterial carriers offer modular features to control the delivery and presentation of vaccines and immunotherapies. This tunability is a distinct capability of biomaterials. Understanding how tunable material features impact immune responses is important to improve vaccine and immunotherapy design, as well as clinical translation. Here the modularity of biomaterial properties is discussed as a means of controlling encounters with immune signals across scales-tissue, cell, molecular, and time-and ultimately, to direct stimulation or regulation of immune function. These advances are highlighted using illustrations from recent literature across infectious disease, cancer, and autoimmunity. As the immune engineering field matures, informed design criteria could support more rational biomaterial carriers for vaccination and immunotherapy.