An implantable biocompatible electrical device is uniformly covered with a coating approximately one-micron thick of ultra-nanocrystalline diamond, hermetically sealing the electrical device. Selected electrodes are either left uncovered during coating or uncovered by conventional patterning techniques, allowing the electrodes to be exposed to living tissue and fluids. The ultra-nanocrystalline diamond coating may be doped to create electrically conductive electrodes. These approaches eliminate the need for a hermetically sealed lid or cover to protect electrical circuitry, and thus allow the device to be thinner than otherwise possible. The conformal ultra-nanocrystalline diamond coating uniformly covers the device, providing relief from sharp edges and producing a strong, uniformly thick hermetic coating around sharp edges and on high aspect-ratio parts.