It should be 3-4 feet apart from the wall to give it a full to-and-fro motion.