The dispenser will still work even when placed on the carpet. However, it’s best to place it on a sturdy surface to prevent it from wobbling.