Given the importance of the relationship between oil and liner shipping markets, this paper examines the volatility spillover and connectedness between oil and liner shipping markets. We employ dynamic conditional equicorrelations and spillover index approach to know volatility co-movement and spillover between oil prices and returns of liner shipping stocks, respectively. The volatility co-movement between oil and liner shipping companies' stock returns increased during the 2007–09 global financial crisis and 2010–12 Eurozone debt crisis. We extend our analysis by considering portfolio diversification strategies and utility gains across pre-crisis, crisis and post-crisis periods. Our findings are useful to policymakers and investors.