If possible, dogs older than 6 months should not be left alone for longer than 4 hours at a time. If this is difficult, the absolute maximum time for them to be alone is 8 hours, but this is only recommended if your dog has a way to get outside for a bathroom break.