The Cabinet has given the green light to legislation that will allow craft breweries and distilleries to sell their products on site.

The legislation, first proposed by Labour TDs Alan Kelly, will now have to work its way through the Oireachtas.

It would allow microbreweries sell their drinks on site between 10am and 6pm.

However visitors will have to complete a guided tour of the brewery before they can buy alcohol there.

Up until now these breweries needed a pub licence to sell their products to visitors.

The craft breweries will have to apply to the courts for a certificate before the licences will be granted and they will be subject to annual renewal.

Minister for Justice Charlie Flanagan said allowing visitors who have completed a craft brewery or distillery tour to purchase alcohol on the premises will "add to the visitor experience."