Melatonin protects against ischemic stroke by modulating microglia/macrophage polarization toward anti‐inflammatory phenotype through STAT3 pathway. This evidence concerns the gene STAT3 and ischemic stroke.