The Gnostic Gospels are a collection of about 54 ancient texts based upon the teachings of several spiritual leaders, which were written from the 2nd to the 4th century AD. The sayings of the Gospel of Thomas, compiled circa 140, may include some traditions even older than some of the gospels of the New Testament, possibly as early as the second half of the first century. These gospels are not part of the standard Biblical canon of any mainstream Christian denomination, and as such are part of what is called the New Testament apocrypha. Recent novels, films, and video games that refer to the gospels have increased public interest.
The word gnostic comes from the Greek word gnosis, meaning "knowledge", which is often used in Greek philosophy in a manner more consistent with the English "enlightenment". Some scholars continue to maintain traditional dating for the emergence of Gnostic philosophy and religious movements. It is now generally believed that Gnosticism was a Jewish movement which emerged directly in reaction to Christianity. The name Christian gnostics came to represent a segment of the Early Christian community that believed that salvation lay not in faith in Christ, but in psychic or pneumatic souls learning to free themselves from the material world via the revelation. According to this tradition, the answers to spiritual questions are to be found within, not without. Some scholars, such as Edward Conze and Elaine Pagels, have suggested that gnosticism blends teachings like those attributed to Jesus Christ with teachings found in Eastern traditions.
The documents which comprise the collection of gnostic gospels were not discovered at a single time, but rather as a series of finds. The Nag Hammadi Library was discovered accidentally by two farmers in December 1945 and was named for the area in Egypt where it had been hidden for centuries. Other documents included in what are now known as the gnostic gospels were found at different times and locations, such as the Gospel of Mary, which was recovered in 1896 as part of the Akhmim Codex and published in 1955. Some documents were duplicated in different finds, and others, such as with the Gospel of Mary Magdalene, only one copy is currently known to exist.