Biological treatment of heavy crude oil production wastewater is well-established method for remediation of these wastes. We have developed effective biological treatments by (1) utilizing microbes with high oil-degrading abilities, (2) allowing greater organic loads while increasing both process stability and the resistance to shock loading, (3) minimizing the production of waste sludge byproducts, and (4) adopting anaerobic and aerobic biological processes to improve the biodegradation of the wastewater. Fixed-film bioreactors with 15h hydraulic retention times have decreased chemical oxygen demand by 74.8%, total suspended solids by 90.9%, oil by 80.6%, and phenols and sulfides by 100%. The results with anin situpilot system show that the bioreactor's hydrolytic acidulation and contact oxidation tanks are suitable for treating oilfield wastewater, and that water quality after treatment fully meets national drainage standards.