Terahertz spectroscopy and imaging have many applications, so the generation of broadband terahertz radiation is very important, but now it faces some challenges. Opto-spintronic terahertz emitters, composed of nanometer-thin magnetic multilayer, can produce high-quality broad-band terahertz pulses. Integration of opto-spintronic terahertz emitters onto the silicon wafers is the first step towards their usage in modern photonic devices. In this work, Ta/CoFeB/Ir heterostructures are deposited on thermally oxidized silicon wafers by dc magnetron sputtering. Under the illumination of a femtosecond laser pulse on the Ta/CoFeB/Ir trilayer heterostructure grown on silicon substrate, a spin current can be generated in the ferromagnetic layer due to the ultrafast demagnetization. The spin current is transported and injected into the neighboring non-magnetic metal layers of Ta and Ir. Consequently, the spin current can be converted into the charge current due to the strong spin-orbit coupling. The sub-picosecond transient charge current gives rise to the terahertz radiation that enters into the free space. The terahertz electric field is fully inverted when the magnetization is reversed, which indicates a strong connection between THz radiation and spin order of the heterostructure. The THz radiation from Ta/CoFeB/Ir heterostructure covers the 0.1–2.5 THz frequency range with a maximum value of about 0.64 THz. We also investigate the dependence of THz peak-to-peak value on the pump fluence. The THz emission is found to be saturated at a pump fluence of ~0.73 mJ/cm<sup>2</sup>. Our results demonstrate the existence of the strong spin-orbit coupling in the heavy metal Ir. Furthermore, we optimize the THz emission from the Ta/CoFeB/Ir heterostructure by changing the thickness of Ir layer. According to the thickness dependence of THz emission from the heterostructure, the propagation length of the spin current at THz frequencies is extracted to be about 0.59±0.12 nm, which is shorter than the GHz experimental measurement (~1.34 nm). Our experimental observation is consistent with that in the antiferromagnet IrMn layer, which may be attributed to different transport regimes. Theoretically, the optimized thickness values for CoFeB and Ir layers are 2.4 nm and 1.1 nm, respectively.