Two Democrats joined Republicans to back the initiative.
The vote sends the legislation on to the House of Representatives, where it faces an uncertain future.
The mandate has a slim chance of becoming law, so the measure to overturn it will have little practical effect.
A federal court has already halted the Biden administration’s Covid vaccination and testing requirements for private businesses with 100 or more employees.