Adaptive metabolic responses and innate metabolites hold promising therapeutic potential for stroke, while targeted interventions require a thorough understanding of underlying mechanisms. Adiposity is a noted modifiable metabolic risk factor for stroke, and recent research suggests that it benefits neurological rehabilitation. During the early phase of experimental stroke, the lipidomic results showed that fat depots underwent pronounced lipolysis and released fatty acids (FAs) that feed into consequent hepatic FA oxidation and ketogenesis. Systemic supplementation with the predominant ketone beta-hydroxybutyrate (BHB) is found to exert discernible effects on preserving blood-brain barrier (BBB) integrity and facilitating neuroinflammation resolution. Meanwhile, blocking FAO-ketogenesis processes by administration of CPT1α antagonist or shRNA targeting HMGCS2 exacerbated endothelial damage and aggravated stroke severity, whereas BHB supplementation blunted these injuries. Mechanistically, it is unveiled that BHB infusion is taken up by monocarboxylic acid transporter 1 (MCT1) specifically expressed in cerebral endothelium and upregulated the expression of tight junction protein ZO-1 by enhancing local β-hydroxybutyrylation of H3K9 at the promoter of TJP1 gene. Conclusively, an adaptive metabolic mechanism is elucidated by which acute lipolysis stimulates FAO-ketogenesis processes to restore BBB integrity after stroke. Ketogenesis functions as an early metabolic responder to restrain stroke progression, providing novel prospectives for clinical translation.