Plastid terminal oxidase or plastoquinol terminal oxidase (PTOX) is an enzyme that resides on the thylakoid membranes of plant and algae chloroplasts and on the membranes of cyanobacteria. The enzyme was hypothesized to exist as a photosynthetic oxidase in 1982 and was verified by sequence similarity to the mitochondrial alternative oxidase (AOX). The two oxidases evolved from a common ancestral protein in prokaryotes, and they are so functionally and structurally similar that a thylakoid-localized AOX can restore the function of a PTOX knockout.