There are 26 Dune books in total, according to the most comprehensive sources.
6 books were written by Frank Herbert, the original author, and are considered the core series:
Dune (1965)
Dune Messiah (1969)
Children of Dune (1976)
God Emperor of Dune (1981)
Heretics of Dune (1984)
Chapterhouse: Dune (1985)
The remaining 20 books were written by Brian Herbert (Frank Herbert’s son) and Kevin J. Anderson, continuing and expanding the Dune universe. These include prequels like The Butlerian Jihad trilogy and the Prelude to Dune trilogy, as well as sequels and companion novels.
All 26 books are officially recognized as canon by Herbert Properties LLC, the rights holder.
Hey I'm new to dune (just finished the first book) and i'm kind of confused , I thought it was a trilogy but there's like 7 of them ? Is it the same author still ?
Wait, how many Dune books are there? | Science Fiction and Fantasy World
How many Dune books are there?
6 books written by Frank Herbert, many more written by his son Brian and Kevin J Anderson, but those are quite controversial within the dune fandom for many reasons.
More on reddit.com