In the port fairways,there are so many vessels that a high density is observed.The movement of vessels in and out of fairways influences the safety of other moving vessels.Based on the theory of vessel motion model,this paper introduces a method to calculate the minimum safety distance for vessels entering and outing of fairways.We also apply the method to a case study in Ningbo port,which gives suggestions for the safety management of vessels in fairways.