Detonation gun spraying method was employed to prepare CoCrAlYTa coating. The influence of oxygen/fuel in-gun ratio on structure and properties of CoCrAlYTa coating was investigated by means of SEM, EDS, micro-hardness tester and adhesive strength measuring, etc. The results reveal that the detonation combustion temperature and shock wave energy increase with the increase of oxygen/fuel in-gun ratio, which induces the transformation of the coating structure from uniform structure to lamellar structure and the decrease of the coating porosity. It was also found that the micro-hardness, adhesive and bending strength of the coating were increased with the increase of oxygen/fuel in-gun ratio.