Exogenous ketosis can improve psychocognitive functioning during exercise as well as stimulate postexercise muscular recovery. Therefore, we hypothesized that ketone ester (KE) supplementation can counteract the decline in psychocognitive functioning during ultra-endurance exercise and stimulate muscular recovery. Eighteen recreational runners participated in a full 100km trail run (RUN, n=8), or ran to premature exhaustion (80km: n=6; 60km: n=4). Before (25g), during (25g·h-1), and after (5*25g in 24h) RUN they received ketone ester (R)-3-hydroxybutyl (R)-3-hydroxybutyrate (KE, n=9) supplements or a non-caloric placebo (CON, n=9). Blood samples and muscle biopsies were taken, and mental alertness was assessed by a psychocognitive test battery at different times before, during, and up to 36h after RUN. Compared with CON (<0.3 mM), in KE blood D-ß-hydroxybutyrate concentration was consistently elevated to ~2-3 mM during RUN. In CON, RUN increased visual reaction times from 353±53 to 419±54ms, and movement execution times from 174±47 to 245±64ms. But this effect was fully negated by KE (p<0.05). Plasma dopamine concentrations doubled in KE during RUN but remained stable in CON, resulting in higher concentrations after RUN in KE (4.1±1.7 nM) than in CON (2.4±0.8 nM, p=0.048). KE also inhibited muscular infiltration of macrophages and suppressed AMPK phosphorylation status until 36h post exercise (p<0.05 KE vs. CON). In conclusion, KE increases circulating dopamine concentration and improves mental alertness, as well as improves postexercise muscular inflammation in ultra-endurance exercise.