Ireland is on track to nationalize its banking sector after its government uncovered a €24 billion ($33.9 billion) capital shortfall in the latest round of "stress tests" of top banks.

That gap will be plugged largely by taxpayers. The likely result will be that the government takes majority ownership of the country's six largest lenders, said Patrick Honohan, the governor of Ireland's central bank.

Four...