In the present work, we have investigated the structural and electronic properties of TMAl (TM = Fe, Co, and Ni) transition metal aluminides in the B2 structure, using first-principle calculations of the density functional theory (DFT) based on the linearized augmented plane wave method (FP-LAPW) as implemented in the WIEN2k code, in which the energy of exchange and correlation are treated by the generalized gradient approximation (GGA), proposed in 1996 by Perdew, Burke and Ernzerhof (PBE). The ground state properties have been calculated and compared with other calculations, and the electronic structures of all FeAl, CoAl, and NiAl compounds exhibited a metallic behavior. It was depicted that the density of states is characterized by the large hybridization between the s-p (Al) and 3d (Fe, Co, and Ni) states, which creates the pseudogap in the region of anti-bonding states. Moreover, the band structures of FeAl, CoAl, and NiAl are similar to each other and the difference between them is in the energy level of each band relative to the Fermi level.