The run-up in oil prices since 2004 coincided with growing investment in commodity markets and increased price co-movement among different commodities. We assess whether speculation in the oil market played a role in driving this salient empirical pattern. We identify oil shocks from a large dataset using a dynamic factor model. This method is motivated by the fact that a small-scale vector autoregression is not informationally sufficient to identify the shocks. The main results are as follows. (i) While global demand shocks account for the largest share of oil price fluctuations, speculative shocks are the second most important driver. (ii) The increase in oil prices over the last decade is mainly driven by the strength of global demand. However, speculation played a significant role in the oil price increase between 2004 and 2008 and its subsequent collapse. (iii) The co-movement between oil prices and the prices of other commodities is mainly explained by global demand shocks. Our results support the view that the recent oil price increase is mainly driven by the strength of global demand but that the financialization process of commodity markets also played a role. Copyright © 2014 John Wiley & Sons, Ltd.