Using small angle neutron scattering (SANS), it is shown that the existence of pre-assembled structures at high pH for a capped diphenylalanine hydrogel is controlled by the selection of N-terminal heterocyclic capping group, namely indole or carbazole. At high pH, changing from a somewhat hydrophilic indole capping group to a more hydrophobic carbazole capping group results in a shift from a high proportion of monomers to self-assembled fibers or wormlike micelles. The presence of these different self-assembled structures at high pH is confirmed through NMR and circular dichroism spectroscopy, scanning probe microscopy and cryogenic transmission electron microscopy.