How Are LEGO Sets Numbered? 935 lego.com Sets by Prefix
TL;DR: The last three digits place a set in its theme's run: in 42xxx, Technic runs 42171 to 42254 and Friends 42644 to 42719. Six- and seven-digit numbers on lego.com were key chains, bags, storage and apparel: 9 of those 724 products had a piece count.
How are LEGO sets numbered? By theme block: 60 is City, 75 mostly Star Wars. On lego.com on Nov 23, 21xxx was shared by Minecraft, Ideas and Architecture.

How are LEGO sets numbered? lego.com's help page answers with a length only: five to seven digits, printed on the box and the instructions. Across the 935 five-digit set numbers on lego.com on November 23, 2026, we found the code too: the first two digits mark a theme block (60 is City, 75 is mostly Star Wars), and only 60 belonged to one theme alone among the big blocks.

Chart: BrickWatchlist, from lego.com's All sets list read Nov 23. Prefixes with 8 or more sets.
Checked Nov 23, 2026: lego.com's All sets list (1,667 listings, 1,659 distinct products), compared with our Nov 21 read, and lego.com's help page on set numbers.
How are LEGO sets numbered? The quick answer
By theme block. LEGO does not publish the map, so the table below is what lego.com's own catalog shows. For what each theme sells, see our guide to every LEGO theme for adults.
The prefix map: 15 blocks on lego.com, Nov 23
| First two digits | Sets on lego.com | Themes inside (sets) |
|---|---|---|
| 10 | 98 | DUPLO 45, Icons 28, Botanicals 19, Classic 3, others 3 |
| 11 | 72 | Botanicals 23, Icons 20, Classic 8, Bluey 6, Marvel 6, others 9 |
| 21 | 66 | Minecraft 30, Ideas 27, Architecture 8, Disney 1 |
| 31 | 45 | Creator 3-in-1 38, Art 7 |
| 40 | 86 | BrickHeadz 17, Disney 6, seasonal and small sets filed as Other or with no theme 51, others 12 |
| 42 | 90 | Friends 47, Technic 42, Batman 1 |
| 43 | 67 | Disney 40, Editions 23, Nike 2, Frozen 2 |
| 60 | 68 | City 68 |
| 71 | 50 | NINJAGO 37, DREAMZzz 9, Super Mario 2, others 2 |
| 72 | 36 | Super Mario 14, Pokémon 10, Pokémon SMART Play 9, others 3 |
| 75 | 87 | Star Wars 69, One Piece 10, Wicked 8 |
| 76 | 68 | Harry Potter 28, Marvel 25, Jurassic World 5, DC 4, others 6 |
| 77 | 66 | Speed Champions 35, Fortnite 10, Jurassic World 7, Animal Crossing 6, Sonic 5, others 3 |
| 80 | 15 | Monkie Kid 9, Other 6 |
| 88 | 9 | Powered UP 6, Technic 3 |
Theme names are lego.com's own labels. Our Nov 21 read of the same list put the same main themes in each block; a few counts moved as lego.com added and relabelled products.
City is the clean case: all 68 City sets start with 60, and nothing else does. Star Wars is close: 69 of its 70 five-digit sets start with 75, and the odd one is 40806 Gingerbread AT-AT Walker, a seasonal set in the 40 block.
When themes share a block, the hundreds split them
On lego.com on Nov 23, 14 of the 15 prefixes with 8 or more sets held two or more themes, and inside the blocks below the themes keep to their own runs.

Chart: BrickWatchlist, from lego.com's All sets list read Nov 23
| Block | Runs on lego.com, Nov 23 |
|---|---|
| 21xxx | Architecture 21034 to 21067; Minecraft 21266 to 21282 and 21582 to 21598; Ideas 21330 to 21376 |
| 42xxx | Technic 42171 to 42254; Friends 42644 to 42719 |
| 75xxx | Star Wars 75192 to 75495; One Piece 75637 to 75647; Wicked 75682 to 75691 |
| 31xxx | Creator 3-in-1 in 311xx and 313xx; Art 31212 to 31221, in the gap |
| 76xxx and 77xxx | Jurassic World 76968 to 76976 and 77977 to 77985 |
In the 21xxx, 42xxx, 75xxx and 31xxx blocks the theme runs do not overlap; only two single sets sit in another theme's run: 21351, filed under Disney, among the Ideas numbers, and 42239, filed under Batman, among the Technic numbers. Our LEGO Ideas sets retiring in 2026 lists the 21xxx Ideas sets that carry lego.com's badge.
In one case the number follows the build system, not the licence: lego.com files 42239 Batmobile Tumbler under Batman, yet its number sits in the Technic run. One theme can also run in two blocks at once, as Jurassic World does in 76xxx and 77xxx.

