We employ finite temperature QFT techniques to calculate corrections to g-2 of the electron in the presence of axion-like particles as a local dark matter background. The precise measurements of g-2 allows us to put competitive constraints on the axion-electron coupling.