We report on the electronic and optical properties of boron-doped nanocrystalline diamond (NCD) thin films grown on quartz substrates by CH 4 /H 2 plasma chemical vapor deposition.Diamond thin films with a thickness below 350 nm and with boron concentration ranging from 10 17 cm -3 to 10 21 cm -3 have been investigated. UV Raman spectroscopy and AFM have been used to assess the quality and morphology of the diamond films. Hall effect measurements confirmed the expected p-type conductivity. At room temperature, the conductivity varies from 1.5x10 -8 Ω -1 cm -1 for a non-intentionally doped film up to 76 Ω -1 cm -1 for a heavily B-doped film. Increasing the doping level results in a higher carrier concentration while the mobility decreases from 1.8 cm 2 V -1 s -1 down to 0.2 cm 2 V -1 s -1 . For NCD films with low boron concentration, the conductivity strongly depends on temperature. However, the conductivity and the carrier concentration are no longer temperature-dependent for films with the highest boron doping, and the NCD films exhibit metallic properties. Highly doped films show superconducting properties with critical temperatures up to 2K. The critical boron concentration for the metal-insulator transition is in the range from 2x10 20 cm -3 up to 3x10 20 cm -3 . We discuss different transport mechanisms to explain the influence of the grain boundaries and boron doping on the electronic properties of NCD films. Valence band transport dominates at low boron concentration and high temperatures, 2 whereas hopping between boron acceptors is the dominant transport mechanism for boron doping concentration close to the Mott transition. Grain boundaries strongly reduce the mobility for low and very high doping levels. However, at intermediate doping levels where hopping transport is important, grain boundaries have a less pronounced effect on the mobility. The influence of boron and the effect of grain boundaries on the optoelectronic properties of the NCD films are examined using spectrally resolved photocurrent measurements and photothermal deflection spectroscopy. Major differences occur in the low energy range, between 0.5 -1.0 eV, where both Boron impurities and the sp 2 carbon phase in the grain boundaries govern the optical absorption.