The purple sea urchin (Strongylocentrotus purpuratus) genome sequence contains a complex repertoire of genes encoding innate immune recognition proteins and homologs of important vertebrate immune regulatory factors. To characterize how this immune system is deployed within an experimentally tractable, intact animal, we investigate the immune capability of the larval stage. Sea urchin embryos and larvae are morphologically simple and transparent, providing an organism-wide model to view immune response at cellular resolution. Here we present evidence for immune function in five mesenchymal cell types based on morphology, behavior and gene expression. Two cell types are phagocytic; the others interact at sites of microbial detection or injury. We characterize immune-associated gene markers for three cell types, including a perforin-like molecule, a scavenger receptor, a complement-like thioester-containing protein and the echinoderm-specific immune response factor185/333. We elicit larval immune responses by (1) bacterial injection into the blastocoel and (2) seawater exposure to the marine bacteriumVibrio diazotrophicusto perturb immune state in the gut. Exposure at the epithelium induces a strong response in which pigment cells (one type of immune cell) migrate from the ectoderm to interact with the gut epithelium. Bacteria that accumulate in the gut later invade the blastocoel, where they are cleared by phagocytic and granular immune cells. The complexity of this coordinated, dynamic inflammatory program within the simple larval morphology provides a system in which to characterize processes that direct both aspects of the echinoderm-specific immune response as well as those that are shared with other deuterostomes, including vertebrates.