# NEMA 17 stepper motor

> What are the NEMA 17 mounting dimensions?

- Category: Electronic components › Motors
- Kind: Standard part
- Basis: NEMA ICS 16 frame standard; common vendor values
- Page: https://xemstudio.com/objects/nema-17-stepper/ · JSON: https://xemstudio.com/api/geometry?object=nema-17-stepper · Plain text: https://xemstudio.com/objects/nema-17-stepper/sheet.txt
- License: dimension sheet CC BY 4.0 (Xem Studio); files CC BY 4.0 or their publisher's license
- Use in every chat: add https://xemstudio.com/mcp as a connector (https://xemstudio.com/use-with-ai/)

## Overall (mm)

| width | height |
|---|---|
| 42.3 | 42.3 |

Mounting holes: 4 × Ø3.0 mm, pattern 31 x 31 mm, M3

**Exact dimensions.** Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part.

## Notes

- Face 42.3 × 42.3 mm; four M3 holes on a 31.0 × 31.0 mm pattern; Ø22 mm pilot boss, 2 mm tall; Ø5 mm shaft with a D-flat, typically 20–24 mm long.
- Body length varies by torque (20–60 mm); the face and hole pattern don't.

## Mating features (exact size; open press / slide / run / socket by your process clearance, leave designed and clamp as drawn)

| feature | exact | mates with | fit | files |
|---|---|---|---|---|
| pilot boss | Ø22 × 2 | mount pilot bore | slide | nema17-* |
| shaft | Ø5, D-flat 0.5 deep | coupler or pulley bore | slide | nema17-* |
| mount holes | M3 tapped on 31 | M3 screws (Ø3.4 clearance in the mount) | designed | nema17-* |

## Where the files are

- Wikipedia: [Stepper motor (NEMA frame sizes)](https://en.wikipedia.org/wiki/Stepper_motor) — web — CC BY-SA 4.0 (text)

## Free STEP/STL (3 parts, CC BY 4.0, Xem Studio)

Index: https://xemstudio.com/files/hardware/nema-17-stepper/index.json

- nema17-34: [STEP](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-34.step) · [STL](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-34.stl) — NEMA 17 envelope, 34 mm body, 31 mm M3 pattern, Ø5 D-shaft
- nema17-40: [STEP](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-40.step) · [STL](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-40.stl) — NEMA 17 envelope, 40 mm body, 31 mm M3 pattern, Ø5 D-shaft
- nema17-48: [STEP](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-48.step) · [STL](https://xemstudio.com/files/hardware/nema-17-stepper/nema17-48.stl) — NEMA 17 envelope, 48 mm body, 31 mm M3 pattern, Ø5 D-shaft

## Questions

**What is the NEMA 17 mounting hole pattern?**

Four M3 holes on a 31.0 × 31.0 mm square, 42.3 mm face, Ø22 mm pilot boss 2 mm tall.

**What is the NEMA 17 shaft diameter?**

5 mm with a D-flat, usually 20–24 mm long. Body length 20–60 mm depending on torque; the face never changes.

## Fits with

- [Socket head cap screws, M2–M8 (ISO 4762 / DIN 912)](https://xemstudio.com/objects/socket-head-cap-screws-metric/)
- [608 ball bearing](https://xemstudio.com/objects/608-bearing/)
- [2020 aluminum extrusion, 6 mm slot (20-series)](https://xemstudio.com/objects/2020-aluminum-extrusion/)
