We investigate the relationship between outsourcing and profitability paying particular attention to the endogeneity of outsourcing. The empirical analysis uses unique plant level data for the electronics sector in Ireland. A particular feature of the data is that it records detailed information for 12 electronics sub-sectors covering both manufacturing and services activities. We distinguish outsourcing of materials from outsourcing of services inputs. We find that plants that are substantially larger than the mean employment size benefit from outsourcing materials while this does not appear to be the case for small plants. Results for outsourcing of services are not as clear-cut, however.