Image: The LEGO Group (lego.com)
GODEEPER: The Technic block, set by set, with the badged ones and what they cost. LEGO Technic Sets Retiring in 2026 →
Are LEGO set numbers sequential?
Roughly, inside one theme's run, and LEGO does not promise it. The clearest case is Star Wars. The highest Star Wars number already released on lego.com on Nov 23 was 75461 Up-Scaled Darth Vader Minifigure. The seven Star Wars sets on lego.com's Coming soon list run 75466 to 75495, every one above it; our page on the LEGO Star Wars 50th anniversary sets covers that January wave.
The same holds at the top of Technic. 42254, the highest number in the 42xxx Technic run on lego.com, is the Solar System set listed as Coming soon on January 1, 2027, and our LEGO Technic Solar System 42254 page has its price and pieces.
Two catches. A theme can open a new run, as Minecraft and Jurassic World did, so a lower number is not always an older set across runs. And a run has gaps: the 47 Friends sets on lego.com are spread over 76 numbers, 42644 to 42719.
Six and seven digits: what they are on lego.com
lego.com's help page says the first LEGO sets had three-digit numbers and today's run five to seven digits. On its All sets list, the longer numbers were not building sets:
| Digits | Products on lego.com, Nov 23 | What they were |
|---|---|---|
| 5 | 935 | Building sets |
| 6 | 76 | Mostly 85xxxx key chains (61) and small accessories |
| 7 | 648 | Mostly 500xxxx and 501xxxx gear (641): storage, bags, apparel, desk drawers |
Only 9 of the 724 six- and seven-digit products listed a piece count. If a number has more than five digits, check the product page before you count it as a set.
Where to find the number and what to do with it
lego.com's help page says the number is "featured prominently on the box and instructions", and lego.com shows it on every product page. LEGO lists three uses for it: search lego.com, find the building instructions, and order replacement pieces. On this site, the LEGO building instructions finder is keyed to the number, and the LEGO sets by year pages list numbers by release year.
How we checked this
On Nov 23 we read every page of lego.com's US All sets list from its page data: 1,667 listings, 1,659 distinct products, as 8 appeared on two pages. We grouped them by number length, then grouped the five-digit numbers by their first two digits and by lego.com's theme label. We compared the counts with our Nov 21 read of the same list (1,673 products). Theme names, prices and pieces are lego.com's; the grouping and counts are ours.
Search by number, filter by prefix
Search lego.com by number, not by name, whenever two sets share a ship or a building. Names repeat across sizes and themes; the number does not.
Use the prefix as a filter when you shop a theme: 60 for City, 71 for NINJAGO, 75 for Star Wars. Do not use it as a promise: 42 is Technic and Friends, 21 is three main themes, and lego.com files at least one Technic-numbered set under Batman.
What we don't know yet is how LEGO assigns a new run, which it has never published. Next, we re-read the All sets list in January, when the first 2027 sets go on sale, and update the table.
Related Reading
- New LEGO Sets January 2027: the next wave of numbers, theme by theme.
- LEGO Minecraft Sets Retiring in 2026: the 21xxx sets with lego.com's badge.
- LEGO Friends Sets Retiring in 2026: the other half of the 42xxx block.
- LEGO Architecture Sets: the smallest run in 21xxx, every set compared.
References
- lego.com help: Identifying LEGO set and piece numbers, read Nov 23, 2026
- lego.com: All sets list, every page read Nov 23, 2026, and Coming soon, read Nov 23, 2026
- lego.com product pages: 42239 Batmobile Tumbler, 42254 Solar System Planets in Orbit
- BrickWatchlist lego.com catalog read, Nov 21, 2026 (1,673 products)
Live numbers, read from lego.com on Nov 12, 2026: the LEGO Star Wars sets page lists all 38 Star Wars sets on lego.com, with stock and price; the LEGO Technic sets page lists all 25 Technic sets on lego.com, with stock and price; the LEGO release calendar has every dated launch and Insiders date; and LEGO set statistics ranks the most expensive and largest sets on lego.com.
About the author
Editorial desk
The BrickWatchlist desk reads lego.com so you don't have to refresh it. Every price has a date, every retirement date has a name, and when LEGO hasn't said, we say so.
Keep reading

How Does LEGO Design New Sets? 3 Routes and Their Timelines
Themes · 9 min

What Does UCS Mean in LEGO? 7 Sets lego.com Files Under It
Themes · 10 min

LEGO Sanctum Sanctorum: $99.99 67005 or the Retired 76218
Themes · 10 min

LEGO Marvel Mini Modular Sets: All 7, 3 Sold Out or Retired
Themes · 12 min

LEGO Shrek Sets: 4 on lego.com and US Box Codes for All 12
Themes · 13 min

LEGO Themes 2026: Which Ones Are Built for Adults?
Themes · 13 min

LEGO Nike Sets: All 5 on lego.com, 2 Retiring Soon
Themes · 8 min

LEGO Architecture Sets: All 10 on lego.com, 3 in Stock
Themes · 9 min
Disclaimer
Prices, stock labels and "Retiring soon" badges on lego.com change without notice. The figures in this article carry the date we checked them, and any retirement date names the third party that gave it, because LEGO does not publish one. Check the set's lego.com page before you buy. Nothing here is investment advice.
BrickWatchlist is an independent fan site, not affiliated with, sponsored or endorsed by the LEGO Group. It carries no ads, no affiliate links and no sponsored content. See how the site is run. This article was researched and written with AI tools, and every fact in it was checked against its source; how we use AI.