Ecom Store Pro

Can two Shopify variants share the same barcode?

Updated ·
At a glance
Short answer
Yes — in our October 2026 test the editor saved one barcode on two variants; the clash surfaces later, in the scanner and SFN transfers.
In the admin
Our October 30, 2026 test saved one code on two variants; the same code twice on one variant was rejected.
Shopify's advice (not a block)
"Print unique barcodes for each product variant, so each variant can be identified within the supply chain."
Inventory scanner (Shopify mobile app)
A shared code returns "The barcode is assigned to multiple products" instead of one item.
Shopify Fulfillment Network
SFN forbids it, and asks you to verify uniqueness yourself before an outbound transfer.
Different field
A transfer's shipment barcode is not the variant barcode; it must be unique within your store.
As of
Help Center pages on barcodes, labels, scanning, SFN and transfers, re-read October 30, 2026; editor tested that day.

Does Shopify block a duplicate barcode when you save?

Not between two variants. On October 30, 2026, in a Shopify development store, we gave two variants of one product the same barcode: both saves returned "Changes saved", and the code held after a reload. The Admin API went untested.

The editor does block one code twice on the same variant: "This barcode is already used on this variant." In our test, the Help Center rule that a value "can't be used twice on the same product or variant" held within a single variant.

A shared code can also arrive automatically: Shopify's Retail Barcode Labels app assigns the last 8 digits of the variant ID as the barcode. "Although rare, this means two products can sometimes receive the same barcode if their variant IDs share the same last 8 digits." Shopify's printing advice — "Print unique barcodes for each product variant, so each variant can be identified within the supply chain." — is guidance, not a block.

Where does a shared barcode actually break?

Scanning is the first place. The Inventory scanner — a Shopify mobile app feature, not the desktop product editor — answers a shared code with "The barcode is assigned to multiple products. Tap View items to either adjust the inventory manually or assign a different barcode to a product." The scanner reports multiple matching products rather than resolving to one item. That "View items" link is where an existing duplicate gets reassigned.

Shopify Fulfillment Network is the second. For merchants connected to SFN: "Before you create an outbound transfer of inventory, verify that each product variant has a unique barcode. You can't use the same barcode for different variants." That verification sits before an outbound transfer, not at save time. The same goes for duplicate SKUs on SFN.

Should you give every variant its own barcode?

Give every variant its own barcode. Sharing a code defers the problem to the scanner, and to the uniqueness check Shopify requires before an outbound Fulfillment Network transfer. Shopify's label app generates codes free, but they are "not suitable for Google Shopping" — third-party channels need codes bought from GS1.

The reverse is allowed: since September 8, 2026 one variant can hold up to 20 barcodes, and Shopify POS v11.14 finds the variant by any of them.

One field is easy to confuse with this one. A transfer's shipment barcode identifies the shipment during receiving, not the product: "Each shipment barcode must be unique within your store." Marketplaces can add their own requirement for a unique product identifier — their rule, not Shopify's.

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Products & inventory
How do you turn inventory tracking on or off for many products in Shopify?

Tick Track quantity in the Products bulk editor for single-variant products (our October 2026 test); untick it in the Inventory bulk editor to stop.

October 15, 2026

Products & inventory
Does Shopify allow duplicate SKUs?

Yes — the admin only warns, but each variant should have a unique SKU; Shopify Fulfillment Network requires it.

October 14, 2026

POS & retail
Why is your Shopify barcode scanner not working?

No single fix: check pairing, cart vs search bar, product setup and power; reset last unless your model's page puts it earlier.

Updated November 18, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.