We offer a new solution to an old puzzle in the penguin-dominated $Btopi K$ decays. The puzzle is the inconsistency among the measurements of the branching ratios and CP asymmetries of the four $Btopi K$ decays: $B^+ to pi^+ K^0$, $B^+to pi^0 K^+$, $B_d^0topi^- K^+$, $B_d^0topi^0 K^0$. We solve the $Btopi K$ puzzle by considering the effect of an axion-like particle (ALP) that mixes with the $pi^0$ and has mass close to the $pi^0$ mass. We show that the ALP can also explain the anomalies in the electron and muon anomalous magnetic moments.