Afsar Ali · 6 min read
In this article
Since 9 October 2026, every registered medicine manufactured in Pakistan or imported into the country must carry a unique 2D Data Matrix barcode and a serial number. This is Phase I of the Drug Regulatory Authority of Pakistan's (DRAP) pharmaceutical track-and-trace system. The rule is aimed at manufacturers and importers, who print and register the codes. Pharmacies don't have to print anything, but the counter is where coded and uncoded packs now meet, and where customers will eventually scan medicines to check they are genuine. Here is what changed, and what a pharmacy owner should do now.
What DRAP's 2D barcode rule says
According to DRAP's communique, reported by Business Recorder on 13 October 2026, 2D barcoding and serialization became mandatory for all locally manufactured and imported pharmaceutical products from 9 October 2026. The legal basis is the DRAP Act, 2012 and the amended Drugs (Labelling & Packaging) Rules, 1978, under S.R.O. 963(I)/2026.
Each pack in scope needs a unique 2D Data Matrix barcode, built to GS1 standards, and a serial number. DRAP says the system is meant to curb spurious, falsified, counterfeit and unregistered medicines, make product recalls easier and give real-time transparency across the supply chain.
DRAP describes this as the first phase of a phased rollout. Manufacturers and importers who don't comply face legal action.
Which medicines are covered, and which are not
The rule follows the manufacturing or import date, not the date a pack reaches your shelf. Batches manufactured locally or imported with a manufacturing date before 9 October 2026 are exempt and remain permitted for import, distribution and sale.
In practice your shelves will hold a mix for months: older packs with ordinary linear barcodes, or none at all, next to newer packs with a small square Data Matrix code. Both are legal. Your stock system and your staff need to handle both.
Does a pharmacy need to do anything?
Under Phase I, the obligations sit with manufacturers and importers. A retail pharmacy is not required to print codes or submit serial data to DRAP.
Three things still change at the counter.
Customers. Reports on the rollout say that once the system is operational, consumers will be able to scan the 2D barcode with a smartphone to check whether a medicine is genuine and see details such as the expiry date and official retail price. A pharmacy that already scans and checks its own stock is ready when customers start doing the same.
Recalls. Serial numbers make recalls far more precise. If you know which batch you bought from which supplier, and when, you can pull affected packs in minutes instead of searching every shelf.
Counterfeits. Track-and-trace exists to make fake and unregistered medicines easier to catch. As the system tightens, stock bought outside normal distribution channels becomes a bigger risk for the pharmacy that sells it.
A practical checklist for pharmacy owners
1. Check your scanner. Many older laser barcode scanners read only 1D linear barcodes and cannot read Data Matrix codes. A 2D imager scanner, or a phone camera with an app that supports Data Matrix, can read both. Test one of your new packs before buying anything.
2. Record the batch number and expiry date of every purchase. This is the information any recall will ask for, and the information an expiry report depends on.
3. Tie stock to suppliers. Note which distributor supplied which batch, on which invoice. If a batch is recalled or questioned, this is your proof of where it came from.
4. Keep expiry under control. Mixed old and new stock makes first-expiry-first-out harder. Rely on expiry alerts, not memory.
5. Brief your staff. Show them what a Data Matrix code looks like and what to do with a pack that should have one but doesn't: anything manufactured after 9 October 2026 without a code should be set aside and checked with the supplier.
6. Move the counter off the notebook. The whole supply chain is moving to digital records. A pharmacy with digital stock, sales and supplier history can answer any of the questions above in minutes.
What to look for in pharmacy software in 2026
If you are choosing or replacing pharmacy software, ask these questions before you pay.
Does it scan with both a barcode scanner and a phone camera? Ask specifically whether it reads 2D Data Matrix codes, and test it on a real pack.
Does it store batch numbers and expiry dates for each product, and warn you before stock expires?
Does it keep supplier records, purchase history and dues, so you can trace a batch back to its invoice?
Does it keep working when the internet drops? Software that stops billing when the connection goes is a real problem during the evening rush.
Does it run on the devices you already have, such as a counter PC and an Android phone, and can you get your data back if a device breaks?
How AfexsaRx fits
We built AfexsaRx, our own pharmacy management system, for medical stores and small retail shops in Pakistan. It covers the counter side of the checklist above: barcode scanning with a scanner or phone camera, batch numbers and expiry dates with expiry and low-stock alerts, fast point-of-sale billing with PDF invoices, supplier and customer records with dues, and sales, profit and expiry reports.
It is offline-first. The Android and Windows apps keep selling without internet and sync to the cloud when the connection returns, and one account works across the web portal, the counter PC and your phone. Submitting serial data to DRAP is the manufacturer's and importer's job in Phase I, so pharmacy software doesn't need to do that today.
You can try AfexsaRx at rx.afexsa.com or download it from Google Play and the Microsoft Store. The full story of how we built it is in the AfexsaRx case study on our Work page, and you can ask for a walkthrough for your store through our Contact page or at [email protected].
Frequently asked questions
When did DRAP's 2D barcode rule start? It took effect on 9 October 2026 for registered medicines manufactured locally or imported on or after that date.
Can pharmacies still sell medicines without a 2D barcode? Yes, if the batch was manufactured or imported before 9 October 2026. Those batches are exempt and remain permitted for sale.
Do pharmacies have to print 2D barcodes? No. Phase I applies to manufacturers and importers, who print the codes and submit the serial data.
What kind of barcode is it? A 2D Data Matrix code that follows GS1 standards, with a unique serial number for each pack.
What scanner do I need? One that reads 2D codes. 2D imager scanners and phone cameras with a suitable app can; many older laser scanners cannot.
The bottom line
DRAP's rule doesn't add paperwork for pharmacies today, but it changes the medicines coming through your door. Pharmacies that already track batches, expiry dates and suppliers digitally will handle recalls, counterfeit checks and customer questions without stress. If your counter still runs on a notebook, this is a good month to change that.
Sources: Business Recorder, "DRAP announces 2D barcoding and serialization", 13 October 2026. ProPakistani, "Pakistan to Introduce Mandatory Barcode System for Medicines", 29 June 2026. This article is general information, not legal advice. Check DRAP's official guidelines for your situation.