3D printing LEGO®-compatible bricks: dimensions, clutch and a fit test

By Sina Esfahani, OmniTechs · Published 30 November 2026

Yes, an ordinary filament printer can make bricks that click onto genuine LEGO® bricks. A downloaded model rarely fits first time, though. The grid is fixed at 8 mm and a stud is 4.8 mm across, and the moulded originals hold their size to a few thousandths of a millimetre. Your printer adds its own error of several hundredths. So you tune the model to your printer and filament with a short test print.

Start with one action: print a small series of plates whose studs differ by 0.05 mm, and try each one on a genuine brick. The one that clicks on, holds and comes off by hand is your setting.

Get a good fit in this order:

  1. Calibrate the first layer and use elephant's foot compensation, because the open underside of a brick sits on the bed.

  2. Calibrate flow, then dimensional accuracy, for the filament you will use.

  3. Use a parametric brick model, so you can change the stud diameter on its own.

  4. Print studs from 4.70 to 4.90 mm in 0.05 mm steps and test each against a genuine brick, from above and from below.

  5. Keep the step that passes, and record it for this printer and this filament.

  6. Check that two printed bricks still fit side by side.

  7. Never fix the fit by scaling the whole model.

The dimensions, and why they are not an official specification

The LEGO Group publishes no tolerance data for its bricks. A 2024 study by Air and Wodehouse at the University of Strathclyde says so, and gives the moulds' accuracy as within 0.005 mm. Prusa Research describes the originals as made "with a precision of 10 micrometers or better" and says filament printers will always struggle to match that. The figures below are therefore other people's published measurements and models, not LEGO® specifications.

Main dimensions of a 2 × 4 brick and plate

Values from Christoph Bartneck's technical drawings of the 2 × 4 brick (dated 27 March 2019) and 2 × 4 plate (22 April 2019), and the constants in Christopher Finke's LEGO.scad generator. Read on 30 November 2026.
FeatureValueNote
Stud pitch, centre to centre8.0 mmthe grid everything else follows
Stud diameter4.8 mm
Stud height1.7 to 1.8 mmthe sources give 1.7 or 1.8 mm
Brick height without studs9.6 mm
Plate height without studs3.2 mmone third of a brick
Outside of a 2 × 4 brick31.8 × 15.8 mm0.2 mm under 4 × 8 and 2 × 8 mm
Outer wall1.2 mmwith small ribs on the inside
Tube on the underside6.51 mm outside, 4.8 mm insideholds the studs of the brick below

The 0.2 mm shortfall in the outside size is deliberate. It leaves a gap of 0.2 mm between neighbouring bricks, 0.1 mm on each side.

How the clutch works

Grip, often called clutch power, comes from the underside. Each stud of the brick below slides into a pocket between the round tube and the small ribs on the outer wall. The design leaves almost no room there.

You can check this with simple arithmetic. Two diagonally opposite studs around a tube sit √2 × 8 = 11.31 mm apart, centre to centre. Subtract one stud diameter, 4.8 mm, and you get 6.51 mm: exactly the tube's outside diameter. So the tube touches all four studs around it with practically zero gap. The LEGO.scad generator makes its tube 6.45 mm and leaves 0.03 mm of play per side for the same reason.

That has a direct consequence for printing. If your printer makes studs 0.1 mm too thick, each stud presses 0.05 mm into its tube and ribs. If it makes them 0.1 mm too thin, there is a 0.05 mm gap and the brick falls off. Hundredths of a millimetre decide the fit, so the general rules of thumb in 3D printing tolerances and clearance do not transfer directly. You need a test against the real thing.

How firm is firm enough? Air and Wodehouse cite a published figure of 2.5 N to pull two genuine 2 × 4 bricks apart. That is roughly the weight of 255 g (2.5 ÷ 9.81 = 0.255 kg). No official figure exists, so use it only as a sense of scale.

Which filament to use

Genuine bricks are injection-moulded ABS. Match that when your prints must work with genuine bricks; when they only connect to each other, more materials work.

