How to Fix a Loose or Rocking Toilet
- Tightening the flange bolts can often fix a rocking toilet.
- Using shims can level and stabilize a wobbly toilet base.
- Caulking around the base prevents water from seeping under the 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.

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