In this work, we analyze soft X-ray emission due to mass accretion onto compact stars and its effects on the timescale to reach chemical equilibrium of eventual surrounding astrophysical ices exposed to that radiation. Reaction timescales due to soft X-ray in water-rich and pure ices of, e.g., methanol, acetone, acetonitrile, formic acid, and acetic acid, were determined. For accretion rates between $\dot{m}=10^{-12}-10^{-8}~M_\odot$ yr−1 and distances between 1-3 LY from the central compact objects, the timescales lie in the range 10 − 108 years, with shorter timescales corresponding to higher accretion rates. Obtained timescales for ices at snow-line distances can be small when compared to the lifetime (or age) of the compact stars, showing that chemical equilibrium could have been achieved. Timescales for ices to reach chemical equilibrium depend on X-ray flux and, hence, on accretion rate, which indicates that systems with low accretion rates may not have reached chemical equilibrium.