As a rule of thumb, remove the food and water bowls about two-to-three hours before bedtime. So, if your lights-out time is at 11 p.m., a puppy should have no food or water after about 8–8:30 p.m. This gives you a chance to take him out for a one last potty break before settling in for the night.
More useful articles on a similar topic 👇
Can 8 week old puppies have water?What is a good schedule for a 8 week old puppy?