Self-insertion is a literary device in which a character who is the real author of a work of fiction appears as a character within that fiction, either overtly or in disguise.
The device should not be confused with a first-person narrator, or an author surrogate, or a character somewhat based on the author, whether intentionally or not. Many characters have been described as unintentional self-insertions, implying that their author is unconsciously using them as an author surrogate.
See also 
External links