This paper investigates the relations between corporate tax avoidance of Chinese listed companies and their managerial opportunism behavior based on principle agent perspective. We find that tax avoidance leads to higher level of overinvestment and tax benefits increase investment cash flow sensitivity. In addition, corporate tax avoidance aggravates managerial perquisites. Further studies show that better comprehensive corporate governance mechanism can restrain managerial opportunism behavior hidden behind tax avoidance activities.