Astrocyte swelling and the subsequent increase in intracranial pressure and brain herniation are major clinical consequences in patients with acute hepatic encephalopathy. We recently reported that conditioned media from brain endothelial cells (ECs) exposed to ammonia, a mixture of cytokines (CKs) or lipopolysaccharide (LPS), when added to astrocytes caused cell swelling. In this study, we investigated the possibility that ammonia and inflammatory agents activate the toll-like receptor 4 (TLR4) in ECs, resulting in the release of factors that ultimately cause astrocyte swelling. We found a significant increase in TLR4 protein expression when ECs were exposed to ammonia, CKs or LPS alone, while exposure of ECs to a combination of these agents potentiate such effects. In addition, astrocytes exposed to conditioned media from TLR4-silenced ECs that were treated with ammonia, CKs or LPS, resulted in a significant reduction in astrocyte swelling. TLR4 protein up-regulation was also detected in rat brain ECs after treatment with the liver toxin thioacetamide, and that thioacetamide-treated TLR4 knock-out mice exhibited a reduction in brain edema. These studies strongly suggest that ECs significantly contribute to the astrocyte swelling/brain edema in acute hepatic encephalopathy, likely as a consequence of increased TLR4 protein expression by blood-borne noxious agents. Ammonia and inflammatory agents, such as lipopolysaccharide (LPS) or cytokines (CKs), activate the toll-like receptor 4 (TLR4) in endothelial cells (ECs) ultimately resulting in astrocyte swelling. TLR4 protein upregulation was detected in rat brain ECs in acute hepatic encephalopathy (AHE), whereas TLR4 knock-out mice exhibited a reduction in brain edema after AHE. These studies suggest that ECs significantly contribute to the astrocyte swelling/brain edema in AHE.