A SKU (stock keeping unit) in Shopify is a short alphanumeric code you assign to each product variant so you can track inventory, speed up order fulfillment, and identify items at a glance. Every variant of a product, such as a black t-shirt in size medium versus the same shirt in size large, gets its own unique SKU. Shopify doesn’t require you to add SKUs, but once your catalog grows beyond a handful of items, they become essential for keeping your store organized.
How SKUs Work in Shopify
When you create or edit a product in Shopify, each variant has an optional SKU field. You type in whatever code fits your naming system. SKUs are internal to your business, meaning customers never see them. They show up in your Shopify admin, on packing slips, in inventory reports, and in any third-party apps you connect for fulfillment or accounting.
Because each variant gets its own SKU, a single product listing for a “Classic Crew T-Shirt” might have a dozen SKUs: one for every combination of color and size you stock. When an order comes in, the SKU tells your warehouse team exactly which item to pull off the shelf without guessing.
SKUs vs. Barcodes
SKUs and barcodes serve different purposes. A SKU is a code you create yourself, unique to your store. A barcode (like a UPC or EAN) is a standardized number issued by a global organization that identifies a product across all retailers. Two different stores selling the same Nike shoe will share the same barcode but have completely different SKUs. Shopify has separate fields for each, so you can use one, both, or neither.
How to Build a SKU System
The best SKU format follows a hierarchy: start broad, then get specific. The first segment represents the product category, the next segments capture key attributes like style, color, and size, and the final segment is a sequence number to keep each SKU unique. A common template looks like this:
CAT-STYLE-COLOR-SIZE-SEQ
Here’s what that looks like in practice across different product types:
- Apparel: TSH-CREW-BLK-M-001 (t-shirt, crew neck, black, medium, first item)
- Electronics: LAP-HP-PRO-16-512-A1 (laptop, HP brand, Pro line, 16 GB RAM, 512 GB SSD, batch code)
- Coffee: COF-ARB-DK-250-003 (coffee, Arabica, dark roast, 250-gram bag, third batch)
You don’t have to use letters. A fully numeric system works too. One apparel store might use 4225-776-3234, where 4225 is the brand, 776 is the leg style (boot cut), and 3234 is the waist and length. The key is that every segment has a clear, consistent meaning your team can decode without a reference sheet.
Formatting Rules and Limits
Shopify allows up to 16 characters per SKU, though shorter is better. For most stores, 4 to 8 characters is enough if your catalog is small, while 8 to 12 characters gives you room to encode more attributes as you grow.
You can use numbers, letters, or a mix. Use dashes or underscores to separate segments (WAL_BLK_25 or TSH-M-BLK). Avoid spaces, special characters, and symbols, as these can break search and filtering in Shopify and connected apps. Also avoid the number 0 and the number 1 in positions where they could be mistaken for the letters O and I. That kind of mix-up causes picking errors in a busy warehouse.
Why SKUs Matter for Inventory
Without SKUs, managing inventory in Shopify means relying on product titles and variant names, which gets messy fast. SKUs give you a single, scannable identifier for each variant that stays consistent across your Shopify admin, your fulfillment center, your accounting software, and any marketplace channels you sell on.
When you run low on a specific variant, Shopify’s inventory reports let you filter and search by SKU. Reordering from a supplier is faster when you can hand them a code like COF-ARB-DK-250 instead of describing “the 250-gram dark roast Arabica in the resealable bag.” If you use a third-party logistics provider, they’ll almost certainly need SKUs to receive, store, and ship your products accurately.
SKUs also help you spot trends. Sorting sales data by SKU lets you see which specific variants are bestsellers and which are collecting dust. That’s harder to do when you’re just looking at product-level totals that lump all sizes and colors together.
Tips for Setting Up Your System
Plan your SKU structure before you start entering products. Retrofitting a messy system later is painful, especially if you’ve already shared SKUs with fulfillment partners or integrated them into accounting software.
Keep abbreviations consistent across your entire catalog. If BLK means black for t-shirts, it means black for hats, bags, and everything else. Every letter and number in a SKU should have a purpose. Random characters make the system harder for your team to learn and more error-prone during picking and packing.
If you sell across multiple channels (your Shopify store, a marketplace, wholesale), use the same SKU everywhere. This keeps inventory counts in sync and prevents overselling. Most inventory management apps that connect to Shopify rely on SKU matching to reconcile stock levels across platforms.

