Validation errors

How to fix a room clash when a room is booked twice

Two lessons cannot use the same room at the same time unless you deliberately share the space and model it that way.

Juho Isola, Smootables founder

Constraint recipe

A room clash assigns one room to two lessons in the same period. Specialist rooms make the fix harder, because a replacement must match type, capacity, and equipment, not just be free. Before moving anything, check whether one assignment is a duplicated row from an import; a data error and a placement error need different fixes.

Key takeaways

  • One room cannot host two in-person lessons at the same time.
  • A replacement room must match type, size, and equipment.
  • Duplicate source rows can masquerade as scheduling clashes.
  • Fixing the room can create a teacher or class clash; check the receiving slot.

Why room clashes are serious

Two classes cannot occupy the same physical room at once, and the problem is sharpest for labs, kitchens, and workshops, where eligible alternatives are few. Room availability is a primary cause of infeasible timetables, so a clash on a specialist room often signals a supply problem, not a one-off mistake.

Keep preferred rooms out of this. A clash is two lessons claiming the same space simultaneously; a teacher not getting their favorite classroom is a quality preference.

A worked example: two claims on the chemistry lab

Wednesday P3 shows 9A and 7C both assigned to the chemistry lab. 9A runs a practical that needs the fume hood; 7C has a theory lesson that happens to be roomed there. Only one of them actually needs the lab.

Chemistry lab occupancy, before and after

MonTueWedThuFri
P17C
P210B
P39A + 7C
P48A
P510B
P6
  • Two lessons, one room
  • Valid booking
The fix: 9A keeps the lab because the practical cannot run elsewhere; 7C's theory lesson moves to a free standard classroom, after checking that 7C's teacher and the class are free to stay in that period.

Choose which lesson moves by constraint, not by convenience: the lesson that can run in more rooms is the one that moves. A free classroom in the grid can still be the wrong answer if it is too small for the group or lacks required equipment. See restrict rooms by subject for classifying must-have room types before generation, which prevents most of these clashes.

Diagnose before you rebook

What you seeLikely causeFix
The same lesson appears twice with the same roomDuplicated or outdated room assignment in imported dataDelete the duplicate assignment in the source, then revalidate.
Two real lessons claim one specialist roomToo much parallel demand for a scarce room typeMove the less room-bound lesson, or stagger the two groups across the week.
A lesson that needs no room is holding oneA theory or off-site lesson was roomed out of habitRelease the room from the lesson that does not need it.

Rebook without breaking the rest

  1. Identify the two lessons sharing the room and period, and trace both to the source data.
  2. Confirm each lesson's real room needs: type, capacity, and equipment.
  3. List the eligible alternative rooms for the less constrained lesson.
  4. Move it only if its teacher and class are also free in the target arrangement.
  5. Recheck specialist-room rules and revalidate after the move.

Rebooking mistakes

  • Moving a practical into a room without the required equipment
  • Choosing a replacement room that is too small for the group
  • Fixing the room clash while creating a teacher or class clash

In Smootables

Remote lessons do not consume a physical room and are excluded from room clashes.

A room clash means two in-person lessons need the same room at the same time. Generate timetable keeps each physical room unique on the grid. Lessons marked as remote teaching do not reserve a room, so they do not compete for lab or workshop space.

When you move a lesson manually, Conflicts detected flags the other class already in that room and period before the change sticks. Room no-conflict in the post-generation summary confirms the solved timetable respected the rule.

  1. Check room type, capacity, and equipment before moving a lesson to an alternative room.
  2. Remove duplicate room assignments in the period plan if the clash came from source data.

Quick answers

Is a room clash a mandatory rule?

Yes for one physical room and two in-person lessons at the same time. The timetable must change.

Can I use any free room as the fix?

No. The replacement must match the lesson's room type, capacity, equipment, and availability.

See how Smootables fits your school's constraints

Book a walkthrough. We will review your teacher load, rooms, and scheduling rules and show how they work in Smootables.