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 👇
How late should I feed my puppy dinner?What are the stages of puppy development?