We investigated the effects of shogaol, which has an α, β-unsaturated carbonyl group, and gingerol, which does not, on primary-cultured microglia to understand how the α, β-unsaturated carbonyl interacts with Kelch-like ECH-associated protein (Keap)1. Shogaol (1 μM) but not the same concentration of