Time travel books can fit into the genres of science fiction, fantasy, and mystery depending on the extent to which time travel features in the story.