While each case is different, in most cases, you do not have to wear your walking boot while you are sleeping. Usually, you can take the boot off once you get in bed for the night. You do have to put the boot back on before you put your feet down in the morning. If your doctor allows you to remove it while sleeping, it should be fine.