Chemical functionalization is a powerful approach to tailor the physical and chemical properties of two-dimensional (2D) materials, increase their processability and stability, tune their functionalities and, even, create new 2D materials. This is typically achieved through post-synthetic functionalization by anchoring molecules on the surface of an exfoliated 2D crystal, but it inevitably alters the long-range structural order of the material. Here we present a pre-synthetic approach that allows the isolation of crystalline, robust and magnetic functionalized monolayers of coordination polymers. A series of five isostructural layered magnetic coordination polymers based on Fe(ii) centres and different benzimidazole derivatives (bearing a Cl, H, CH3, Br or NH2 side group) were first prepared. On mechanical exfoliation, 2D materials are obtained that retain their long-range structural order and exhibit good mechanical and magnetic properties. This combination, together with the possibility to functionalize their surface at will, makes them good candidates to explore magnetism in the 2D limit and to fabricate mechanical resonators for selective gas sensing.