Dendritic cells (DCs) patrol their environment by linking antigen acquisition by macropinocytosis to cell locomotion. DC activation upon bacterial sensing inhibits macropinocytosis and increases DC migration, thus promoting the arrival of DCs to lymph nodes for antigen presentation to T cells. The signaling events that trigger such changes are not fully understood. We show that lysosome signaling plays a critical role in this process. Upon bacterial sensing, lysosomal calcium is released by the ionic channel TRPML1 (transient receptor potential cation channel, mucolipin subfamily, member 1), which activates the actin-based motor protein myosin II at the cell rear, promoting fast and directional migration. Lysosomal calcium further induces the activation of the transcription factor EB (TFEB), which translocates to the nucleus to maintain TRPML1 expression. We found that the TRPML1-TFEB axis results from the down-regulation of macropinocytosis after bacterial sensing by DCs. Lysosomal signaling therefore emerges as a hitherto unexpected link between macropinocytosis, actomyosin cytoskeleton organization, and DC migration.