Simple and efficient sample pretreatment methods are important for analysis and detection of chemical warfare agents (CWAs) in environmental and biological samples. Despite many commercial materials or reagents that have been already applied in sample preparation, such as SPE columns, few materials with specificity have been utilized for purification or enrichment. In this study, ionic magnetic mesoporous nanomaterials such as poly(4-VB)@M-MSNs (magnetic mesoporous silicon nanoparticles modified by 4-vinyl benzene sulfonic acid) and Co2+@M-MSNs (magnetic mesoporous silicon nanoparticles modified by cobalt ions) with high absorptivity for ethanol amines (EAs, nitrogen mustard degradation products) and cyanide were successfully synthesized. The special nanomaterials were obtained by modification of magnetic mesoporous particles prepared based on co-precipitation using -SO3H and Co2+. The materials were fully characterized in terms of their composition and structure. The results indicated that poly(4-VB)@M-MSNs or Co2+@M-MSNs had an unambiguous core-shell structure with a BET of 341.7 m2·g−1 and a saturation magnetization intensity of 60.66 emu·g−1 which indicated the good thermal stability. Poly(4-VB)@M-MSNs showed selective adsorption for EAs while the Co2+@M-MSNs were for cyanide, respectively. The adsorption capacity quickly reached the adsorption equilibrium within the 90 s. The saturated adsorption amounts were MDEA = 35.83 mg·g−1, EDEA = 35.00 mg·g−1, TEA = 17.90 mg·g−1 and CN−= 31.48 mg·g−1, respectively. Meanwhile, the adsorption capacities could be maintained at 50–70% after three adsorption–desorption cycles. The adsorption isotherms were confirmed as the Langmuir equation and the Freundlich equation, respectively, and the adsorption mechanism was determined by DFT calculation. The adsorbents were applied for enrichment of targets in actual samples, which showed great potential for the verification of chemical weapons and the destruction of toxic chemicals.