Photograph of a person in an orange hoodie, dim room, glowing blue world map hologram.

Rewriting the Code: Women, AI & the Future of Pakistan

 

By Van Nguyen | Deputy Resident Representative, UNDP Pakistan


 

In Pakistan, millions of women are being left behind—excluded by algorithmic bias, limited access and gender-blind policies. This is not just a technological gap—it is a developmental fault line.

As Artificial Intelligence (AI) reshapes the global future, the question is not just what it will do—but who it will serve. From Silicon Valley to South Asia, women must be part of the answer. While AI is revolutionizing economies and transforming development solutions, its power remains unequally distributed. In Pakistan, millions of women are being left behind—excluded by algorithmic bias, limited access and gender-blind policies. This is not just a technological gap—it is a developmental fault line. If the code that drives our technologies reflects the inequalities of the world around us, then we must rewrite it—with inclusion, equity and dignity at its core.

The Gendered Digital Divide in Pakistan

Pakistan ranks 45th out of 52 on the World Internet Development Index and 79th out of 120 on the Inclusive Internet Index.1 These figures are not just statistics—they are reflections of missed opportunities and deep-rooted inequality. According to UNDP’s 2024 National Human Development Report (NHDR): Doing Digital for Development, 83 percent of Pakistani women require permission from male guardians to use a mobile phone. Just 26 percent of women have internet access, compared to 47 percent of men. In rural areas, the figure drops to a mere 7 percent.

In response, the Pakistan Telecommunications Authority launched its first Digital Gender Inclusion Strategy2 in 2024, aiming to expand equitable access. But while it is a step forward, the strategy falls short in addressing the gendered implications of AI. The draft National Artificial Intelligence Policy 2024, developed by the Ministry of Information & Telecommunication, acknowledges the need for women’s skills training—but it lacks concrete targets, overlooks algorithmic bias, and is silent on technology-facilitated gender-based violence.

The Promise—and the Price—of AI

When designed inclusively, AI can be a powerful force for equality. In countries like India and Afghanistan, AI-powered e-learning platforms are enabling women and girls to pursue education from home, navigating around cultural constraints.3 Maternal health applications have improved early detection of pregnancy complications, cutting risks by up to 30 percent.4

But AI also risks replicating—and reinforcing—existing inequalities. A 2018 Ministry of Information & Telecommunication study revealed that AI facial recognition systems misidentified darker-skinned women 34.7 percent of the time, compared to just 0.8 percent for lighter-skinned men.5 This was not a technological glitch—it was the result of biased data collection and processing.

Young woman in pink sweater holds a smartphone while pink-lit audience looks on.

Other AI tools, such as virtual assistants, have echoed and amplified gender stereotypes. According to UNESCO, AI-powered voice assistants have been shown to respond submissively to abusive commands, perpetuating harmful norms about women’s roles and behaviors.6

Following such revelations, companies like IBM and Microsoft committed to diversifying datasets and improving algorithmic accountability. These are essential steps, but public policy must keep pace. If left unchecked, biased AI could hinder women’s access to employment, education, health and justice.

In addition to reinforcing social biases, AI is also reshaping the labor market—often to the detriment of women. Routine and clerical jobs, where women are overrepresented, are among the first to be automated. Meanwhile, roles in AI development, data science, and Science, Technology, Engineering, and Mathematics (STEM) fields are expanding rapidly, but women remain underrepresented. Globally, only 22 percent of AI and data science roles are held by women.7 Without affirmative intervention, this technological shift risks widening economic inequalities. To reverse this trend, national and sectoral policies must prioritize digital skills training and STEM education for women and girls, ensuring they are not just consumers of technology but also its creators and leaders.

Gendered Harassment in the Age of AI

