Covalent attachment of a microporous polymer network (MPN) on a gold surface is presented. A functional bromophenyl-based self-assembled monolayer (SAM) formed on the gold surface acts as co-monomer in the polymerisation of the MPN yielding homogeneous and robust coatings. Covalent binding of the films to the electrode is confirmed by SEIRAS measurements.