Metric Screws for 3D Printers: M3, M4 & M5 Hardware Guide
Building, fixing or upgrading a 3D printer? Almost every hobby printer is held together with a handful of metric sizes, mostly M3, M4 and M5. Here's what goes where, which head styles to use and what tools you need. Know the exact size already? Use the Part Finder.
Common Screw Sizes on 3D Printers
| Size | Where It's Usually Used |
|---|---|
| M2 / M2.5 | Small circuit boards, endstop switches, sensors and tiny brackets |
| M3 | The most common size: fans, hotend and extruder parts, stepper motors, printed brackets, belt clamps |
| M4 | Heavier brackets, some frame parts and power supply mounts |
| M5 | Aluminum extrusion frames (2020, 2040 and similar), wheels and idlers |
Always check your printer's manual or parts list for exact sizes and lengths. Printers differ, and a screw that's too long can hit a motor, a board or a moving part.
Which Head Style to Use
- Socket head cap screws are the standard on most printers. The tall head takes a lot of torque and an Allen key won't strip it easily. Shop socket cap screws.
- Button head screws have a low, rounded head for tight spots, covers and anywhere a tall head would get in the way. Shop button head screws.
- Flat head screws sit flush in a countersunk hole, handy for beds, panels and anything that needs a smooth surface. Shop flat head screws.
- Set screws lock pulleys and gears onto motor shafts. Shop set screws.
Nuts, Washers and Small Parts
- Hex nuts drop into nut traps in printed parts. Shop hex nuts.
- Nylon insert lock nuts won't vibrate loose, which matters on a machine that shakes for hours. Shop nylon insert lock nuts.
- Flat washers spread the load so screws don't crack or sink into plastic parts. Shop flat washers.
- Dowel pins work as small axles and alignment pins. Shop dowel pins.
Allen Key and Wrench Sizes
| Screw Size | Socket Cap (Allen Key) | Button Head (Allen Key) | Hex Nut (Wrench) |
|---|---|---|---|
| M2.5 | 2 mm | 1.5 mm | 5 mm |
| M3 | 2.5 mm | 2 mm | 5.5 mm |
| M4 | 3 mm | 2.5 mm | 7 mm |
| M5 | 4 mm | 3 mm | 8 mm |
Tips for Printed Parts
- Don't overtighten. Printed plastic cracks easily. Snug is enough, and a nylon insert lock nut keeps it there.
- Measure length under the head (overall length for flat heads), then add the thickness of the nut and a washer if you're using them.
- Black oxide vs. stainless: black oxide alloy screws are strong and look clean but aren't corrosion resistant. In a damp garage or shop, stainless steel is the safer pick.
- Not sure of a thread? See our Metric Bolt Size Chart for how to measure diameter and pitch.
Find Your Part
Use the Part Finder to pick the part type, size and length. We sell by the piece, the pack or the bulk box, so you can grab a few spares or stock up for your next build. Free shipping on orders over $25.
Questions? Contact us. We're a fifth-generation fastener family and happy to help.

