I think it is unknown whether babies dream or not and therefore whether they have nightmares. I really don't think they do have nightmares as I doubt this area of the brain is developed. Whenever my DD was coming out of a sleep cycle (can be 20 mins at an early age) and she wasn't well slept (as in enough) then she would scream, half awake/asleep.