Africa's share of foreign direct investment (FDI) has lagged behind other regions in the world, despite a sharp increase in FDI inflows to the region in 2001. Factors contributing to this circumstance include perceptions of high corruption, weak governance and poor infrastructure. The motivation of this paper is to investigate the impact of openness to trade on the FDI inflow to Africa. In addition to economy-wide trade openness, we also analyse the impact on FDI of openness in manufactured goods, primary commodities and services. The empirical work uses cross-country data from selected African countries observed over four periods: 1980-1985, 1985-1990, 1990-1995 and 1995-2001. We find that the FDI to GDP ratio responds well to increased openness in the whole economy and in the services sector in particular.