Ni–B/diamond composite coatings were prepared using electrophoretic deposition and electroless deposition methods, leading to extremely high hardness which is comparable to hard coatings prepared by dry processes.