In this paper, we examine the impact of managerial ability on the relation between corporate tax avoidance and investment efficiency. Using a sample of US firms from 1994–2015, we find that as tax avoidance increases, firms with high (low) managerial ability exhibit increased (reduced) investment efficiency, that is, smaller (greater) deviations from predicted levels of investment spending. Supplemental analysis also shows that as tax avoidance increases, strong (weak) corporate governance increases (decreases) investment efficiency. Overall, our findings shed light on whether corporate tax avoidance generates wealth for the firm's shareholders or simply exacerbates agency problems. [ABSTRACT FROM AUTHOR]