Raspberry Pi Standoff Size

Instead of buying a case for your Raspberry Pi, why not just prop it up on standoffs? For the price of a case you can buy a small pack. You can use one pack to prop up several boards, attach HATS or even stack your boards together. But what type and size do you need?

The holes in a Raspberry Pi are made for M2.5 size screws. I would suggest buying a kit that contains an assortment of female to female and male to female spacers, matching nuts and screws. I’ll list the kits I use below.

Where to Buy

Type of spacers

A good kit should contain at least two types of spacers:

  • female to female spacers - contains threaded holes on each end

You can use four (4) female to female spacers along with four (4) screws to add “legs” to a Raspberry Pi. Put the screws through the holes in the top, and attach that spacers underneath.

  • male to female spacers - one end is in the form of a screw and the other end is a threaded hole

You can use (4) male to female spacers to stack boards together. You would put the male end in the hole through the bottom and screw it into female spacers above.

Nuts and Screws

Be sure to get a kit that also has matching M2.5 nuts and screws. They can be used on either end of the spacers. The nuts can also be used to provide smaller spacing.


What’s a HAT?

HAT - stands for Hardware Attached on Top. Sometimes referred to as Daughter Boards that sit on top of the Raspberry Pi. They usually have holes that match the dimensions of the Pi. That makes it easy to stack them with your Pi using standoffs.


  • Raspberry Pi Mechanical Drawings [1]

About the Author

Mitch Allen has worked for software companies in Silicon Valley, along Boston’s Route 128 and in New York’s Silicon Alley. He currently works for a robotics company in Massachusetts.