The reaction of cycloheptylamine (I) with triethyl orthoformate (II) and diethyl phosphite (III) at 150 gives cycloheptylaminomethylenediphosphonic acid tetraethyl ester (IV), which is then hydrolyzed with refluxing concentrated hydrochloric acid.