Engraving from 1752 showing an outdoor scene projected upside down in a camera obscura.

Pinhole camera history, from its origins to photography

Written by Éric Marais

The history of the pinhole camera falls into four stages: the camera obscura was observed in Antiquity, explained by Ibn al-Haytham around the year 1000, became a drawing tool in the Renaissance, then a photographic camera in the 19th century, with the first pinhole photographs by David Brewster around 1850. Before the lens, before film, before any camera at all, there was a hole and a camera obscura.

The pinhole camera has no single inventor. Its principle was observed as early as Antiquity, analysed by Ibn al-Haytham around the year 1000, popularised in the Renaissance by Giambattista della Porta in his Natural Magic of 1558, then named camera obscura by Johannes Kepler in 1604. The word pinhole and the first pinhole photographs go back to the Scottish physicist David Brewster, around 1850.

Date Figure Contribution
5th century BCE Mozi, in China Said to have described the inverted image and the path of the rays
Antiquity Aristotle, in Greece Wonders about light passing through an opening
Around the year 1000 Ibn al-Haytham (Alhazen) Explains why the image is inverted
1558 Giambattista della Porta Popularises the camera obscura in his Natural Magic
1604 Johannes Kepler Names it camera obscura
1827 Nicéphore Niépce Oldest surviving photograph taken with a camera obscura
Around 1850 David Brewster First pinhole photographs, the word pinhole

This page answers a precise question: how did the principle of the pinhole camera travel from ancient observation to the oldest surviving photograph?

This history often mixes up two things that need to be kept apart. On one side, the optical phenomenon, the image that forms at the back of an enclosure pierced with a small hole, known for a very long time. On the other, the ability to fix this image on a sensitive surface, which arrived only very late.

This page gives the overview and places each stage, and for the details of each figure it points to the dedicated articles. The principle of the pinhole camera, for its part, has not changed since Antiquity: a closed enclosure pierced with a tiny hole that projects the image of the outside world.

The camera obscura, observed since Antiquity

It all starts with an observation. When daylight enters a dark room through a small opening, it draws an upside-down image of what is outside on the opposite wall. The phenomenon exists without anyone creating it, and all it takes is to notice it.

Several ancient sources bear witness to it. In China, the philosopher Mozi is said to have described this inverted image and the path of the rays as early as the 5th century BCE, while in Greece texts attributed to Aristotle wonder about the shape of light passing through an opening. Here we find the seed of what would later be called the camera obscura, the dark chamber, of which the pinhole camera is the direct heir.

At this stage, there is no question of photography or of a camera. People look at a projected image, are surprised that it is upside down, and this reasoning about the path of the rays would find its first rigorous formulation several centuries later.

Camera obscura diagram: an upside-down image projected through a small hole onto the wall of a dark room

Alhazen and the first scientific description

The turning point came with the Arab scholar Ibn al-Haytham, known in the West as Alhazen, active around the year one thousand. In his great treatise on optics, he studies the formation of images in a camera obscura with new precision and explains why the image is inverted as it passes through the hole.

His contribution changes the nature of the subject. Before him, people observed the phenomenon; after him, it is understood and demonstrated. This scientific description makes Alhazen a central figure in the history of the pinhole camera, and the scholars of the following centuries would build on his work.

It remains to separate his real contribution, his treatise and what can be attributed to him with certainty.

Optics plate from 1572 illustrating direct, reflected and refracted rays.

Plate from the Opticae thesaurus of Alhazen and Witelo, edited by Friedrich Risner, 1572. ETH-Bibliothek Zürich, Rar 9065. Public domain.

The camera obscura as a drawing tool in the Renaissance

From the Renaissance onwards, the camera obscura moved beyond the realm of study alone to become a practical instrument. Leonardo da Vinci described it in his notebooks, and over the decades a lens and then a mirror were added to the simple hole, making the image brighter and sharper.

The use that then took hold was drawing. The camera obscura projects the scene onto a surface where the artist can follow the outlines in pencil and get accurate perspective without calculation. The use of this method by certain painters has long been debated, and the name of Vermeer often comes up in this discussion, without any firm conclusion being possible.

This is an important stage because it prepares what follows. The camera obscura is now an adjusted, portable object, able to give a fine image, and only one thing is missing to move on to the next stage: a way of keeping this image instead of copying it by hand.

The birth of photography in the 19th century

The decisive leap came in the 19th century, when researchers finally managed to fix the projected image using light-sensitive surfaces. This is when photography in the proper sense was born, that is, the image recorded and preserved rather than looked at and then lost.

In France, Nicéphore Niépce succeeded in 1827 in making what is considered the oldest surviving photograph taken with a camera obscura, the famous View from the Window at Le Gras.

Further reading:

The lens eventually replaced the hole because it lets in far more light: at f/8, it receives about 600 times more than a pinhole at around f/200. Exposure times therefore shrank, which paved the way for the portrait and then the snapshot.

The rise of pinhole photography

Once photography was established with its lenses, you might have thought the simple hole was outdated for good. The opposite happened, because towards the end of the 19th century pinhole photography in the strict sense enjoyed a clear rise, and practitioners deliberately explored this lensless look for its own qualities.

The process was no longer a technical necessity; it became an aesthetic choice, and its soft blur, its almost infinite depth of field and its long exposures appealed to those looking for another way of photographing, far from the race for sharpness.

It is this same tradition that continues today, in workshops and with beginner kits such as the Sténoflex, where you repeat by hand the founding gesture of all photography. To understand what the hole offers compared with a modern camera, see the comparison in the article on pinhole cameras versus digital cameras.

Pinhole photograph with a soft blur and infinite depth of field, long exposure

The pinhole camera timeline in brief

Four moments are enough to follow the thread of this history, from observation to artistic process.

  • Antiquity. The camera obscura is observed in China and Greece; people notice the inverted image without trying to fix it.
  • Around the year one thousand. Alhazen gives the first rigorous scientific description of it.
  • Renaissance. The camera obscura becomes a drawing tool, fitted with lenses and mirrors.
  • 19th century. The image is finally fixed thanks to the first photographic processes, photography is born, then pinhole photography asserts itself as an aesthetic choice.

The thread stays the same from start to finish: a black box and a tiny hole. What changes is our ability to understand, then to keep, the image they draw, and that is the whole journey separating ancient wonder from the first print on paper.

Éric Marais — Photographer, author of two books on pinhole photography (published by Pearson) and creator of the Sténoflex. Since the very beginning, he has run introductory workshops in pinhole photography and analogue developing.

View from the Window at Le Gras, heliograph by Nicéphore Niépce, 1827

Joseph Nicéphore Niépce, View from the Window at Le Gras, heliograph, 1827. Harry Ransom Center, University of Texas at Austin. Public domain.