Harry Potter does several things at once: a school story, a magic system, a friendship, a seven-book mystery, and a world big enough to live in. Most readers love one or two of those more than the others. Start there.
If you loved the school
Nevermoor by Jessica Townsend — a girl who is cursed to die young is rescued into a magical city and a society with trials to pass. The closest in warmth and humour, aimed at younger readers but read happily by adults.
A Deadly Education by Naomi Novik — a magic school that is actively trying to kill its students, and a narrator with a very sharp tongue. For teens and adults who want the school setting with higher stakes.
The Magicians by Lev Grossman — a magic university for adults, written as a deliberate answer to the question "what would this be like if it were not a children's book?" Darker, often sad, and not for everyone, but it is for readers who grew up with Hogwarts and want to see it argued with.
If what you liked was the atmosphere of old buildings, secrets and clever students rather than the magic itself, look at dark academia, which is that mood without the wands.
If you loved the magic and the world
His Dark Materials by Philip Pullman — a girl, her animal companion, and a multiverse that gets larger and more ambitious with each book. Suitable for older children upward and rewarding to reread as an adult.
A Wizard of Earthsea by Ursula K. Le Guin — a boy with too much talent at a school for wizards, decades before Hogwarts. Short, quiet, and the place many fantasy writers say they started.
Mistborn: The Final Empire by Brandon Sanderson — a magic system with clear rules and a heist plot. For readers who enjoyed working out how spells worked.
Jonathan Strange & Mr Norrell by Susanna Clarke — English magic returning in the age of Napoleon, told with footnotes and dry wit. Long and slow in the best way; for adults who want to sink into something.
If you loved the friendship
Percy Jackson and the Lightning Thief by Rick Riordan — three friends, a summer camp for the children of Greek gods, and a lot of jokes. The obvious next series for younger readers, with a whole shelf of follow-ups if it lands.
Six of Crows by Leigh Bardugo — a crew of teenage criminals pulling an impossible job, with the group dynamic at the centre. For teens and adults who loved Ron, Hermione and Harry arguing more than anything else. The idea of a chosen group of misfits has its own name: found family.
If you loved the mystery
Each Harry Potter book is a puzzle with a reveal at the end, and that structure is mystery-novel structure. Readers who loved working out who was behind it often enjoy a straight detective story more than another fantasy. Agatha Christie is the natural next step — short, fair-play puzzles with famous endings; thrillers and mysteries for beginners has more starting points.
If you loved the length
Part of the pleasure was simply living in one world for seven books. For that, pick a long series and accept that the first book is an investment. Sanderson's Mistborn and Pullman's trilogy both work. Be careful with unfinished series: The Name of the Wind by Patrick Rothfuss is loved by many Harry Potter readers, but the third book has not been published, which some find frustrating. Tips for staying with a long run without burning out are in how to finish a long book series.
Something lighter in between
Howl's Moving Castle by Diana Wynne Jones — a cursed young woman, a vain wizard and a walking castle. Funny, strange and short, and a good palate cleanser if you just finished all seven books in a fortnight.
Not every pick here will suit everyone. The reliable method is to read the first chapter of two or three before committing, and to drop one without guilt if it does not hold you. A post-series slump is normal; if it lasts, what to read after a favourite book covers it.
Or read what people are writing now
Many people who loved Harry Potter as children went on to write their own fantasy, often starting with fanfiction. Reading new fantasy chapter by chapter, as it is written, is a different pleasure from a finished series — closer to waiting for the next book in the summer.
We make Arwy, where writers publish books chapter by chapter and readers comment, build public libraries and talk about books in chat rooms. It is on Android and in the browser; there is no iOS app yet.
Finished a series and looking for the next one? Ask people who just read it. Arwy is on Google Play.