Electroacupuncture alleviates functional dyspepsia by modulating the vagus nerve to regulate duodenal microbiota and suppress TWEAK/Fn14/NF-κB and arachidonic acid metabolic pathways. Here, NFKB1 is linked to dyspepsia.