(PZTNi30) thin films for various thicknesses, ranging from 5 nm to 400 nm, were fabricated by pulsed laser deposition technique. Giant dielectric dispersion, low dielectric loss, large dielectric constant $1000-1500 from 100 Hz to 100 kHz, and diffused dielectric anomaly near 570-630 K were observed in PZTNi30 thin films. These films show well saturated ferroelectric hysteresis, with large remanent polarization. It also illustrated excellent optical transparency which decreased from 82 to 72% with increasing film thickness from 5 nm to 400 nm for the probe wavelengths ranging from 200 to 1100 nm. A decrease in direct bandgap (E g ) values from 4 eV to 3.4 eV and indirect-E g values from 3.5 eV to 2.9 eV were observed for PZTNi30 thin films with increase in film thickness from 5 nm to 400 nm, respectively. The direct and indirect bandgaps were discussed in context of film thickness and grain size effects. Our investigations on optical properties of PZTNi30 thin films suggest that bandgap can be modified as a function of film thickness which may be useful for readers working to develop novel candidates for ferroelectric photovoltaic. V C 2015 AIP Publishing LLC.