Alkane and aromatic hydroxylase genes in a full-scale aerobic system treating oily produced wastewater under thermophilic condition (45-50 °C) in the Jidong oilfield, China, were investigated using clone library and quantitative polymerase chain reaction methods. Rather than the normally encountered integral-membrane non-haem iron monooxygenase (alkB) genes, only CYP153-type P450 hydroxylase genes were detected for the alkane activation, indicating that the terminal oxidation of alkanes might be mainly mediated by the CYP153-type alkane hydroxylases in the thermophilic aerobic process. Most of the obtained CYP153 gene clones showed distant homology with the reference sequences, which might represent novel alkane hydroxylases. For the aromatic activation, the polycyclic aromatic hydrocarbon-ring hydroxylating dioxygenase (PAH-RHD) gene was derived from Gram-negative PAH-degraders belonging to the Burkholderiales order, with a 0.72% relative abundance of PAH-RHD gene to 16S rRNA gene. This was consistent with the result of 16S rRNA gene analysis, indicating that Burkholderiales bacteria might play a key role in the full-scale process of thermophilic hydrocarbon degradation.