A mild and efficient synthetic method has been developed for the esterification of O-alkyl alkylphosphonic-and carboxylic-acids usingpolymer-supported sulfonated magnetic resins. Polymer-supported resins are recovered using an external magnet and reused several times.