The paper examines the phase formation of detonation coatings sprayed from mechanically alloyed . It is shown that coatings with different phase compositions and functional properties can be consolidated from this activated powder by varying process conditions (including gas composition during detonation spraying). Three types of composite coatings with different structures are obtained: TiB and TiB 2 inclusions are distributed in an intermetallic matrix (Al 3 Ti, γ-TiAl); inclusions of oxides and oxynitrides are additionally present in the same structure; inclusions of borides, Al, and Ti are distributed in a mixture of intermetallic and nitride (TiN, AlN) phases.