In this paper, we explored the role of knowledge sharing on team creativity through absorptive capacity and knowledge integration, and tested the condition under which knowledge sharing is positively related to absorptive capacity and knowledge integration. We tested our hypotheses with a sample of 86 knowledge worker teams involving 381 employees and employers in China. Results demonstrate that knowledge sharing was positively related to team creativity, fully mediated by both absorptive capacity and knowledge integration. In addition, cognitive team diversity played a moderating role in the relationship between knowledge sharing and absorptive capacity, as well as in the relationship between knowledge sharing and knowledge integration. Theoretical and practical implications of these findings on knowledge management and team creativity are discussed.