Paolini often found himself daydreaming about dragons when he was riding in the car, when he was taking a shower, when he was supposed to be doing his homework. While he was growing up he captured some of his daydreams on paper, writing poems and short stories that featured dragons and were set in magical places. Paolini did not take a real stab at writing a longer piece until he graduated from high school in 1999, at the age of fifteen. According to Paolini, he did not set out to get published; instead, he viewed writing a book-length work as a kind of personal challenge.
Eragon was written by Christopher Paolini. It was published in 2002.