The business – which owns brands including Irn-Bru, Rubicon and Strathmore Scottish spring water – will supply drinks to the athletes' village during the games from 23 July to 3 August 2014.
AG Barr – which unveiled its sponsorship of Glasgow 2014 this week – joins other business supporters including Ernst & Young, Dell and Toshiba TEC.
The Scottish drinks manufacturer is currently working on developing an engagement programme to make the most of its sponsorship of the sporting event, said AG Barr head of marketing Adrian Troy.
Troy explained: "We're really proud to be supporting Glasgow 2014, and will be working hard with all the partners to ensure the Games are a massive success.
"Our employees and customers will help us play our part, and we're currently developing a full engagement programme with Glasgow 2014."
AG Barr's brand Irn-Bru also sponsors the Scottish Football League and Glasgow-based Queens Park FC.
Glasgow 2014 chief executive David Grevemberg said: "The company has a strong track record of supporting sport at all levels from grass-roots to elite and we look forward to working with them."
Meanwhile, AG Barr chief executive Roger White added: "Glasgow 2014 is massively exciting, whether you’re taking part, volunteering or watching. The Games will bring something extraordinary to a very special city, and we are delighted to play our part in that."