Filaments for LEGO®-compatible bricks

Prusa's brick guide of 13 March 2020 and Air and Wodehouse (2024), read on 30 November 2026. Prusa got its best results with ASA.
FilamentWith genuine bricksPrintingSource
ASAFits well after brief acetone vapour smoothingLike ABS, but less odour and less warpingPrusa
ABSSame plastic as the originals; fits well after vapour smoothingHarder to print than ASAPrusa, Air and Wodehouse
PLARisk of wearing genuine bricks so they fit poorly afterwardsEasy; the joints need more forcePrusa
PETGNot tested for bricks in these sourcesNot assessed herenone
Flexible material, such as TPUA rubber-like test print did click on, but the result is unreliableThe part stretches, so a fit test says littleAir and Wodehouse

Choose ASA or ABS if the bricks will mix with a genuine collection, and PLA for a set that stays separate. If you try PETG, run the same test series; none of these sources reports on it. Printing ABS and ASA needs an enclosure and ventilation, covered in printing ABS and ASA. Before any acetone smoothing, read vapour smoothing ABS and ASA for the safe method. For the wider choice, see ABS vs PLA and PETG.

Calibrate the printer before you tune the brick

A brick test cannot tell a wide first layer from a wrong stud. Remove printer errors first, then tune the model.

  1. First layer and elephant's foot. Print the brick with its open underside on the bed and a brim, as Prusa does. The squashed first layers bulge into the pockets, and the brick then refuses to seat on genuine studs. Prusa's general starting value for elephant's foot compensation is about 0.2 mm with a 0.4 mm nozzle; its brick guide raises it to 0.4 mm in PrusaSlicer (Print Settings, Advanced). If the brim lets go, the value is too high. Setting names for other slicers are in elephant's foot.

  2. Flow. Over-extrusion makes studs thicker and pockets tighter at the same time. Use flow rate calibration.

  3. Size per filament. Shrinkage and axis errors are a separate job: calibrate dimensional accuracy.

  4. Solid walls. In the slicer preview, check that the thin walls are filled. Air and Wodehouse found that a 1.1 mm wall printed hollow with a 0.4 mm nozzle; a 0.8 mm wall printed solid and passed the fit test. They used 0.2 mm layers and studs pointing up, without supports.

How to make 3D printed LEGO and LEGO Duplo compatible bricks (Prusa 3D)

The fit test, step by step

You need a genuine 2 × 4 brick, your printer with the filament you will use, and a parametric model. The free LEGO.scad generator for OpenSCAD has a stud_rescale setting that changes only the stud diameter: 1.01 prints studs 1% wider, so 4.848 mm instead of 4.8 mm.

  1. Make five 2 × 2 plates with stud_rescale 0.98, 0.99, 1.00, 1.01 and 1.02. That gives studs of 4.70, 4.75, 4.80, 4.85 and 4.90 mm. Plates print quickly and have a tube underneath.

  2. Print them in one job with the same profile and spool. Write down their position on the bed, so you know which is which.

  3. Let them cool to room temperature.

  4. Test from above. Press a genuine brick onto each plate. Pass: it goes on with firm thumb pressure, stays on when you turn it upside down and shake gently, and comes off by hand without tools.

  5. Test from below. Press each plate onto a genuine brick. This tests your pockets, which stud_rescale does not change. If the plate will not seat, check the bottom layers for elephant's foot first, then flow. Change the underside of the model only after that.

  6. Test side by side. Put two printed bricks next to each other on a genuine plate. They must both seat. If your outer walls print 0.1 mm wide on each side, the 0.2 mm gap between neighbours is gone (0.1 + 0.1 = 0.2). Prusa names walls that are too thick as the most common problem in downloaded models.

  7. Record the passing value with the printer, nozzle, filament brand and colour. Repeat the test with a new spool or another filament.

