The directed movement of phosphonates into, out of or within a cell, or between cells, by means of some agent such as a transporter or pore. A phosphonate is any salt, anion, or ester of phosphonic acid (HPO(OH)2).