He was joined on the tour by Cathy Kearney, VP European Operations.
The visit - which coincided with a Transition Year visit by 100 students from Cork schools Coláiste an Spioraid Naoimh and St Vincents - was an opportunity to experience first hand some of the education initiatives supported by the Apple team in Cork
More than 40 Apple Cork employees have volunteered at Terence MacSwiney College since 2016, supporting the coding curriculum,
Since 2012, Apple has invested nearly €220 million to develop its Hollyhill campus and has just expanded again with a new building that provides space for 1,400 employees.
Employing 6,000, the company is Cork's largest private employer.
Cathy Kearney, one of Apple's most senior executives said they were incredibly proud to play such an active role in the Cork community for nearly 40 years.
"Supporting education is one of Apple’s core values and through our Transition Year visits we offer schools an exciting learning experience and an insight into careers at Apple," she said.
"I’m also delighted to see students from Terence MacSwiney College showcase projects that Apple’s Everyone Can Create and Everyone Can Code resources and our team of volunteers have helped to inspire. This is our fourth year working with them and every year the results are fantastic."
Taoiseach Varadkar's visit follows similar trips to Hollihill by the previous Taoiseach Enda Kenny.
Cork is home to Apple’s support and service teams - called AppleCare - who provide technical support to customers in Europe, the Middle East, India and Africa.
Hollyhill is Apple’s only wholly owned manufacturing facility in the world providing “configure-to-order” iMacs which are for customers across Europe, Middle East and Africa.