A tubing anchor is a downhole tool connected in the lower part of the tubing string that fixes the lower end of the tubing to the casing; together with the gas anchor and the sand anchor, it is one of the downhole accessories of a rod-pumped well.
When the tubing is unanchored, the fluid load shifts between the rod string and the tubing on each upstroke and downstroke of the plunger, and the tubing stretches and contracts accordingly, which becomes part of the stroke loss. Fixing the lower end with a tubing anchor eliminates this deformation and reduces the stroke loss. In deep wells, it also eliminates tubing buckling caused by internal pressure, recovering the plunger stroke otherwise lost to buckling. Once the tubing is anchored, it no longer stretches and contracts with the load, and the stroke loss consists only of the elastic stretch of the rod string; see stroke loss.