The collisional pumping of CH 3 OH and OH masers in non-dissociative C-type shock waves is studied. The chemical processes responsible for the evolution of molecule abundances in the shock wave are considered in detail. The large velocity gradient approximation is used to model radiative transfer in molecular lines. We present calculations of the optical depth in maser transitions of CH 3 OH and OH for a grid of C-type shock models that vary in cosmic ray ionization rate, gas density and shock speed. We show that pre-shock gas densities 𝑛 H,tot = 2 × 10 4 -2 × 10 5 cm −3 are optimal for pumping of methanol maser transitions. A complete collisional dissociation of methanol at the shock front takes place for shock speeds 𝑢 s 25 km s −1 . At high pre-shock gas density 𝑛 H,tot = 2×10 6 cm −3 , the collisional dissociation of methanol takes place at shock speeds just above the threshold speed 𝑢 s ≈ 15-17.5 km s −1 corresponding to sputtering of icy mantles of dust grains. We show that the methanol maser transition E 4 −1 → 3 0 at 36.2 GHz has the optical depth |𝜏| higher than that of the transition A + 7 0 → 6 1 at 44.1 GHz at high cosmic ray ionization rate 𝜁 H 2 10 −15 s −1 and pre-shock gas density 𝑛 H,tot = 2 × 10 4 cm −3 . These results can be applied to the interpretation of observational data on methanol masers near supernova remnants and in molecular clouds of the Central Molecular Zone. At the same time, a necessary condition for the operation of 1720 MHz OH masers is a high ionization rate of molecular gas, 𝜁 H 2 10 −15 s −1 . We find that physical conditions conducive to the operation of both hydroxyl and methanol masers are cosmic ray ionization rate 𝜁 H 2 ≈ 10 −15 -3 × 10 −15 s −1 , and a narrow range of shock speeds 15 𝑢 s 20 km s −1 . The simultaneous observations of OH and CH 3 OH masers may provide restrictions on the physical parameters of the interstellar medium in the vicinity of supernova remnants.