A woman has given birth to a baby girl at a techno festival in Germany.

Public broadcaster SWR reports that the 20-year-old was unaware she was pregnant until giving birth at the festival campsite late Saturday.

Organisers of the Nature One festival at a former US military base in south western Germany were quoted on Sunday as saying the child would get a ticket for life once she turns 16.

Mother and child were taken to a nearby hospital and are reportedly doing well.