The complexity of the immune system creates challenges in exploring its importance and robustness. To date, there have been few techniques developed to manipulate individual components of the immune system in an in vivo environment. Here we show a light-based dendritic cell (DC) activation allowing spatial and temporal control of immune activation in vivo. Additionally, we show time dependent changes in RNA profiles of the draining lymph node, suggesting a change in cell profile following DC migration and indicating that the cells migrating have been activated towards antigen presentation.