Pterostilbene improves neurological dysfunction and neuroinflammation after ischaemic stroke via HDAC3/Nrf1-mediated microglial activation. Here, HDAC3 is linked to ischemic stroke.