Ethical and human rights concerns have been expressed regarding the global shift in policies on HIV testing of pregnant women. The main purpose of this research was to conduct a policy analysis using a human rights-based approach of national policies for HIV testing of pregnant women. We collected HIV testing policies from 19 countries including: Cambodia, China, Guyana, Haiti, India, Jamaica, Kenya, Moldova, Papua New Guinea, Russian Federation, South Africa, Sudan, Swaziland, Tanzania, Ukraine, United States, Uzbekistan, Zambia and Zimbabwe. We analysed the HIV testing policies using a standardised framework that focused on government obligations to respect, protect and fulfil. Our results highlight the need for more attention to issues of pregnant women's autonomy in consenting to HIV testing, confidentiality in antenatal care settings and provision of counselling and care services. We conclude with a discussion about potential implications of the current testing policies and provide recommendations for ways that HIV testing policies can more effectively uphold the human rights of pregnant women.