Shrooms last until your hiding from the stormtroopers under your bed. At that point, I just try to get to sleep.