Mary and her husband-to-be, Joseph, lived in a town called Nazareth. But they had to travel to the city of Bethlehem to register for a census ordered by the Roman emperor, Caesar Augustus. Both Nazareth and Bethlehem are in the country now called Israel. It is about 65 miles (105 km) from Nazareth to Bethlehem, and the trip probably took them several days.
When Joseph and Mary got to Bethlehem, there was no place for them to stay because the inn was already full. They ended up spending the night in a stable, a place where animals were kept. There was probably fresh hay on the floor that they used for beds.That night, Jesus was born. There was no crib, so they laid baby Jesus in a manger, a feeding trough for animals. The manger probably had fresh hay in it and made a nice bed for the baby.