In modern henhouses, computers control the lighting, which triggers egg laying. Most eggs are laid between 7 and 11 a.m. A hen requires about 24 to 26 hours to produce an egg. After the egg is laid, the hen starts all over again about 30 minutes later.