Skip to content

Guide, in Harry Potter spells

Hogwarts Classes: Every Subject, Teacher and Exam in the Books

Written by Sukie, updated

In short

Hogwarts classes start with seven core subjects in first year (Transfiguration, Charms, Potions, Defence Against the Dark Arts, Herbology, History of Magic, Astronomy) plus flying. Electives begin in third year; O.W.L.s come in fifth year and N.E.W.T.s in seventh.

Which Hogwarts classes do students actually take, and who teaches them? The books answer this in pieces spread across seven years: a first-week timetable in Philosopher's Stone, an elective choice in Chamber of Secrets, exam results in Half-Blood Prince. This guide puts those pieces in one place, with the chapter for each fact.

Two things make it trickier than it looks. Teachers change, especially in Defence Against the Dark Arts, which has a new teacher every single year. And the films add or drop details, so everything here comes from the books unless it says otherwise.

Every subject at a glance

The table covers every subject or course the books name, when students start it, and every teacher who takes it during Harry's time. Where a teacher's name comes only from the Harry Potter Wiki's chapter references and was not cross-checked, the table says so.

The books show what several of these classes involve. In Charms, the first-years' first big task is making a feather float with Wingardium Leviosa (Philosopher's Stone, chapter 10). Herbology starts in the greenhouses, where second-years repot Mandrakes wearing earmuffs (Chamber of Secrets, chapter 6). History of Magic is where Professor Binns tells the founding story of the school and the legend of the Chamber of Secrets (Chamber of Secrets, chapter 9). Care of Magical Creatures begins with Buckbeak the Hippogriff in Hagrid's very first lesson (Prisoner of Azkaban, chapter 6), and Astronomy lessons take place at night.

