The structure and UV spectra of fenofibrate have been evaluated in gas phase and in solutions using time dependent density functional theory (TDDFT) method at the B3LYP/6-31G(d), B3LYP/6-311G(d,p) and B3LYP/6-311++G(d,p) levels. The solvent effects have been taken into account based on the polarizable continuum model (PCM). The computed results appear that the introduction of dielectric medium has slight effect on the molecular geometry of fenofibrate. There is one allowed excited state presenting the strongest oscillator strength in the UV region, which is associated with the HOMO→LUMO and HOMO-1→LUMO transition both in gas phase and in solutions. The prediction of the λ max in THF, ethanol and DMSO is 285nm, 286nm and 287nm, respectively, which are in a good agreement with experimental data of 284nm, 285nm and 288nm.The results demonstrate that TDDFT-PCM is a useful tool for study of the electronic absorption in solutions.