A pumpjack is the overground drive for a reciprocating piston pump in an oil well.
It is used to mechanically lift liquid out of the well if not enough bottom hole pressure exists for the liquid to flow all the way to the surface. The arrangement is commonly used for onshore wells producing little oil. Pumpjacks are common in oil-rich areas.
Depending on the size of the pump, it generally produces 5 to 40 litres (1 to 9 imp gal; 1.5 to 10.5 US gal) of liquid at each stroke. Often this is an emulsion of crude oil and water. Pump size is also determined by the depth and weight of the oil to remove, with deeper extraction requiring more power to move the increased weight of the discharge column (discharge head).
A pumpjack converts the rotary motion of the motor to a vertical reciprocating motion to drive the pump shaft, and is exhibited in the characteristic nodding motion. The engineering term for this type of mechanism is a walking beam. It was often employed in stationary and marine steam engine designs in the 18th and 19th centuries.
In the early days, pumpjacks worked by rod lines running horizontally above the ground to a wheel on a rotating eccentric in a mechanism known as a central power. The central power, which might operate a dozen or more pumpjacks, would be powered by a steam or internal combustion engine or by an electric motor. Among the advantages of this scheme was only having one motor to power all the pumpjacks rather than individual motors for each. However, among the many difficulties was maintaining system balance as individual well loads changed.
Modern pumpjacks are powered by a prime mover. This is commonly an electric motor, but internal combustion engines are used in isolated locations without access to electricity, or, in the cases of water pumpjacks, where three-phase power is not available (while single phase motors exist at least up to 60 hp, providing power to single-phase motors above 10 horsepower can cause powerline problems, and many pumps require more than 10 horsepower). Common off-grid pumpjack engines run on natural gas, often casing gas produced from the well, but pumpjacks have been run on many types of fuel, such as propane and diesel fuel. In harsh climates, such motors and engines may be housed in a shack for protection from the elements. Engines that power water pumpjacks often receive natural gas from the nearest available gas grid.