Goolsbee became Barack Obama's economic advisor for Obama's successful 2004 U.S. Senate campaign in Illinois. He was also the senior economic advisor to the 2008 Obama presidential campaign.