WASHINGTON — Fresh off an election in which Hispanic voters largely sided with Democrats, Speaker John A. Boehner said Thursday that he was “confident” Congress and the White House could come up with a comprehensive immigration solution.

Immigration reform is “an important issue that I think ought to be dealt with,” Mr. Boehner, an Ohio Republican, said in an interview with Diane Sawyer on “ABC World News.”

“This issue has been around far too long,” he said, “and while I believe it’s important for us to secure our borders and to enforce our laws, I think a comprehensive approach is long overdue, and I’m confident that the president, myself, others, can find the common ground to take care of this issue once and for all.”

The words conveyed a new sense of urgency from Mr. Boehner, who said earlier this year that he thought it would be politically impossible to tackle a Republican proposal on the Dream Act, which sought to open a path to citizenship for some students in the United States illegally.