How to Make a Pinhole Camera with a DSLR Body Cap

How to Make a Pinhole Camera with a DSLR Body Cap


Pinhole photography is a lensless form of photography. Essentially, the pinhole camera is a lightproof box with a tiny aperture and a photosensitive material positioned inside. Light passes through the aperture and projects an inverted image onto the interior of the box where the photosensitive material is fixed. You can make a pinhole camera out of practically anything, and the results are unique and often surprising.


Analog ideas in a digital world

Modifying your DSLR camera’s body cap to create a pinhole effect is a simple project that allows for real-time adjustments that the analog process doesn’t. As long as you can spare a body cap you can do this. The lens emulates the distinctive vignette and softness of a pinhole photograph in a fraction of the time and is great for adding an abstract or surreal quality to an image. While the digital technique isn’t the same as a classic biscuit-tin camera, your home-made lens makes for a dynamic approach to a nostalgic analog process. Plus, the unpredictability of the results adds an interesting twist to your digital practice.


You will need:

  • A DSLR camera
  • One body cap that fits the body of the camera you are going to use
  • One drill and a drill bit
  • A needle
  • Aluminum foil
  • Sticky tape
  • Blu-Tack


Mark out the center of the body cap and make an indent by pressing the tip of the drill bit into the center mark. It’s important to make a hole in the center of the body cap or you won’t get the full effect. Drill a 1/4″ or 6.35mm hole in the center of the cap. Make sure the hole is clear of any swarf (chips) or sharp ridges left behind by the drill.



Cut a small piece of aluminum foil to fit inside the edges of the cap.


Tape the foil onto the inside of the cap, keeping the sheet taut.


To create an outline of the drilled hole, gently press the foil into the body cap with your finger,



Now, have a look at the outline of the drilled hole. With a small sewing needle, prick a tiny hole in the center of the outline.


The smaller the aperture, the sharper the photograph, so use the very tip of the needle to make a hole. Make sure no foil hangs over the newly pricked hole as this could compromise image quality.

Shooting with your pinhole camera

Before attaching the cap onto the camera body, be sure to thoroughly clean the body cap of dust and residue. Keep a bit of Blu-Tack with you to cover the hole when the camera isn’t in use.

The tiny aperture in our pinhole lens allows significantly less light to hit the sensor than a conventional lens, so exposures must be longer to compensate. When I’m out in the field, I set my ISO to 500 so the sensor will be more sensitive to the light that does reach it, without too much digital noise in the image. I also set my camera to aperture priority (A on Nikon and Sony, and Av for Canon and Pentax) so that I can adjust the exposure easily, and the shutter speed will adjust automatically.

In dark, indoor conditions, my shutter speed settings can go as low as 8 seconds. On bright days outdoors I photograph at 1/30 of a second but shutter speeds of up to 1/8000th of a second can be used to photograph bright subjects like the sun. At first, it will feel a bit trial-and-error, but half the fun is in the experimentation and you will quickly get a feel for it. Tripods are handy, but in-camera movement can have some neat results too, so don’t be afraid to experiment.



Also due to the small aperture of the pinhole lens, dust specks are more visible than images taken with a conventional lens. Don’t panic, it’s not the sign of a dirty sensor! Use Photoshop or a similar program to remove spots via the Spot Healing Tool. While you’re at it, give the colors in your image a bit of a boost with the Curves tool to make your images really pop, or convert an image to black and white for a traditional analog feel.


This project is quick, easy and fun, but it also yields fascinating and unexpected results. Much like its analog counterpart, I found that this method requires the user to relax and enjoy the experimental process and hone in on their photographic senses, rather than pouring over the details.

I found that my best images were the ones I took spontaneously, often having to quickly guess the appropriate exposure and shoot from the hip. Also, I was compelled by the new perspective that the combination of camera movement, long exposure, the limited field of view, and minimal technical adjustment delivered. 

Have fun and share your results in the comments below.


This photograph of leafy branches was taken with a 2 second exposure on an overcast day. The soft focus of our modified lens and the moment of the branches lends a painterly quality to the image.






Read more from our Tips & Tutorials category

Megan Kennedy is a photographer and writer based in Canberra, Australia. A lifelong fascination with flight has inspired her photographic practice in documenting the intricate form of aircraft. Megan is also interested in travel photography and documenting human interaction with the modern landscape, through both intentional and incidental intervention. She is well versed in both digital and film practice. Both her writing and photography has been featured in numerous publications.

  • Tim Lowe

    I do a fair amount of pinhole work. Using a needle to puncture foil results in a pinhole of unknown diameter, dubious roundness and ragged edges. It is not hard to come by real pinhole apertures of high quality and accurate dimensions. A whole tube of them costs a few dollars. I use 0.150 and 0.200 mm apertures for 120 film and 0.300mm for 4×5. There are two cell phone aps that are handy to have. The first takes as it’s inputs the focal length, aperture and meter reading at f/22 and gives you exposure time for the f/number of the pinhole setup you specified. The other is a film reciprocity failure calculator because the exposures tend to be quite long.

  • Joaozito Polo

    Hi! Excellent article and amazing effects!
    Can you include a shot with the camera body plus the cover? I’m in doubt if it needs some lens, or if it will be placed directly.

  • Bob Bevan Smith

    There should NOT be a lens. The whole point (excuse the pun) of a pinhole is that it is giving you a very, very small aperture instead of the lens, similar to the old ‘Camera Obscura’ [CS] that artists used in times gone by. You can make your own CS by sticking black plastic over a window and puncturing a small hole in it, and making sure no other light enters the room under doors etc., – you end up with an upside down dynamic image of your outside view on the opposite wall.
    When you make a ‘pinhole’ with the camera body cap, you are effectively simulating a lens with an incredibly tiny aperture, eg f64 or even f256, if you make the pinhole small enough.
    As such, you will need much longer exposures. Use a tripod or stand the camera on a sturdy support, and a cable release is useful.
    The result will generally simulate a wide-angle lens, but you can simulate a telephoto effect by using a toilet roll centre instead of the body cap, securely taped to your camera body, completely covering the place where the lens would be, and sticking the foil with pinhole over the other end.

  • Bob Bevan Smith

    You do not need a DSLR camera – you need a camera that allows you to remove the lens. Exposure times will be long, so Mirrorless cameras are better, with less vibration, and there is no need for the mirror to be locked up.
    Also, the short focal length gives greater apparent distortion, similar to a fisheye lens.

  • Megan Kennedy

    Hi Joaozito! Once you have put a hole in the lens cap, you place it directley on the camera body. Hope that helps 🙂

  • Megan Kennedy

    Thanks Bob!

  • Megan Kennedy

    Thanks Tim!

  • Joaozito Polo

    Thank you!!! I loved the effects, and now I understand and I will try here!

  • Joaozito Polo


  • juliealba

    One yr have passed since I decided to resign from my office work and i couldn’t be happier now… I started working over internet, over a website I found online, for several hrs daily, and I profit now much more than i did on my last job… My check for last month was for 9000 bucks… Superb thing about this gig is the more time i got with my kids…

Join Our Email Newsletter

Thanks for subscribing!

DPS offers a free weekly newsletter with: 
1. new photography tutorials and tips
2. latest photography assignments
3. photo competitions and prizes

Enter your email below to subscribe.
Get DAILY free tips, news and reviews via our RSS feed