AbstractCarbon nitrides constitute a class of earth‐abundant polymeric semiconductors, which have high potential for tunability on a molecular level, despite their high chemical and thermal inertness. Here the first postsynthetic modification of the 2D carbon nitride poly(heptazine imide) (PHI) is reported, which is decorated with terminal melamine (Mel) moieties by a functional group interconversion. The covalent attachment of this group is verified based with a suite of spectroscopic and microscopic techniques supported by quantum–chemical calculations. Using triethanolamine as a sacrificial electron donor, Mel‐PHI outperforms most other carbon nitrides in terms of hydrogen evolution rate (5570 µmol h−1 g−1), while maintaining the intrinsic light storing properties of PHI. The origin of the observed superior photocatalytic performance is traced back to a modified surface electronic structure and enhanced interfacial interactions with the amphiphile triethanolamine, which imparts improved colloidal stability to the catalyst particles especially in contrast to methanol used as donor. However, this high activity can be limited by oxidation products of donor reversibly building up at the surface, thus blocking active centers. The findings lay out the importance of surface functionalization to engineer the catalyst–solution interface, an underappreciated tuning parameter in photocatalytic reaction design.