There are no adequate and well-controlled studies in pregnant women. Ketoconazole should be used in pregnancy only if the potential benefit justifies the potential risk to the foetus.
Since ketoconazole is excreted in the milk, mothers who are under treatment should not breastfeed.