In this paper, we will introduce a compact alternating direction implicit (ADI) difference scheme for solving the two-dimensional (2D) time fractional nonlinear Schrödinger equation. The difference scheme is constructed by using the formula to approximate the Caputo fractional derivative in time and the fourth-order compact difference scheme is adopted in the space direction. The proposed difference scheme with a convergence accuracy of is obtained by adding a small term, where , , are the temporal and spatial step sizes, respectively. The convergence and unconditional stability of the difference scheme are obtained. Moreover, numerical experiments are given to verify the accuracy and efficiency of the difference scheme.