This varies quite a lot nowadays. If you have a problem in pregnancy, with a valid medical certificate you can leave work as early as your doctor deems appropriate. If your pregnancy remains healthy, the earliest you may leave is 11 weeks before the birth, and the latest is 1 week before. When you ''need '' to leave work will depend on a variety of issues that are personal to you.