We report on the current status of the ion beam laboratory of the Centre of Micro-Analysis of Materials at the Autonomous University of Madrid. The 5 MV accelerator facility provides MeV ion beams of any stable element. Six main beam lines are under operation, allowing the analysis and modification of materials through ion beam methods. Although the most demanded ions are H and He for standard Rutherford backscattering spectrometry and particle-induced X-ray emission experiments, many other analytical techniques and specific set-ups are available for users. The facility especially highlights for the use of high-energy heavy ions and microbeams, with important applications in material science, optics and electronics, biology, cultural heritage, and astrophysics. Ongoing upgrades of the facility are oriented to improve the quality of the service for external users and to face new scientific and technological challenges in areas such as advanced materials, space, energy and health. PACS. 29.17.+w Electrostatic, collective, and linear accelerators -79.20.Rf Atomic, molecular, and ion beam impact and interactions with surfaces -81.70.-q Methods of materials testing and analysis -81.20.-n Methods of materials synthesis and materials processing