We derive the pseudoscalar condensate induced by anomaly and vorticity from the Wigner function for massive fermions in homogeneous electromagnetic fields. It has an anomaly term and a forcevorticity coupling term. As a mass effect, the pseudoscalar condensate is linearly proportional to the fermion mass in small mass expansion. By a generalization to two-flavor and three-flavor cases, the neutral pion and eta meson condensates are calculated from the Wigner function and have anomaly parts as well as force-vorticity parts, in which the anomaly part of the neutral pion condensate is consistent to the previous result. We also discuss about possible observables of the condensates in heavy ion collisions such as collective flows of neutral pions and eta mesons which may be influenced by the electromagnetic field and vorticity profiles.