Carrot cake is a sweet and moist spice cake , full of cut carrots and toasted nuts , and covered in cream cheese icing . Many carrot cake recipes include optional ingredients , such as nuts , raisins , pineapple , or coconut . The most common icing on carrot cake is a cream cheese icing ( icing sugar , butter and cream cheese ) .