Germany maternity leave calculator
API The maternity leave calculator runs through the REST API, for standard, premature and multiple births with the legal basis in JSON.
In 2026, maternity protection in Germany starts six weeks before the expected due date and ends eight weeks after the birth (§ 3 MuSchG). After premature and multiple births it ends twelve weeks after the birth, and on request also after the birth of a child with a disability. Since June 1, 2025, a protection period of two, six or eight weeks also applies after a miscarriage from the 13th week of pregnancy.
Last checked against the sources on September 23, 2026. Next expected change: only if the law changes.
Calculates the start and end of the maternity protection periods (Mutterschutzfristen) under § 3 of the Maternity Protection Act (MuSchG) from the expected due date. With the actual date of birth and the case (premature birth, multiple birth, disability), the end shifts automatically. The protection periods after a miscarriage, in force since June 2025, are included.
- Source
- § 3 Maternity Protection Act (Mutterschutzgesetz)
- License
- Calculation under the cited provisions. Use under the Quellenkontor terms of use.
- Updates
- when the law changes
- Coverage
- Germany, current law
A value doesn't match the official source? Report an error. We check against the primary source and document every correction in the changelog.
Related solutions: For HR softwareFor AI agents and HR chatbotsFor global payroll and EOR providers
Response shortened. All parameters and response fields are in the Maternity protection reference.
Run this call with your own key. 500 requests a month for free, no credit card.
Protection periods under § 3 MuSchG
Legal citations stay in German, exactly as they appear in the official sources.
| Case | Before the birth | After the birth |
|---|---|---|
| Standard case | 6 weeks | 8 weeks |
| Premature birth | 6 weeks | 12 weeks, plus days not taken before the birth |
| Multiple birth | 6 weeks | 12 weeks |
| Child with a disability, diagnosed by a doctor within the first 8 weeks, at the mother's request | 6 weeks | 12 weeks |
| Birth before the due date | shortened | extended by the days not taken |
| Miscarriage from week 13 (since June 1, 2025) | 2 weeks | |
| Miscarriage from week 17 | 6 weeks | |
| Miscarriage from week 20 | 8 weeks |
Parameters
| Parameters | Type | Meaning |
|---|---|---|
termindate | date | Expected due date. Required, except for fall=fehlgeburt |
geburtdate | date | Actual date of birth, at most 120 days from the due date. For fall=fehlgeburt, the date of the miscarriage, from June 1, 2025 (optional) |
falltext | text | Case under § 3 Abs. 2 or Abs. 5 MuSchG. Default: standard |
sswinteger | integer | Current week of pregnancy at the miscarriage, only for fall=fehlgeburt. The medical notation 12+3 (twelve full weeks and three days) is the 13th week, so ssw=13. |
All response fields with types, allowed values, defaults and error cases are in the Maternity protection reference.
Questions about this dataset
When does maternity protection start with a due date of March 15, 2027?
On February 1, 2027, six weeks before the due date. If the baby is born on the due date, the protection period ends on May 10, 2027.
How long is maternity protection after a miscarriage?
Since June 1, 2025: two weeks from the 13th week of pregnancy, six weeks from the 17th and eight weeks from the 20th week (§ 3 Abs. 5 MuSchG).
What happens with an early birth?
The calculator adds the days that could not be taken before the birth to the period after the birth (§ 3 Abs. 2 Satz 3 MuSchG).
How often is the dataset updated?
When the law changes. We check the data against the official sources every week, and every change is logged in the changelog. On the Pro plan, a webhook notifies your server.
More on Maternity protection
Related datasets
Vacation entitlement calculator
Statutory minimum vacation for part-time work and for joining or leaving during the year.
Notice period calculator
Statutory notice period and end date under § 622 BGB from start date and date of receipt.
Working days calculator
Working days between two dates by state, without weekends and public holidays.