Antibiotic treatment prolongs migraine‐like pain in wild‐type mice, but genetic deletion of TNF‐α or intraspinal injection of a TNF‐α receptor antagonist prevents pain prolongation. Here, TNF is linked to migraine disorder.