This study demonstrates that recruitment of the MeCP2/HDAC1 repressor complex increases the low levels of TLR4 expression through epigenetic modification of DNA and histones on the TLR4 promoter, but Sp1 activates TLR4 high expression by hypomethylation and NF-κB signaling in gastric cancer cells. Here, NFKB1 is linked to gastric cancer.