Dehydrogenase that catalyzes the oxidation of several aminoaldehydes (PubMed:23408433). Metabolizes and detoxifies aldehyde products of polyamine degradation to non-toxic amino acids (Probable). Catalyzes the oxidation of 4-aminobutanal and 3-aminopropanal to 4-aminobutanoate and beta-alanine, respectively (PubMed:23408433). Catalyzes the oxidation of 4-(trimethylamino)butanal and 4-guanidinobutanal to 4-trimethylammoniobutanoate and 4-guanidinobutanoate, respectively (PubMed:23408433). Catalyzes the oxidation of betaine aldehyde to glycine betaine (PubMed:23408433). Dehydrogenase that catalyzes the oxidation of several aminoaldehydes (PubMed:21740525). Catalyzes the oxidation of betaine aldehyde to glycine betaine (PubMed:21740525). Catalyzes the oxidation of 4-(trimethylamino)butanal to 4-trimethylammoniobutanoate (PubMed:21740525). 4-aminobutanal + H2O + NAD(+) = 4-aminobutanoate + 2 H(+) + NADH 3-aminopropanal + H2O + NAD(+) = beta-alanine + 2 H(+) + NADH 4-(trimethylamino)butanal + H2O + NAD(+) = 4-(trimethylamino)butanoate + 2 H(+) + NADH 4-guanidinobutanal + H2O + NAD(+) = 4-guanidinobutanoate + 2 H(+) + NADH betaine aldehyde + H2O + NAD(+) = glycine betaine + 2 H(+) + NADH Amine and polyamine biosynthesis; betaine biosynthesis via choline pathway; betaine from betaine aldehyde: step 1/1. Forms homodimers. Belongs to the aldehyde dehydrogenase family.