Cp2Fe-mediated electrochemical synthesis of phosphorylated indoles and Trp-containing oligopeptides has been developed, which eliminates the need for external oxidants and yields the desired products in moderate to excellent yields under mild conditions. Importantly, the synthetic applicability was further demonstrated through its easy scalability and the anticancer activity of the product. Remarkably