The immune system is imperative to the survival of all biological organisms. A functional immune system protects the organism by detecting and eliminating foreign and host aberrant molecules. Conversely, a dysfunctional immune system characterized by an overactive or weakened immune system causes life-threatening autoimmune or immunodeficiency diseases. Therefore, a critical need exists to develop technologies that regulate the immune system to ensure homeostasis or treat several diseases. Accumulating evidence shows that biomaterials�artificial materials (polymers, metals, ceramics, or engineered cells and tissues) that interact with biological systems�can trigger immune responses, offering a materials science-based strategy to modulate the immune system. This Review discusses the expanding frontiers of biomaterial-based immunomodulation, focusing on principles for designing these materials. This Review also presents examples of immunomodulatory biomaterials, which include polymers and metal-and carbon-based nanomaterials, capable of regulating the innate and adaptive immune systems.