The invention discloses a method for coordinating interference in a 5G communication indoor subsystem based on an Xn interface, which belongs to the technical field of communication, and comprises the following steps: enabling a plurality of base band units (BBUs) to interact through the Xn interface, and increasing the message content of the Xn interface: the number of cells contained in the BBUs, and the initial position and distribution direction of edge resources of each cell, after each cell obtains the edge resource information of the interference cell between the base band units (BBU) in the system, the edge resource selection of the cell is adjusted, the purpose of interference coordination is achieved, for the condition that the load of multiple users is large, compared with the prior art, resource allocation can be better achieved by dynamically adjusting the direction of the center resource or the edge resource, and the resource allocation efficiency is improved. And for the no-load condition with few users, the purpose of interference coordination can be achieved, and the utilization rate of center and edge resources can be improved.