Raspberry Pi Mounting Hole Template for Printing


Most of the later Raspberry Pi models have mounting holes. These give users some extra options when it comes to mounting the Pi and depending on the design the Pi will have either two or four holes. I have created a Raspberry Pi mounting hole 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. This template is the quickest and easiest way to put holes in the right place, first time.

Mounting Hole Template Compatibility

The template supports the following Pi models :

  • Original Model A and Model B
  • A+,B+
  • Pi 2 Model B
  • Pi 3 Model B and Pi 3 Model B+
  • Pi Zero
  • Pi Zero W
  • Camera module

Download Mounting Hole Template

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

Raspberry Pi Mounting Hole Template

Raspberry Pi Mounting Hole Template (A4)

Printing the Template

Ideally the template should be printed on a laser printer as they tend to be more accurate but an inkjet will work as well.

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. If it does not measure 30x30mm after printing the templates will be the wrong size.

Always double-check the spacing of the template marks before drilling or cutting anything. Measure twice cut once!

Raspberry Pi Hole Sizes

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.

Care should be used to avoid putting the PCB under unnecessary stress especially if using metal fixings.

Direct Mounting Hole Template Links

Finally here are direct links to the A4 and US Letter versions of this 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.

  4. Hi,
    Thank you very much for taking the time to post this template. I found it very useful for a project I am building.

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.