A search has been made for a contribution of the changing cosmic ray intensity to the global warming observed in the last century. The cosmic ray intensity shows a strong 11 year cycle due to solar modulation and the overall rate has decreased since 1900. These changes in cosmic ray intensity are compared to those of the mean global surface temperature to attempt to quantify any link between the two. It is shown that, if such a link exists, the changing cosmic ray intensity contributes less than 8% to the increase in the mean global surface temperature observed since 1900.