The idea for The Twilight Series came to Stephanie Meyer in a dream that featured a human girl and a vampire falling in love. She wrote chapter 13 of Twilight based on the dream, and then wrote the rest of the first book.