The influence of TMAl preflow to the AlN buffer layer and GaN thin film was studied by Optical Microscope, Atomic Force Microscope, X-ray diffraction and Transmission Electron Microscope. Different duration of TMAl preflow lead to substantially differences of the AlN buffer layer and GaN film properties in terms of surface morphology and crystal quality. It was found without TMAl preflow the crystal quality of AlN buffer layer and GaN deteriorated due to the formation of amorphous interlayer between Si and AlN. Meltback etching and cracks was observed on the surface of GaN grown on AlN without TMAl preflow. However, overlong duration of TMAl preflow degraded the properties of AlN buffer layer and the subsequent GaN layer. GaN grown with longer TMAl preflow suffer of poor crystal quality, high density cracks and rough surface morphology. With the optimum duration of TMAl preflow, crystal quality and surface roughness of GaN can be improved.