The vote comes as first lady Michelle Obama campaigns in support of the standards. On Tuesday, she met withschool nutrition officials who said the guidelines are working in their schools.
The rules set by Congress and the Obama administration over the past several years require more fruits, vegetables and whole grains in the lunch line. Also, there are limits on sodium, sugar and fat.
Some school nutrition directors have lobbied for a break, saying the rules have proved to be costly and restrictive.
The Republican provision in an agriculture spending bill would allow schools to opt out of the standards for the next school year if the schools are losing money on meal programs for a six-month period. The HouseAppropriations Committee rejected, by a 29-22 vote, a Democratic amendment that would have removed the GOP language. A subcommittee approved the spending bill last week.
Republicans have said the standards are overreach.
"Bottom line is schools are finding the regulations to be too much too quick," said Rep. Robert Aderholt, R-Ala., who wrote the language. "They need more time."
Democrats said they were concerned the provision was an attempt to permanently roll back the standards.
"We don't tell kids, you don't have to take math if it's hard, science if it's hard," said California Rep. Sam Farr, who offered the amendment to strike the provision.
White House Spokesman Jay Carney said the House language "replaces the judgment of doctors and nutritionists with the opinions of politicians regarding what is healthy for our kids."
The schools pushing for changes say limits on sodium and requirements for more whole grains are particularly challenging, while some school officials say kids are throwing away fruits and vegetables that are required.
The Senate did not include the opt-out language in its version of the spending bill.
Find Mary Clare Jalonick on Twitter at http://twitter.com/MCJalonick
Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.