TD-DFT and a combination of polarized continuum model (PCM) and microhydration methods helped to simulate the optical electronic absorption spectrum of ortho-aminobenzoic acid (o-Abz). The microhydration method involved the use of different numbers, from 1 to 5, of first solvation layer water molecules. We examined how implicit and explicit water affected the energies of the HOMO-LUMO transition in the o-Abz/water systems. Adding until five water molecules, the theoretical spectrum becomes closer to the experimental data. Microhydration combined with the PCM method leads to agreement between the theoretical result for five water molecules and the experimentally measured absorption bands. (C) 2015 Elsevier B.V. All rights reserved.