Digital spaces hold the potential to empower—but for many women, they have become places of surveillance, harassment and exclusion. AI-generated explicit content disproportionately targets women, with over 96 percent being non-consensual and often used for defamation or coercion.8 In Pakistan, manipulated AI imagery is now implicated in 30 percent of reported cyber harassment cases, with women—especially those in the public eye—bearing the brunt.9 Alarmingly, women account for nearly 90 percent of all harassment complaints filed with Pakistan’s Federal Investigation Agency, highlighting the urgent need for stronger digital protections and accountability.

The consequences are chilling. About one-third of female students and nearly half of working women report harassment online.10 Many are forced to consider leaving school or the workforce entirely. The Prevention of Electronic Crimes Act (PECA) 2025 attempts to address these threats, but the law lacks clarity and could be misapplied in ways that stifle speech rather than safeguard victims.11

Towards a Gender-Inclusive AI Future

The 2024 Summit of the Future marked a turning point. The Pact for the Future and its companion framework, the Global Digital Compact, called on governments to remove gender-based barriers to technology and ensure that emerging tools like AI are shaped by—and serve—all people equally.

UNDP contributed to this global conversation from the ground up. In 2024, during national consultations ahead of the Summit, civil society in Pakistan issued the Islamabad Declaration, urging a people-centered approach to digital transformation—one that treats digital access not as a privilege, but as a public good.

Our Doing Digital for Development report confirms this: districts with higher digital adoption see significantly better human development outcomes.12 That is why UNDP’s ‘4As’ framework—Access, Adopt, Anticipate, and Accelerate—centers equity, especially for women and marginalized communities, as the cornerstone of meaningful digital progress.

A Shared Agenda for Gender and AI

If Pakistan—and other nations—are to harness AI for inclusive development, gender must be at the heart of digital policies. This requires transparent and inclusive AI governance to ensure that algorithms are explainable, equitable and accountable. It demands expanded access to digital skills and STEM education so more women can shape the technologies of tomorrow. Legal frameworks must also address cyber violence and AI-enabled abuse without compromising fundamental rights. And finally, AI ecosystems must be built on ethical foundations, aligned with human rights, sustainability principles and the 2030 Agenda.

A Future Built by All, for All

AI is not just a tool—it is a mirror. It reflects the values of those who design it. If we fail to act, AI could hardwire discrimination into code. But if we rise to the challenge, it can become a powerful ally in the fight for equality.

Equitable access to technology must be recognized as a human right, with gender inclusion built in from the code to the policy. The future is not just about how we use AI—it is about who gets to build it.


1.    UNDP Pakistan, National Human Development Report 2024, United Nations Development Programme, 2024, [online] Available at: https://undppknhdr2024.com
2.    PTA Pakistan, Digital Transformation Strategy, Pakistan Telecommunication Authority, 2024
3.    Karimy, Aziz Ullah & Rasuli, Juma & Reddy, Dr & Joya, Musa & Hamdard, Ali & Ghulami, Hassan. (2024). A Review on the Feasibility of AI-Supported Education Platforms in Afghanistan: Addressing Barriers to Women and Girls' Education. 10.1109/ghtc62424.2024.10771581. 
4.    WHO, AI in Maternal and Reproductive Health, World Health Organization, 2023.
5.    MIT, Gender Shades, Massachusetts Institute of Technology, 2018
6.    UNESCO, I'd Blush If I Could, United Nations Educational, Scientific and Cultural Organization, 2019
7.    UNDP SDG AI Lab, UNDP SDG AI Lab, United Nations Development Programme, [online] Available at: https://www.undp.org/digital/aila
8.    UNDP Pakistan. (2024). Digital Transformation Service Offer
9.    UNDP Pakistan, National Human Development Report 2024, United Nations Development Programme, 2024, [online] Available at: https://undppknhdr2024.com
10.    UN Reports. (2024). AI Governance and Gender-Sensitive Policies
11.    FIA Pakistan. (2023). Annual Cybercrime and Harassment Report
12.    WHO. (2023). Digital Health Equity in Low-Income Communities