Rows of old leather-bound books on two-storey shelves in the barrel-vaulted Long Room
The Long Room of the Old Library at Trinity College Dublin, lined with old leather-bound books. First-years arrive with a list of set books (Philosopher's Stone, chapter 5). Diliff, Wikimedia Commons. CC BY-SA 4.0, via Wikimedia Commons
SubjectCore or electiveFromTeachers in the books
TransfigurationCoreYear 1McGonagall (PS ch.8)
CharmsCoreYear 1Flitwick (PS ch.8)
PotionsCoreYear 1Snape (PS ch.8), then Slughorn from year 6 (HBP ch.8)
Defence Against the Dark ArtsCoreYear 1A new teacher every year; see the timeline below
HerbologyCoreYear 1Sprout (PS ch.8)
History of MagicCoreYear 1Binns, a ghost (PS ch.8)
AstronomyCore, at nightYear 1Sinistra (CoS ch.11, wiki reference only)
FlyingFirst years onlyYear 1Madam Hooch (PS ch.9)
Care of Magical CreaturesElectiveYear 3Hagrid (PoA ch.5); Grubbly-Plank as substitute (GoF ch.24, OotP ch.13)
DivinationElectiveYear 3Trelawney (PoA ch.6); also Firenze from OotP ch.27
ArithmancyElectiveYear 3Vector (PoA ch.12, wiki reference only)
Muggle StudiesElectiveYear 3Charity Burbage, then Alecto Carrow (DH ch.12)
Ancient RunesElectiveYear 3No teacher named in the books
ApparitionOptional paid courseYear 6, age 17Wilkie Twycross of the Ministry (HBP ch.18)
Hogwarts subjects in the books: type, starting year and teachers over the series (book and chapter)

What does a first-year week look like?

Philosopher's Stone, chapter 8 gives the clearest picture of an ordinary Hogwarts week, seen through Harry's first days at school. It is not a full timetable with times and rooms, but the fixed points are all there, and the next chapter adds the first flying lesson.

  • Astronomy every Wednesday at midnight: studying the night sky through telescopes, learning the names of the stars and how the planets move (chapter 8).
  • Herbology three times a week, in the greenhouses behind the castle with Professor Sprout, learning to look after strange plants and fungi and what each is used for (chapter 8).
  • Double Potions with the Slytherins on Friday morning, which is where Harry meets Snape's teaching for the first time (chapter 8).
  • Friday afternoons free: Hagrid's note to Harry mentions it when he invites him down to his hut for tea (chapter 8).
  • The first flying lesson on a Thursday, again with the Slytherins, on the grounds with twenty brooms laid out in lines (chapter 9).

Choosing electives in second year

Over the Easter holidays of second year, students pick the extra subjects they will start in third year (Chamber of Secrets, chapter 14). The choices are Arithmancy, Care of Magical Creatures, Divination, Muggle Studies and Ancient Runes. Harry and Ron pick Divination and Care of Magical Creatures.

Hermione signs up for everything. Since several classes happen at the same time, she secretly uses a Time-Turner to be in two places at once, which is only explained near the end of Prisoner of Azkaban (chapter 21).

Two Hogwarts classes are not on any timetable. Flying lessons are a first-year course with Madam Hooch (Philosopher's Stone, chapter 9). The other is Apparition, a paid course in sixth year, which has its own section further down this page.

Defence Against the Dark Arts: a new teacher every year

No subject goes through teachers like Defence Against the Dark Arts. Seven years, seven teachers, and none of them lasts. In Half-Blood Prince, chapter 20, Dumbledore links the yearly turnover to Voldemort being turned down for the job. In Harry's last year the subject is renamed, as the Carrows turn it into straightforward Dark Arts.

The quality swings wildly. Lockhart lets a cage of Cornish pixies loose in his first lesson (Chamber of Secrets, chapter 6). Lupin's third-year course is the one students remember: a Boggart in a staff-room wardrobe, then Grindylows, Red Caps, Kappas and Hinkypunks (Prisoner of Azkaban, chapters 7 to 10). Two years later, Umbridge's refusal to teach any practical magic is what pushes the students to form Dumbledore's Army, where Harry teaches them himself.

Defence Against the Dark Arts teachers, year by year

  1. Year 1

    Professor Quirrell

    Secretly working for Voldemort

  2. Year 2

    Gilderoy Lockhart

    A celebrity author with little real skill

  3. Year 3

    Remus Lupin

    Teaches the Patronus Charm; leaves after he is revealed as a werewolf

  4. Year 4

    Barty Crouch Jr

    Disguised as Mad-Eye Moody all year (revealed in GoF ch.35)

  5. Year 5

    Dolores Umbridge

    Ministry-approved theory with no practical magic

  6. Year 6

    Severus Snape

    Finally gets the post; Slughorn takes over Potions

  7. Year 7

    Amycus Carrow

    The subject becomes simply "Dark Arts"

From the books: PS ch.5; CoS ch.4; PoA ch.5; GoF ch.35; OotP ch.11; HBP ch.8; DH ch.12. Located through the Harry Potter Wiki's book references, read 3 December 2026. Diagram: Wizards Play.

O.W.L. exams and grades

O.W.L.s are the big exams at the end of fifth year (Order of the Phoenix, chapter 31). Each subject is graded on a six-step scale, explained in chapter 15. Three grades pass and three fail, and the lowest fail has the most memorable name.

Results arrive over the summer holidays. Harry's come in Half-Blood Prince, chapter 5: seven passes, one Outstanding, five Exceeds Expectations and one Acceptable, with fails in Divination and History of Magic. For comparison, Percy and Bill Weasley each earned twelve O.W.L.s (Chamber of Secrets, chapter 4), which means a pass in every subject on offer.

The pressure is real, because O.W.L. results decide which subjects a student can carry on with in sixth year, and so which careers stay open. That is why the careers meeting described below comes a few weeks before the exams, not after them.

GradeLetterPass or fail
OutstandingOPass
Exceeds ExpectationsEPass
AcceptableAPass
PoorPFail
DreadfulDFail
TrollTFail
O.W.L. grades as given in Order of the Phoenix, chapter 15

Theory in the morning, practical in the afternoon

The O.W.L.s run over two weeks at the end of fifth year (Order of the Phoenix, chapter 31). Most subjects have two parts: a written theory paper in the morning and a practical exam in the afternoon, where students are called in one at a time to perform in front of an examiner. Astronomy turns that round, with its practical held late at night under the open sky.

The examiners come from outside the school. Griselda Marchbanks, who once examined a young Dumbledore in his own N.E.W.T.s, and Professor Tofty run the practicals Harry sits, and the written papers are done with quills charmed against cheating. The table shows the tasks the book actually describes; subjects Harry did not take, or papers the book skips, are marked as not described.

SubjectWritten paperPractical exam
CharmsLevitation and Cheering Charms; the counter-charm for hiccoughsMake an egg cup turn cartwheels; Levitation, Colour Change and Growth Charms
TransfigurationDefine a Switching SpellA Vanishing Spell
Defence Against the Dark ArtsNot describedCounter-jinxes and defensive spells, a Boggart, and a Patronus for a bonus point
Care of Magical CreaturesNot describedSpot a Knarl among a dozen hedgehogs, handle a Bowtruckle, feed and clean out a fire crab, choose a sick unicorn's diet
AstronomyQuestions on Jupiter's moonsFill in a blank star chart from the night sky
DivinationNot describedCrystal ball, tea leaves and palm reading
Ancient RunesTranslating runes (Hermione's paper)Not described
O.W.L. tasks described in Order of the Phoenix, chapter 31 (chapter located through the Harry Potter Wiki's book references, read 3 December 2026)

Careers advice in fifth year

Before the exams, every fifth-year has a short meeting with their Head of House about what they want to do after school, in the first week of the summer term (Order of the Phoenix, chapter 29). Leaflets about wizarding careers arrive over the Easter holidays. The point is practical: the job a student wants decides which N.E.W.T.s they need, and so which O.W.L. grades they have to get.

Harry tells McGonagall he wants to be an Auror. She explains that the Auror Office asks for at least five N.E.W.T.s, nothing below Exceeds Expectations, followed by a demanding series of character and aptitude tests, and that no new Auror has been taken on in the past three years. Umbridge sits in and keeps interrupting, and the meeting ends with McGonagall promising to help Harry get there even if she has to coach him every night.

N.E.W.T. classes in sixth and seventh year

After the O.W.L.s, students narrow down to the subjects they need for the career they want. To continue a subject at N.E.W.T. level, students usually need an E or better (Order of the Phoenix, chapter 29), and teachers can set a higher bar. Snape only accepted students with an Outstanding into N.E.W.T. Potions, which would have shut Harry out with his E. When Slughorn takes over Potions he lets in students with an E, so Harry is back in the class (Half-Blood Prince, chapter 9).

Other teachers hold the line too. McGonagall turns Neville away from N.E.W.T. Transfiguration because his O.W.L. grade is only Acceptable (Half-Blood Prince, chapter 9), so the bar is not a formality. For students, that makes fifth year the point where the shape of their later Hogwarts classes, and their careers, gets decided.

The lessons change in style as well as difficulty. From sixth year, teachers expect nonverbal spells, cast without saying the incantation aloud, and many students struggle with them at first (Half-Blood Prince, chapter 9).

In sixth year Harry takes five subjects: Charms, Defence Against the Dark Arts, Herbology, Potions and Transfiguration. The sixth-year timetables are handed out in the same chapter. The N.E.W.T. exams themselves come at the end of seventh year, though Harry, Ron and Hermione leave before taking them.

Apparition lessons and the three Ds

Apparition is the only Hogwarts course with a fee. In sixth year a notice offers a twelve-week course costing twelve Galleons, open to students who are 17 or will turn 17 by 31 August (Half-Blood Prince, chapter 17). The lessons begin on a Saturday in February in the Great Hall, run by a Ministry instructor, Wilkie Twycross (chapter 18).

Twycross teaches the three Ds: Destination, Determination and Deliberation. Students fix their mind on where they want to be, commit fully to getting there, and move without hurrying. Getting it wrong has its own name, splinching, and in the first lesson Susan Bones leaves a leg behind until the Heads of House put her back together (chapter 18).

The course ends in a Ministry test. Later in the book Hermione passes first time, while Ron fails for leaving half an eyebrow behind, and Harry is still too young to sit it. So Apparition sits outside the normal pattern of Hogwarts classes: optional, paid for, taught by an outsider and examined by the Ministry rather than by O.W.L. or N.E.W.T.

Teachers who changed, and why

Apart from Defence, most Hogwarts classes keep the same teacher for years, which makes the few changes stand out. They are worth knowing, because many lists of Hogwarts classes give one teacher per subject and leave the rest out.

  • History of Magic: Professor Binns once fell asleep in the staff room and got up the next morning as a ghost, and simply carried on teaching (Philosopher's Stone, chapter 8).
  • Care of Magical Creatures: Professor Kettleburn retires, and Dumbledore announces Hagrid as the new teacher at the start-of-term feast (Prisoner of Azkaban, chapter 5). Professor Grubbly-Plank covers when Hagrid is away (Goblet of Fire, chapter 24; Order of the Phoenix, chapter 13).
  • Divination: after Umbridge sacks Trelawney, Dumbledore brings in the centaur Firenze to teach the subject (Order of the Phoenix, chapter 27).
  • Potions: Slughorn returns from retirement to teach it in Harry's sixth year, and Snape moves to Defence (Half-Blood Prince, chapters 4 and 8).
  • Muggle Studies: Charity Burbage is killed by Voldemort in Deathly Hallows, chapter 1, and Alecto Carrow takes the subject over (chapter 12).

Questions people ask

How many classes are there at Hogwarts?

The books name 14 subjects and courses: seven core subjects from first year, first-year flying lessons, five electives that start in third year, and an optional Apparition course in sixth year. Students do not take them all at once. From third year, students take the core subjects plus the electives they chose.

What classes do first years take at Hogwarts?

In Philosopher's Stone, chapter 8, first-years study Transfiguration, Charms, Potions, Defence Against the Dark Arts, Herbology and History of Magic, plus Astronomy at night. They also have flying lessons with Madam Hooch in chapter 9. Electives only begin in third year, after students choose them in second year.

What were Harry's O.W.L. grades?

Harry passed seven O.W.L.s (Half-Blood Prince, chapter 5): an Outstanding in Defence Against the Dark Arts; Exceeds Expectations in Care of Magical Creatures, Charms, Herbology, Potions and Transfiguration; and Acceptable in Astronomy. He failed Divination with a Poor and History of Magic with a Dreadful.

What grade do you need to take a subject at N.E.W.T. level?

Usually an Exceeds Expectations or better at O.W.L. (Order of the Phoenix, chapter 29), but each teacher can set the bar. Snape demanded an Outstanding for N.E.W.T. Potions, while Slughorn accepted an E (Half-Blood Prince, chapter 9). That change is what lets Harry continue Potions in his sixth year.

Which Hogwarts classes are electives?

Five: Arithmancy, Care of Magical Creatures, Divination, Muggle Studies and Ancient Runes, chosen at Easter in second year and started in third (Chamber of Secrets, chapter 14). Harry and Ron chose Divination and Care of Magical Creatures. Hermione took all of them at once with the help of a Time-Turner.

Which Hogwarts classes are taught to two houses at once?

The books show several. Gryffindor first-years take double Potions with the Slytherins on Fridays (Philosopher's Stone, chapter 8) and share their first flying lesson with them (chapter 9). Second-year Gryffindors and Hufflepuffs repot Mandrakes together in Herbology (Chamber of Secrets, chapter 6), and Hagrid's first Care of Magical Creatures lesson puts Gryffindors and Slytherins together, which is how Draco ends up hurt by Buckbeak (Prisoner of Azkaban, chapter 6).

Sources and further reading

  1. Harry Potter Wiki: Hogwarts subjects (used to locate book chapters)
  2. Harry Potter Wiki: Ordinary Wizarding Level (book chapter refs)
  3. Harry Potter Wiki: Silvanus Kettleburn (book chapter refs)
  4. Harry Potter Wiki: Cuthbert Binns (book chapter refs)
  5. Wizarding World: Harry Potter 101, the subjects (2024)
  6. Harry Potter Wiki: Careers Advice (book chapter refs)
  7. Harry Potter Wiki: Apparition (book chapter refs)
  8. Harry Potter Wiki: Hogwarts timetable (book chapter refs)

Read next

This page is part of Harry Potter spells. Take the free Harry Potter house quiz on the Wizards Play home page, then sort your friends into the same room.

Sukie, editor of Wizards Play

Written by Sukie · Editor

Sukie is the editor of Wizards Play and writes its quizzes and guides. Every question is written for this site, every result explains how it was scored, and every fact is checked against the Harry Potter books and J.K. Rowling's official Wizarding World writing before it goes live. Sukie keeps the pages up to date as new official details, such as the HBO series schedule, are announced, and corrects anything readers report.

How pages are checked · Last updated

Wizards Play is an unofficial fan site. It is not affiliated with, endorsed by or connected to J.K. Rowling, Warner Bros. Entertainment, Wizarding World Digital, HBO or Bloomsbury. Harry Potter names and characters are trademarks of their owners and are used here only to describe what our original fan quizzes are about. No official artwork, logos or crests are used.