It has been shown in a rat model of subarachnoid hemorrhage that H2S can reduce cognitive deficits by inhibiting the neuroinflammation induced by the TLR4/NF-κB signaling pathway that activates microglial cells (Figure 9) [228]. This evidence concerns the gene TLR4 and Cognitive impairment.