Raspberry Pi Mounting Hole Positions and Template


One of the improvements made to later Raspberry Pi designs was was the addition of mounting holes. These give users some extra options when it comes to mounting the Pi. Depending on the design the Pi will have either two or four holes. Care is still required to avoid putting the PCB under unnecessary stress but some holes is better than none.

I’ve created a printable template that can be printed onto paper and used to drill holes in cases or other materials for attaching a Pi to. It also includes the Pi camera module which has four mounting holes.

Here is the PDF template which can be printed out and used in your projects :

Raspberry Pi Mounting Hole Template

Raspberry Pi Mounting Hole Template

Your printer options may attempt to scale or “fit” the design to the paper and this can cause the shapes to be the wrong size. To ensure the items on the paper are the correct size the PDF includes a “calibration square”. When printed it should measure 30x30mm.

The Raspberry Pi holes accept 2.5mm (M2.5) screws or bolts. My local DIY store didn’t sell bolts this small so I ordered some off the internet. I went for plastic bolts as these are light and easy to cut shorter if required.

For the camera module I ordered 2mm bolts.

Direct Template Link : Raspberry Pi Mounting Hole Template



  1. We had no trouble finding suitable mounting screws at Ace Hardware in the U.S. See this week’s Nerd Vittles article in which a Raspberry Pi is mounted inside the desktop stand of Grandstream’s new GXP2200 IP phone.

  2. This is a useful template but a full mech drawing would be more useful. For instance I need to know the coordinates of pin 1 of the GPIO connector.


  3. Why the password on the PDF? The lines are so light, they weren’t showing up when output by my laser printer. I wanted to darken/thicken them in Adobe Illustrator, but it seems that kind of access is restricted.

Leave A Reply