Female pseudohermaphroditism has a number of causes.
Congenital adrenal hyperplasia (CAH)
Female babies with this condition have male sex organs. The condition is caused by a lack of a certain enzyme in the adrenal gland. It's the most common cause of atypical genitalia in newborns.
The condition is inherited and passed on by an autosomal recessive gene. Autosomal recessive means that each parent carries one copy of the gene and passes on the gene to the child. Carrier parents have a 1 in 4 chance of having a child with this condition with each pregnancy. Female babies with the condition have atypical genitalia. Male babies don't.
In some cases, the female parent of a child with this condition can be given medicines during pregnancy to reduce the effects of the enzyme deficiency if the baby is female.
Another type of CAH is called salt-losing. This is very serious and often fatal. It causes an electrolyte collapse in the newborn. Treatment is available if diagnosed early. Males and females are equally affected.
Other, rarer enzyme problems can also cause CAH in either male babies or female babies.
Overproduction of male hormones before birth
This condition is often caused by a problem with the adrenal glands. High levels of male hormones may also enter the placenta via the pregnant parent. This could be when progesterone is given to prevent a miscarriage. Or if the pregnant parent has a hormone-producing tumor.