Extracellular UDP (eUDP), released as a danger signal by stressed or apoptotic cells, plays an important role in a series of physiological processes. Although the mechanism of eUDP release in apoptotic cells has been well defined, how the eUDP is released in innate immune responses remains unknown. In this study, we demonstrated that UDP was released in both Escherichia coli–infected mice and LPS- or Pam3CSK4-treated macrophages. Also, LPS-induced UDP release could be significantly blocked by selective TLR4 inhibitor Atractylenolide I and selective gap junction inhibitors carbenoxolone and flufenamic acid (FFA), suggesting the key role of TLR signaling and gap junction channels in this process. Meanwhile, eUDP protected mice from peritonitis by reducing invaded bacteria that could be rescued by MRS2578 (selective P2Y6 receptor inhibitor) and FFA. Then, connexin 43, as one of the gap junction proteins, was found to be clearly increased by LPS in a dose- and time-dependent manner. Furthermore, if we blocked LPS-induced ERK signaling by U0126, the expression of connexin 43 and UDP release was also inhibited dramatically. In addition, UDP-induced MCP-1 secretion was significantly reduced by MRS2578, FFA, and P2Y6 mutation. Accordingly, pretreating mice with U0126 and Gap26 increased invaded bacteria and aggravated mice death. Taken together, our study reveals an internal relationship between danger signals and TLR signaling in innate immune responses, which suggests a potential therapeutic significance of gap junction channel–mediated UDP release in infectious diseases.