It is recommended to dress your baby in socks while they sleep, especially in colder months, to keep their feet warm. Just make sure the socks are not too tight.