Mary Shelley was 18 years old when she began writing “Frankenstein" in 1816 during the summer she spent with Lord Byron and Percy Shelley in Geneva. The novel, which is considered one of the first works of science fiction, was published on January 1, 1818, when she was 20 years old.