The House on Wednesday decided to keep the state's gay marriage law in place.
Same-sex couples have been able to marry legally since 2009.
The Republican-controlled House voted 211-116 against a repeal.
Gov. John Lynch had pledged to veto the repeal bill if it had passed. The debate on the House floor took more than two hours. New Hampshire is one of eight states that allow gay marriage.