Taken together, EA alleviated memory impairment and anxiety in sleep-deprived mice potentially by inhibiting TLR4 and activating Nrf2. This evidence concerns the gene TLR4 and memory impairment.