We derive new constraints on axion-like particles (ALPs) using precision -ray polarization studies of magnetars. Specifically, we use the first detection of polarized -rays from the magnetars 4U 0142+61 and 1RXS J170849.0-400910 by the Imaging -ray Polarimetry Explorer (IXPE) to place bounds on the product of the ALP-photon and ALP-nucleon couplings, , with being responsible for ALP production in the core of the magnetar and controlling the ALP-photon conversion probability in the magnetosphere. These bounds are most sensitive to the magnetar core temperature, and we use two benchmark values of K and K to derive our constraints. For the latter choice, our bounds are competitive with the existing bounds on the coupling product coming from a combination of CAST (for ) and SN1987A (for ). We advocate for more precise and extensive observational campaigns in the higher end of the 2-8~keV spectral window, where ALP-induced polarization is the strongest. We further advocate for hard -ray polarization studies of young, hot, near-Earth magnetars with strong magnetic fields.