European ministers have reached an agreement over a bail-out for the Irish Republic worth about 85bn euros ($113bn; £72bn).
The deal will see 35bn euros go towards propping up the Irish banking system with the remaining 50bn euros to help the government's day-to-day spending.
An average interest rate of 5.8% will be payable on the loans, above the 5.2% paid by Greece for its bail-out.
Irish PM Brian Cowen said it was the "best available deal for Ireland".
It provides "vital time and space to successfully and conclusively address the problems we've been dealing with since the financial crisis began", the prime minister said.
Details of the 85bn euro plan include:
The Irish government has also said that interest payments on all state debt will account for more than 20% of tax revenues in 2014.
The deal does not require the Irish Republic to change its low 12.5% corporation tax.
The rescue package is the second to be approved in the eurozone this year following Greece's bail-out in May.
There had been much negotiating between European ministers over the interest rate the Irish Republic must pay on the loans.
A report from Irish state broadcaster on Saturday suggested the rate would be set at 6.7%, and the BBC's business editor Robert Peston said that Germany had been pushing for a higher interest rate of about 7% so that any rescue loans would not look like cheap money.
The Irish government had believed it would pay 5%, and the agreed rate of 5.8% is still higher than many in Ireland had hoped for, especially as it is higher than the agreed rate for Greece.
But Mr Cowen said the loans were necessary.
"These loans will provide money that we had already planned to borrow on the international markets. That funding will now be available to Ireland at a cheaper interest rate than if we'd borrowed on those markets," he said.
The details of the IMF and EU bail-out were discussed at a meeting in Brussels.
Ministers had been keen to reach an outline agreement before the financial markets reopen on Monday.
The Irish government applied for aid last Sunday when it conceded the banking crisis was too big for the country.
Eurozone finance ministers' chairman Jean-Claude Juncker said ministers had "unanimously endorsed" the measures.
"Ministers concur with the [European] Commission and the European Central Bank that providing a loan to Ireland is warranted to safeguard financial stability in the euro area and in the European Union as a whole," Mr Juncker said.
The crisis in the Irish Republic has been brought on by the global recession and the almost total collapse of the country's debt-ridden banks.
The rescue programme rests on the Irish Republic meeting three conditions.
Firstly, it must immediately strengthen and overhaul its banking system.
Secondly, it must implement an ambitious fiscal adjustment to reduce its "excessive" deficit by 2015.
Finally, it must introduce growth-enhancing reforms in particular on the labour market.
The EU also agreed the outline of a new European Stability Mechanism for resolving debt crises in the eurozone.
The mechanism should force losses on private investors "only on a case by case basis", and will replace an existing rescue fund which runs out in 2013.
BBC business editor Robert Peston said UK Chancellor George Osborne believes he has won an important concession from other EU countries in return for providing a direct loan of 3.84bn euros (£3.2bn) to Ireland.
Mr Osborne has secured an agreement that the UK will not be part of the new rescue fund for eurozone countries to be launched in 2013, he said.
The announcement on the permanent mechanism may have been rushed through to try to allay concerns about the debt crisis in Europe spreading.
Earlier, French President Nicolas Sarkozy's office "categorically" denied that France was threatened by the crisis in the eurozone.
The comments came as concerns mount that Portugal may also need a bail-out, while fears over Spain, Italy and Belgium also increase.
What is your reaction to the bail-out deal? Contact us using the form below
If you are happy to be contacted by a BBC journalist please leave a telephone number that we can contact you on. In some cases a selection of your comments will be published, displaying your name as you provide it and location, unless you state otherwise. Your contact details will never be published. When sending us pictures, video or eyewitness accounts at no time should you endanger yourself or others, take any unnecessary risks or infringe any laws. Please ensure you have read the terms and conditions.