Does globalization provide an escape from discriminatory legal and social institutions for women-owned enterprises? We develop an original test of this proposition based on a model of firm heterogeneity with discriminatory costs. Discriminatory institutions raise barriers to entry and increase costs of production, allowing only the most productive women-owned firms to survive. If the costs of discrimination are lower in export markets, the average surviving woman-owned firm is more likely to export and exports a higher proportion of total sales. Using a cross-national data set of firms, we show that while there are significantly fewer women-owned enterprises in countries with discriminatory institutions, these businesses export at higher rates. Global markets therefore provide an important, albeit imperfect, alternative to markets with poor protections of women's rights.