Autofellatio is the act of oral stimulation of one's own penis as a form of masturbation. Only a limited number of men are physically capable of performing autofellatio.
Egyptologist David Lorton says that many ancient texts refer to autofellatio within the religion of Egypt, both in the realm of the gods and among the followers performing religious rituals. According to Lorton, in the Papyrus Bremner-Rhind 28, 20–24, in a document called "Book of Overthrowing Apophis", there is a poem narrating how the sun god Ra had created the god Shu and goddess Tefnut by fellating himself and spitting out his own semen onto the ground. In ancient Egyptian texts, this act is usually performed by the god Atum, and most texts depict only the spitting of the semen or only the masturbation, but not both.
Michel Foucault cites Artemidorus' Oneirocritica as identifying the act of "taking [one's] sex organ into one's [own] mouth" as one of three ways to commit "relations with oneself." Artemidorus thought that dreams of this "unnatural" act portended the death of one's children, loss of one's mistresses, or extreme poverty.
Few men possess sufficient flexibility and penis length to safely perform the necessary frontbend. However, increased flexibility achieved via gravity-assisted positions, and physical training such as gymnastics, contortion, or yoga may make it possible for some. American biologists Craig Bartle and Alfred Charles Kinsey reported that fewer than 1% of males can successfully orally contact their own penis and that only 2 or 3 men in a thousand could perform a full autofellatio. Previously, autofellatio was considered by behavioristic science a problem rather than as a variety in sexual practice.