There is provided a novel process for preparing polyamides (in particular cyclic and hairpin polyamides) comprising the step of coupling an amine with a Boc-protected amino acid monomer in the presence of diphosgene and/or triphosgene. Such a process may be performed on a solid or solution phase.