We examine how investors value tax avoidance (measured as the level of cash ETRs) and tax risk (measured as the volatility of cash ETRs), and how these constructs interact to influence firm value. Our results suggest that investors positively value tax avoidance but negatively value tax risk and, most importantly, that greater tax risk moderates the positive valuation of tax avoidance. Results of tests in the post-FIN 48 period suggest that while disclosures of uncertain tax positions are informative to investors, they are generally associated with firm value incremental to (rather than as a substitute for) cash ETR-based measures of tax avoidance and tax risk. In additional analyses, we find that contemporaneous measures of tax avoidance and tax risk provide insight into future tax cash flows and that our results hold using GAAP ETR-based measures of tax avoidance and tax risk. Broadly, our findings provide new evidence on how taxes affect firm value and suggest that tax avoidance and tax risk should be considered jointly rather than in isolation.