The present invention relates to the field of pharmaceutical chemistry, and relates to a deuterium-modified Brigatinib derivative, preparation method thereof, pharmaceutical composition containing the same and the uses of the deuterium-modified Brigatinib derivative and the pharmaceutical composition thereof in preparing a medicament for treating the disease mediated by anaplastic lymphoma kinase. The deuterium-modified Brigatinib derivative of the present invention has an excellent inhibitory activity on anaplastic lymphoma kinase and has better pharmacodynamic or pharmacokinetic properties relative to Brigatinib.