Abstract: Tang Xianzu,a famous dramatist in the Ming Dynasty,had a long-term association with Zhang Wei,a cabinet scholar of the same period.Especially in his late age after his resignation,Tang Xianzu had close relationship with Zhang Wei in Nanchang.By analyzing their contact,we can learn about the complexity of Tang Xianzu’s thought.On the one hand,he had the traditional Confucian ambition of rejuvenating the country through economic development and of patriotism.On the other hand,he loved literature and arts and pursued everything good,together with some complex of Confucian and Taoist thoughts of becoming immortal.The complexity of his thought reveals the trend of the melting of Confucianism,Buddhism and Taoism since the Song and Ming Dynasties.