The House backed the lawsuit resolution on a partyline vote of 225-201.
Republicans say the lawsuit is necessary to keep the president in constitutional check, after he allegedly exceeded his authority with unilateral changes to the Affordable Care Act.
Democrats branded the effort a political charade aimed at stirring up GOP voters for this fall's congressional elections. They also said it's an effort by top Republicans to mollify conservatives who want Obama to be impeached -- something House Speaker John Boehner, R-Ohio, said he has no plans to do.
Read more from NBC News.
Copyright 2015 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.