It depends on the room temperature and the baby's comfort. In colder conditions, newborns can wear socks to keep their feet warm. However, if the room is warm enough, it's not necessary to put socks on a newborn while they sleep.