Hampton Court Maze is a hedge maze planted some time between 1689 and 1695 by George London and Henry Wise for William III of Orange at Hampton Court Palace. The maze covers a third of an acre and contains half a mile of paths. It is possible that the current design replaced an earlier maze planted for Cardinal Thomas Wolsey. It was originally planted with hornbeam, although it has been repaired using many different types of hedge.
The maze is in 60 acres (0.2 km2) of riverside gardens. It has been described by many authors, including Defoe, and the humorist Jerome K. Jerome, who wrote in Three Men in a Boat:
Jerome exaggerates the hazards of the maze. The maze has relatively few places at which the path forks and at all but one fork (in Jerome's time) the wrong choice led to a dead end at the end of a short corridor. There are many larger and more elaborate mazes nowadays. Recently, three new forking places (not shown on the plan displayed just outside the entrance) have introduced more possibilities of walking closed loops within the maze. The maze can still, as Harris stated, be threaded from entrance to centre and back by the method of always remaining in contact with the wall on one's right. This method guides the traveller into (and then out of) some dead ends and is thus not the shortest path. Topologically, this is a depth first search algorithm.
In 2006, arts group Greyworld were commissioned to create a permanent artwork for the maze. Their installation, a sound work triggered by hidden sensors embedded in the maze walls, is titled Trace. The maze has also been mentioned in Carol Shields' 'Larry's Party'.