A Roomba typically takes about 2 to 5 cleaning cycles to learn the layout of your house for optimized cleaning.