There are few tricks to a moist carrot cake: The first is not to overmix the batter (overmixing any cake can make it tough and dry). When combining the wet and dry ingredients, only mix until everything is just incorporated. The other thing to watch for is overbaking the cake. All ovens work a little differently, so keep a watchful eye on your cake starting around 10 minutes before the timer is up. If you notice the cake is already deep brown or know your oven runs hot, check it before time is up with a toothpick or cake tester.