School timetable clashes — the same teacher, room or class in two places
The same teacher, room, or class in two places at once. See the three types of clash, why they only appear on the first day of school, and how to prevent each before it happens.
Try without signing up for up to 8 classes · free account up to 15 classes · no card
Quick answer
A school timetable clash occurs when the same teacher, room, or class appears in two places at once in the timetable — the Math teacher assigned to two classes in the second period, the lab booked for two classes at 10 a.m., or a class with two overlapping class periods. To prevent this, the timetable must be validated at every assignment: before fixing a class period, check whether that teacher, room, and class are already occupied at that time. In a spreadsheet this check does not happen on its own, and the clash only appears on the first day of school. A timetable generator with an optimization engine prevents the clash before it exists, because it blocks these placements as nonnegotiable rules.
Video: I tried to break the timetable and force a teacher clash
Instead of just explaining, I tried to create a teacher clash on purpose in the timetable. The video shows what the Skedavo engine refuses and what it returns as an unassigned lesson.
Duration: 9 min 11 s · demo account · open on YouTube
A timetable clash is not a conflict between people
One confusion needs to end: a timetable clash has nothing to do with arguments, misconduct, or disagreements between teachers. When you search for “school timetable conflict,” half the results discuss conflict mediation and school climate — another subject, another department.
Here, a clash is a technical and combinatorial problem: the same resource overlapping across two commitments in the same time slot. Nobody argued — the timetable simply assigned the impossible, because one body cannot occupy two rooms, a teacher cannot teach two classes simultaneously, and a class cannot attend two subjects at once. It is a placement error, not a relationship issue. And as a placement error, it has a technical solution. This guide is part of our complete school timetable guide.
The three types of timetable clash
Teacher clash — the same teacher in two classes
The classic case. The History teacher is assigned to 6th grade and 7th grade, both in Wednesday's third period. As the timetable grows and the teacher teaches many classes, this becomes the most frequent clash — and the least visible in a spreadsheet, because class A's period and class B's period are on different tabs or columns, and nobody cross-checks them.
Room clash — two classes in the same room
The lab, gym, computer room: unique resources shared by the whole school. Two classes booked into the same lab at 10 a.m. is a classic room and teacher clash — someone will have to give way on the spot, and the planned class becomes improvisation. The fewer specialty rooms a school has, the more frequent the clash.
Class clash — a class with two class periods at once
Less common, but it happens when the timetable is built by teacher without cross-checking classes: 9th grade ends up with Portuguese and Geography in the same slot. A class can only be in one place. This is the type most easily missed by someone building solely around teacher availability.
Why clashes only appear on the first day of school
Here is the root of the pain. In a spreadsheet, the timetable is a static drawing: cells filled with names. The spreadsheet does not know that “Teacher Silva” on Class A's tab at 9 a.m. is the same person as “Teacher Silva” on Class B's tab at 9 a.m. To it, they are two identical texts in different places — and identical text does not trigger an alarm.
The result: the timetable is “ready,” everyone approves, and it is printed and distributed. On the first day, the teacher discovers at the classroom door that two classes are waiting at the same time. Now the repair happens live, in front of students — and moving one piece to solve it usually creates another clash elsewhere in the timetable. That is exactly why the Excel timetable breaks down when a school grows beyond a handful of classes: the spreadsheet reveals the error too late, only after it has already caused damage.
How to tell whether a timetable has clashes (detect them early)
You can detect clashes manually, but it takes discipline and time. The method that works is to perform three cross-checks of the same timetable, each looking for a different clash type:
Check by teacher
For each teacher, go through the whole week and confirm they appear only once per time slot. If their name appears in two classes in the same slot, you have found a teacher clash.
Check by room
List shared rooms and resources (lab, gym, computer room) and check each slot to ensure each is booked for just one class. Two classes in the same space = a room clash.
Check by class
For each class, confirm that every slot has at most one class period. Two subject names in the same cell = a class clash.
These are three complete scans, and they must be repeated after every adjustment — because moving something to resolve one clash can create another. In a small school, it is manageable. In a medium-sized school with many shared teachers, this is where the school office loses a week. That is why the golden rule of a good timetable is to validate at every assignment, not just at the end: whenever you place a class period, check all three resources before fixing it.
How to prevent a clash before it exists
Detection is a remedy. Prevention is better. That is precisely the difference between a spreadsheet and a timetable generator with an optimization engine: the engine does not let the clash happen. “The same teacher in two classes at the same time,” “two classes in the same room,” and “a class with two class periods at once” become hard rules — constraints that cannot be violated. For every class period it tries to place, it validates teacher, room, and class. If the placement creates a clash, it simply rejects it and looks for another. The timetable is born clash-free because the clash was never written into it.
The shortcut: in Skedavo, enter classes, teachers, subjects, and shared resources, and the AI builds the timetable ensuring no teacher, room, or class is in two places at once — without performing the three scans manually. Explore the timetable generator →
A teacher, class and room with no two lessons at the same time are mandatory engine rules. How the generator clears teacher, room and class clashes.
“One teacher changes and the whole timetable breaks”
The cruelest clash does not happen during setup — it happens afterward, midyear. A teacher resigns, changes availability, or starts teaching at another school, and suddenly all their class periods become potential clashes: they either open gaps or collide with classes already placed. In a spreadsheet, this almost always means rebuilding from scratch, because moving one piece displaces ten.
With a generator, the damage is contained: change that teacher's constraint and regenerate only what is affected. What was working stays; the engine repositions only what the change touched. It is the difference between patching one spot and sewing the entire garment again. This clash is also closely related to another problem that causes rework: gaps in a teacher's timetable — the idle time left when you move class periods to escape a clash and leave the teacher waiting between two classes.
Practical example: one Wednesday, eight classes, three clashes
The case below is a timetable-building example, not a real named school. Its purpose is to show clashes in the timetable, not tell a customer story. There are eight morning classes (6th A through 9th B), six periods, and just one lab. The school office finalized Wednesday by looking at each class separately. The timetable “filled up.” Three different clashes slipped through together.
| Period | What was entered | What the cross-check reveals |
|---|---|---|
| 1º | 6th B with Portuguese and, on the same row, History | Class clash: the class cannot attend two class periods at once |
| 2º | Math in 6th A and 7th B, same teacher | Teacher clash: one body, two doors |
| 4º | Lab for 8th A Science and 9th B Chemistry | Room clash: one space, two keys |
None of these three is a “teachers' lounge argument.” They are impossible placements. And each lives in a different part of the spreadsheet: the class clash inside one tab, the teacher clash across two tabs, and the lab clash in a column almost nobody rereads. That is why the person who built it swears they checked. They checked the tab. They did not check the resource.
Wednesday's 3rd, 5th, and 6th periods may be clear. It does not matter. One clash in the 2nd period already prevents publication. A timetable is not “almost ready” when a slot is double-booked: that slot does not exist. The teacher either goes to 6th A or to 7th B. The other class has no teacher, with attendance open and the school office staff in the hallway.
How each check catches a clash — and why order matters
The class check catches 6th B in the 1st period because both subjects are on the same row. It is the easiest clash, yet it still arises when the timetable is built from the teacher's column and classes are only “looked at” at the end. Someone assigning “History needs one more period” puts the name into the first empty cell. The cell was not empty: Portuguese was already there, in a smaller font, or on the row below that printing merged.
The teacher check catches the 2nd period. Here the trap has a name: the same person written in different ways. “Math — Ana,” “Teacher Ana,” and “ANA C.” are three texts. The eye does not add them up. A single list, with one identifier per teacher, is what turns reading into checking. Without it, Ana's Wednesday is correct in every tab and wrong in real life.
The room check catches the 4th period. Science and Chemistry are different subjects, with different teachers and classes. Nothing in 8th A's tab warns that 9th B also booked the lab. The shared resource needs its own column, period by period, with just one class. Lab, gym, computer room, and video room belong on that list. A class's “own” classroom, which is not contested, does not: its clash is the class clash, already checked in the first pass.
The practical order on the Friday when the timetable goes on the noticeboard is this: first the class (a student's timetable cannot have two class periods at once), then the teacher (the person cannot split in two), and finally the specialty room (the space cannot split in two). Reversing the order also works, provided all three checks happen. What does not work is stopping after the first, printing, and discovering the other two on Monday.
The fix that opens another gap
Move 7th B's Math from the 2nd period to the 5th, which was empty. Ana's clash disappears. In its place, two effects appear that the empty cell did not announce. 7th B's 5th period was when Ana would go to the other school — or the block where the school office had reserved non-teaching time. Pushing the class period there violates availability or consumes the 1/3. This second issue is not a timetable clash: it is workload. The calculation is in the workload and non-teaching time guide. Mixing both in the same patch makes the school office feel that “we changed it and made it worse.”
The lab has the same kind of side effect. Moving 9th B's Chemistry to the 6th period frees the 4th. If the Chemistry teacher's 6th period is already in 8th A, you have traded a room clash for a teacher clash. The spreadsheet accepts the swap because they are different tabs. The Excel timetable page explains why a tab's formula does not see the neighboring tab. Here the point is different: fixing one type of clash does not permit creating another. Every move must repeat all three checks, not just the check for the problem that hurt.
There is a third, quieter effect. By moving class periods to “any free slot,” the teacher ends up teaching in the 1st, free in the 2nd, and teaching in the 3rd. That is a gap, not a clash. Students do not notice. Payroll notices, or the teacher notices and asks to leave. Treating gaps as timetable clashes creates the wrong rule: a gap is idle time between class periods; a clash is an overlap. The two interact — escaping a clash creates a gap — but the checks are different.
Checklist before printing
One name per person
Merge “Ana,” “Teacher Ana,” and “ANA C.” before any check. Otherwise, checking by teacher gives a false picture.
One row per period, one class period per class
If the cell has two subjects, it is not a rich offering. It is a class clash. This also applies to an elective placed on top of a regular class period.
List of unique spaces
Lab, gym, computer room, video room. For every period of the week, at most one class. The class's regular classroom does not belong on this list.
Availability written down, not remembered
“She cannot teach Wednesday morning” must be blocked in the timetable, not stored in the builder's memory. A blocked slot is neither a class period nor non-teaching time.
Repeat all three checks after the final adjustment
The final adjustment creates the most clashes because it is made in a rush, on a timetable that “was already good.” Printing waits for this repeat check.
This checklist does not calculate the 1/3, measure gaps, or say whether a spreadsheet is the right tool. It only answers this page's question: is anyone, any class, or any room in two places at the same time? If yes, the timetable cannot be published. If no, workloads may still be wrong or the spreadsheet impossible to maintain — and those are separate guides, deliberately.
Frequently asked questions
What is a timetable clash?
It occurs when the same resource appears in two commitments at once: the same teacher assigned to two classes in the same slot, the same room booked by two classes, or the same class with two overlapping class periods. It is a placement (combinatorial) error, not a disagreement between people — and it has a technical solution.
How do I prevent two teachers in the same room?
Treat each shared room (lab, gym, computer room) as a unique resource that can only host one class per slot, and validate this rule at every class-period assignment. In a spreadsheet, this requires a manual scan by room; a timetable generator with an optimization engine prevents double-booking automatically, because “two classes in the same room” is a rule that cannot be violated.
How do I tell whether the timetable has clashes?
Perform three cross-checks: one by teacher (does each appear once per slot?), one by room (does each shared space have just one class?), and one by class (does each class have at most one class period per slot?). All three must be repeated after every adjustment. A generator performs this check automatically at every placement.
What should I do when a teacher changes and the timetable breaks?
Instead of rebuilding the whole timetable, change that teacher's availability and regenerate only the affected part. In a spreadsheet, this usually means starting from scratch, because moving one class period displaces others; in a generator, the engine repositions only what the change touched and keeps what was already working.
How do I prevent subject and room clashes at the same time?
Use a tool that treats teacher, room, and class as simultaneous hard constraints and validates them at every assignment. Before fixing a class period, the system checks all three at once and only accepts the placement if none is occupied — preventing room and teacher clashes rather than discovering them on the first day of school. See why spreadsheets do not do this.
Why does fixing one clash create another?
Because the seemingly free slot may be committed to another school, non-teaching time, or another class's period on a different tab. Every move must repeat all three checks: class, teacher, and room. A clash is not a gap: a gap is the idle time between class periods, while a clash is an overlap.
Your clash-free timetable, today
Create your free account, enter teachers, classes, and rooms, and watch the optimization engine build a timetable already validated against teacher, room, and class clashes.
Build my timetable freeTry without signing up for up to 8 classes · free account up to 15 classes · no card · made in Brazil · LGPD
Class limits and what each plan unlocks are on the Skedavo pricing page. The generator itself is at generate the school timetable.