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, TNFRSF12A is linked to dyspepsia.