Data localization in Pakistan banner: data centre with AI data at a checkpoint gate that lets data leave only with approval

    Data Localization in Pakistan: Where Your AI and Cloud Data Must Stay

    December 2, 2026

    5 min

    Data LocalizationData ResidencySovereign AI PakistanAI ComplianceStixor AI Hub

    Data localization in Pakistan is set by sector, not by one law: government data follows the Cloud First Policy, banks follow the State Bank's cloud outsourcing framework, telecom operators follow PTA's security regulations, and a national data governance policy and a personal data protection bill would widen the rules but were still drafts at the time of writing. For AI, the practical rule is simple: if the data is sensitive enough to stay in Pakistan, so are the prompts, files, logs and models that touch it.

    Most guides stop at "data". AI creates more of it than people expect. A single chatbot request can produce a prompt, an uploaded file, an embedding in a vector index, a log line, a cached answer and, months later, a fine-tuned model that has learned from all of it. Each of those is a copy of your data, and each has a location.

    This guide explains which rules apply to whom, what is in force and what is still draft, how each rule maps onto the data an AI system creates, and how to decide whether a given AI workload can leave the country. For the wider picture, see our pillar on sovereign AI in Pakistan.

    Key points

    • No single law yet. Pakistan has no enacted general data protection law; the Personal Data Protection Bill is still a draft.
    • Sector rules already bite. Public bodies, banks and telecom operators each have rules that keep sensitive data in Pakistan or require approval to move it.
    • AI data counts. Prompts, embeddings, logs and fine-tuned weights can all reveal the original data, so treat them as the same class as their source.
    • Remote access may count as transfer. The draft data governance policy treats data as being where it is "made accessible", so support access from abroad needs a plan.

    Is there a data protection law in Pakistan?

    Not a general one. Pakistan has no enacted, comprehensive data protection law; the Personal Data Protection Bill has gone through several drafts but had not passed at the time of writing. (Chambers, DLA Piper)

    Until it passes, three things fill the gap:

    • The Constitution. Article 14 protects the privacy of the home, which courts read as a privacy right.
    • Sector regulators. The State Bank, PTA and the IT ministry set location rules for the entities they supervise.
    • Contracts and internal policy. Most private companies outside banking and telecom decide for themselves, through customer contracts and risk policy, where personal data may go.

    The drafts of the bill matter because they show where the law is heading. Published versions would create a data protection commission and restrict cross-border transfers of personal data, with the most sensitive categories kept in Pakistan. Plan for that direction even before it becomes law.

    Which rules decide where data must stay in Pakistan?

    Five instruments matter, and only some are in force. The table shows who each one covers and its status at the time of writing.

    RuleWho it coversWhat it says about locationStatus
    Pakistan Cloud First Policy (MoITT)Federal public sectorRestricted, confidential and secret data must stay in government or private clouds hosted in PakistanIn force; provider accreditation under way
    SBP Framework on Outsourcing to Cloud Service Providers (BPRD Circular 01)Banks, DFIs, microfinance banksPrefer onshore providers; only non-material workloads offshore without approval; material workloads offshore need SBP approvalIn force
    PTA Critical Telecom Data and Infrastructure Security RegulationsTelecom operators and ISPsCritical data to be stored and processed in Pakistan unless PTA approves a transfer (reported)Finalised (reported)
    National Data Governance Policy (MoITT)Government data, with wider effects on suppliersRestricted, confidential and personal government data to be hosted, stored and processed in Pakistan; cross-border use subject to approvalDraft, being finalised
    Personal Data Protection BillAnyone processing personal dataWould restrict cross-border transfers of personal dataDraft, not passed

    Cloud First Policy: government data

    The Cloud First Policy sorts government data into classes and maps each class to a type of cloud. Open and public data can use accredited public clouds. Restricted, sensitive or confidential, and secret data must stay in government or private clouds hosted in Pakistan (MoITT). The government has also started accrediting cloud providers, with security vetting and audits (Profit); six providers had applied by early 2026 (ProPakistani).

    For AI: a ministry chatbot that reads restricted files cannot send them to a model hosted abroad, even for a single request.

    State Bank of Pakistan: banks and financial institutions

    Under BPRD Circular No. 01, regulated entities "shall give preference to onshore" cloud providers. They may place only non-material workloads offshore, and need SBP approval to put material workloads offshore. Banks remain responsible for the data and for their providers.

    For AI: an AI service that reads customer data or supports a core process is likely material. Using a foreign AI API for it means asking SBP first. Running it on infrastructure in Pakistan avoids that question. Our guide to AI inference in Pakistan covers the local options.

    PTA: telecom operators

    PTA's Critical Telecom Data and Infrastructure Security Regulations are reported to require that critical telecom data be stored and processed in Pakistan unless PTA approves a cross-border transfer, with cloud and backup infrastructure under Pakistani jurisdiction (ProPakistani). Check the final text on PTA's website before relying on the details.

    For AI: call records, subscriber data and network data used for AI analytics or customer-service bots should be processed in Pakistan.

    National Data Governance Policy: the draft that widens the net

    The IT ministry's draft policy would require restricted, confidential and personal government data to be hosted, stored and processed in Pakistan, with cross-border processing only under approved conditions (MoITT draft, Arab News). Its definition of residency covers data that is made accessible, not only data that is stored. The software industry body P@SHA has warned that this could treat remote access by staff abroad as a cross-border transfer (ProPakistani).

    For AI: if a vendor's engineers abroad can log in to your AI platform, read its logs or pull its model files, your data may be "accessible" outside Pakistan even though the servers are local. Ask who can access the system and from where.

    Personal Data Protection Bill: the law still to come

    The bill would give Pakistan its first general data protection law, with a regulator and limits on transferring personal data abroad. Its timing is uncertain. Design as though it will pass: keep personal data used for AI in Pakistan by default, and document every exception.

    What counts as "data" in an AI system?

    Everything the AI touches or creates from your data: prompts, uploaded files, embeddings, outputs, logs, fine-tuned models and the access paths around them. Each is a copy of the original in a different form, and each has a location.

    AI data residency map: prompts, files, embeddings, outputs, logs, fine-tuned models and access paths that must stay in Pakistan
    AI data residency map: prompts, files, embeddings, outputs, logs, fine-tuned models and access paths that must stay in Pakistan
    AI dataExampleWhy it carries the original data
    Prompts and chat history"Summarise this customer's complaint"Often contain names, account details and internal facts verbatim
    Uploaded files and knowledge sourcesPolicies, contracts, case files used for answersFull copies of the source documents
    Embeddings and vector indexesNumeric vectors of each document chunkResearch shows text can be largely reconstructed from embeddings
    Model outputs and cachesGenerated summaries, cached answersRestate the source data in new words
    Logs, traces and telemetryRequest logs, monitoring traces, vendor usage dataFrequently store full prompts and responses
    Fine-tuned model weightsA model tuned on your support ticketsModels can memorise and repeat parts of their training data
    Access pathsVendor support logins, admin consoles, backupsMake the data reachable from wherever the user sits

    Two research findings explain why embeddings and fine-tuned models are not "anonymous":

    • Embeddings can be reversed. Morris and colleagues showed a method that recovered 92% of 32-token text inputs exactly from their embeddings (arXiv). An index of embeddings is close to an index of the text itself.
    • Models can memorise. Carlini and colleagues extracted hundreds of verbatim training sequences, including personal information, from a public language model (arXiv). A model fine-tuned on customer data should be treated as customer data.

    The business consequence: if your source data must stay in Pakistan, keep its embeddings, logs and fine-tuned models in Pakistan too. Moving only the "derived" data abroad does not get around the rule. Our post on using the OpenAI API in Pakistan explains what typically leaves the country when you call a foreign API.

    Can this AI workload leave Pakistan? A five-question check

    Answer five questions per workload; one "yes" to the first three usually means the workload stays in Pakistan.

    1. Does it touch government data classed above "public"? If yes, the Cloud First Policy keeps it in Pakistan.
    2. Are you a bank, DFI or microfinance bank, and is the workload material? If yes, offshore use needs SBP approval; local hosting avoids it.
    3. Are you a telecom operator using critical telecom data? If yes, PTA's rules keep it in Pakistan unless PTA approves.
    4. Does it use personal data? If yes, plan for the data protection bill and your own customer contracts: keep it local by default and record any exception.
    5. Can anyone abroad reach the data, logs or models? If yes, including vendor support or monitoring, treat that as a transfer and either remove the access or approve and record it.

    Only when every answer is "no", or an approval is on file, should a workload run abroad. Write the answer down per workload and review it when the rules change.

    How to keep AI data in Pakistan in practice

    Run the AI stack where the data lives, keep its side channels local, and keep proof.

    • Host models in the country. Use open-weight or private models on GPUs in Pakistani data centres or on your own premises, instead of sending requests to foreign APIs.
    • Keep the whole pipeline local. Vector databases, caches, logs, monitoring and backups must sit in the same boundary as the model.
    • Switch off phone-home. Choose software that runs without telemetry or licence checks to servers abroad, and test it in an air-gapped setup.
    • Control access. Limit admin and support access to named people in Pakistan, use single sign-on, and log every access.
    • Keep an audit trail. Store who called which model, with which data, and when, in a tamper-evident log you can show a regulator.
    • Set budgets and keys per team. Give each team its own API key with limits, so you know which data each application sends.
    • Plan for hybrid. Non-sensitive workloads can still use international services. Make the split a written decision, not an accident.

    Where Stixor AI Hub fits

    Stixor AI Hub is a platform for running AI inside a chosen boundary. It provides three services on one platform, sharing the same tenancy, metering and billing: GPU as a Service, Models as a Service behind one OpenAI-compatible API, and a Platform as a Service for fine-tuning, training and notebooks.

    For data localization, the relevant features are:

    • Deployment where the data must stay: on-premise, fully air-gapped with no telemetry and no licence server calling home, in a sovereign cloud in Pakistan, or hybrid. Sky47 runs Stixor AI Hub at its Karakoram-01 data centre near Islamabad.
    • Access control: single sign-on through your identity provider, two-factor login and a network allow-list for operators.
    • Proof: a tamper-evident, hash-chained audit trail and per-key metering of every request.
    • Spending control: per-key budgets and rate limits; a hard cap stops new requests with an HTTP 402 response before any tokens are generated.
    • Hardware choice: nine accelerator families, including NVIDIA and AMD GPUs, Huawei Ascend NPUs and T-Head PPUs, so local capacity is not tied to one chip supplier.

    For the architecture, see how Stixor AI Hub works.

    The Bottom Line

    Pakistan's data localization rules are sector by sector and still growing. For AI, the safe reading is that sensitive data, and everything an AI system makes from it, should stay in Pakistan. Map your AI workloads, run the five-question check, and host the sensitive ones on a platform that keeps models, logs and access inside the country.

    Keep Your AI Data in Pakistan

    Stixor AI Hub runs GPU capacity, models behind one OpenAI-compatible API and a platform to build AI on infrastructure in Pakistan, on-premise or fully air-gapped, with budgets and a tamper-evident audit trail.

    Talk to Stixor

    Frequently Asked Questions

    FAQs

    icon
    icon

    Discuss Your Enterprise Use Case

    From small to large scale enterprises, we deliver next-gen AI, data engineering, and actionable insights.