Most sleep studies take between 8 and 9 hours when you factor in the prep and the testing itself. In some cases, patients may be asked to repeat the test if not enough data was gathered during the first night.