This paper examines motivations of knowledge workers to contribute expertise to online knowledge repositories that support informal learning, and presents findings from both a survey and an experimental study. Results indicate that younger workers and those new to an organization, are more motivated by `self-interest' factors such as gaining name recognition and impressing management, while older workers, and those with a longer tenure, are motivated by more altruistic factors such as sharing and mentoring.