Two ORFs encoding a protein related to bacterial dimethylglycine oxidase were cloned from Pyrococcus furiosus DSM 3638. The protein was expressed in Escherichia coli, purified, and shown to be a flavoprotein amine dehydrogenase. The enzyme oxidizes the secondary aminesl-proline, l-pipecolic acid and sarcosine, with optimal catalytic activity towards l-proline.