If none of the five passes from above, check the calibration steps again before widening the range. If two neighbouring steps pass, take the one that comes off more easily. Stop pressing if the plastic turns white at the studs; that is a sign of overload, explained in white stress marks.

Worked example (hypothetical)

A printer with PLA produces these results. The measured values are invented to show the method.

Stud test series on one printer

Hypothetical figures for a printer that prints studs 0.04 mm small. Replace them with your own calliper readings and observations.
stud_rescaleStud in the modelStud measuredOn a genuine brick
0.984.70 mm4.66 mmfalls off when turned over
0.994.75 mm4.71 mmslides off with a gentle shake
1.004.80 mm4.76 mmholds, but loosely
1.014.85 mm4.81 mmclicks on, holds, comes off by hand
1.024.90 mm4.86 mmgenuine brick hard to remove

This printer prints studs 0.04 mm under the model (4.80 − 4.76). At 1.01 the measured stud is 4.81 mm, just over the published 4.8 mm, and it passes all three checks. So 1.01 goes into the notes for this printer and spool.

A contrasting case: the same printer with a spool of ABS. Shrinkage differs per filament (the dimensional accuracy guide gives published figures), so the PLA value no longer applies. Run the five plates again instead of guessing.

Why scaling the whole model does not work

Scaling also moves the 8 mm grid. A 2 × 4 brick scaled to 101% becomes 32.12 mm long, and its outer studs move from 24.00 to 24.24 mm apart. Each end stud is then 0.12 mm off its genuine position, while each stud grows by only 0.048 mm. Change the stud diameter alone. Rescaling is for scale models, which have their own pitfalls: see scale models without losing details.

Is printing cheaper than buying?

Not necessarily, once you count your time. Prusa worked it out in 2020 for 20 grey 1 × 8 bricks. In the official LEGO® shop they cost 5.40 US dollars before shipping. Printed in PLA, they took about 80 g of filament and 13 hours, for under 2.50 dollars of material. Add your time for preparation, brim removal and any smoothing. Prusa's best results came from railway track parts that join the LEGO® City range: few studs have to clutch there, so accuracy matters less.

Limits: what a filament printer does poorly

  • Tiny parts. Prusa advises against filament printing minifigure hands and large numbers of 1 × 1 plates: they are fragile and finishing takes too long. Prusa suggests a resin printer for those.

  • Young children. Prusa notes that its PLA bricks connect well but need more force than small children may have. Children should never put printed parts in their mouths.

  • Surface. Layer lines remain visible and can affect the fit. Vapour smoothing helps for ABS and ASA, but too long an exposure deforms the part (Prusa).

Trademark and selling: what you may and may not do

This is general information, not legal advice.

  • The name and logo. The LEGO Group's Fair Play guidelines say the logo may never be used on an unofficial website. The name may be used non-commercially to refer to its products, as an adjective ("LEGO® bricks"), in the same typeface as the surrounding text, with ® each time, never in an internet address, and with a disclaimer. Our advice: keep the name and logo off bricks, packaging and shop listings.

  • Stating compatibility when you sell. The guidelines cover non-commercial use only. How you may describe compatibility on a product or listing is a question for a trade mark adviser.

  • The brick shape. On 14 September 2010 the EU Court of Justice ruled that the shape of the brick cannot be registered as a Community trade mark (now called an EU trade mark), because that shape is needed to obtain a technical result (case C-48/09 P). The Court added that copies can still be assessed under unfair-competition rules. The ruling concerns that brick shape only; figures and other elements can be protected in other ways.

  • Other people's files. A downloaded model has its own licence. Check whether you may print, change or sell it.

  • Selling to children. All toys sold in the EU must carry a CE marking (European Commission).

LEGO® is a trademark of the LEGO Group of companies, which does not sponsor, authorise or endorse this site.

For a fit with any other part, 3D printing tolerances and clearance explains how to calculate and test clearance. If parts measure wrong in general, start with calibrate dimensional accuracy before testing bricks. Building a model at a smaller scale to place among bricks? Scale models without losing details shows which details survive.