How to Fix a Loose or Rocking Toilet

A wobbly toilet that isn’t leaking often indicates it’s not sitting flush with the floor. This can happen if the toilet flange—a circular part that connects the toilet to the drain pipe—is slightly higher than the adjacent floor, causing the toilet to rock. Over time, issues like a faulty wax seal or a settling floor can make this problem apparent. Luckily, using plastic shims is a simple solution to stabilize your toilet.

White ceramic toilet in bathroom seen from above
The Spruce / Sarah Lee

Source: https://www.thespruce.com/solution-for-a-rocking-toilet-2719036